Add new colors and wip use them all instead of tailwind ones

Signed-off-by: Émile Ré <nemile.re@gmail.com>
This commit is contained in:
Émile Ré
2025-04-05 18:38:30 +04:00
parent 5406e2ef2d
commit e8dacef374
92 changed files with 833 additions and 819 deletions

View File

@@ -4,13 +4,13 @@
line-height: 1.5;
font-weight: 400;
margin-top: 0.5rem;
border: 1px solid hsl(var(--border));
border: 1px solid var(--solid-b);
display: block;
width: 100%;
}
.policy-editor {
background: #fff;
background: var(--bg-invert-bg);
position: relative;
border-radius: 0.5rem;
display: flex;
@@ -63,8 +63,8 @@
display: flex;
flex-wrap: wrap;
padding: 8px;
border-bottom: 1px solid hsl(var(--border));
background-color: hsl(var(--muted));
border-bottom: 1px solid hsl(var(--solid-b));
background-color: hsl(var(--invert-bg));
border-radius: 0.5rem 0.5rem 0 0;
}
@@ -90,7 +90,7 @@
.policy-editor .toolbar .divider {
width: 1px;
background-color: hsl(var(--border));
background-color: hsl(var(--solid-b));
margin: 0 8px;
height: 24px;
}
@@ -130,8 +130,8 @@
margin: 0;
margin-left: 20px;
padding-left: 16px;
border-left: 4px solid hsl(var(--border));
color: hsl(var(--muted-foreground));
border-left: 4px solid hsl(var(--solid-b));
color: hsl(var(--tertiary));
}
.editor-list-ol {
@@ -174,7 +174,7 @@
}
.editor-text-code {
background-color: hsl(var(--muted));
background-color: hsl(var(--invert-bg));
padding: 1px 4px;
border-radius: 4px;
font-family: monospace;
@@ -186,7 +186,7 @@
}
.editor-code {
background-color: hsl(var(--muted));
background-color: hsl(var(--invert-bg));
font-family: monospace;
display: block;
padding: 8px 16px;
@@ -227,4 +227,4 @@
.editor-tokenFunction {
color: #dd4a68;
}
}