Files
supabase/apps/studio/styles/monaco.css
Ivan Vasilov 56de26fe22 chore: Migrate the monorepo to use Tailwind v4 (#45318)
This PR migrates the whole monorepo to use Tailwind v4:
- Removed `@tailwindcss/container-queries` plugin since it's included by
default in v4,
- Bump all instances of Tailwind to v4. Made minimal changes to the
shared config to remove non-supported features (`alpha` mentions),
- Migrate all apps to be compatible with v4 configs,
- Fix the `typography.css` import in 3 apps,
- Add missing rules which were included by default in v3,
- Run `pnpm dlx @tailwindcss/upgrade` on all apps, which renames a lot
of classes
- Rename all misnamed classes according to
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities in all
apps.

---------

Co-authored-by: Jordi Enric <[email protected]>
2026-04-30 10:53:24 +00:00

77 lines
1.6 KiB
CSS

@reference "./main.css";
.monaco-editor {
@apply relative overflow-visible;
-webkit-text-size-adjust: 100%;
}
.monaco-editor-alt.monaco-editor-alt,
.monaco-editor-alt > .monaco-editor {
--vscode-editor-background: hsl(var(--background-surface-300)) !important;
--vscode-editorGutter-background: hsl(var(--background-surface-300)) !important;
}
.monaco-editor-alt .current-line {
border: 0 !important;
}
[data-theme='dark'] .monaco-editor,
[data-theme='dark'] .monaco-diff-editor {
--vscode-editor-background: hsl(var(--background-surface-100)) !important;
--vscode-editorGutter-background: hsl(var(--background-surface-100)) !important;
color-scheme: dark;
}
.monaco-editor,
.monaco-diff-editor {
--vscode-editor-background: hsl(var(--background-dash-sidebar)) !important;
--vscode-editorGutter-background: hsl(var(--background-dash-sidebar)) !important;
}
.gutter {
@apply bg-border-control;
cursor: row-resize;
}
.grid-monaco-editor,
.monaco-editor p,
label,
div,
section,
span.th.tr.td.textarea {
/* @apply text-sm; */
}
.grid-monaco-editor,
.monaco-editor label {
font-weight: inherit;
text-transform: none;
padding: inherit;
width: inherit;
align-self: inherit;
}
.grid-monaco-editor,
.monaco-editor label:hover {
cursor: inherit;
}
.find-widget {
margin-right: 30px;
}
.grid-monaco-editor,
.monaco-editor .suggest-widget {
.main {
max-height: none;
height: inherit;
width: 100%;
margin: inherit;
padding: inherit;
overflow: inherit;
}
.monaco-list-row.focused .main {
background: var(--vscode-quickInput-background);
}
}