refactor(editor): Color palette updates, introduce dark mode (#6980)

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Mutasem <mutdmour@gmail.com>
This commit is contained in:
Giulio Andreini
2023-11-01 13:33:36 +01:00
committed by GitHub
parent b72040aa54
commit 0746783e02
81 changed files with 1694 additions and 1318 deletions

View File

@@ -140,7 +140,7 @@ export default defineComponent({
flex-direction: column;
position: absolute;
z-index: 2; // cover tooltips
background: white;
background: var(--color-code-background);
border: var(--border-base);
border-top: none;
width: 100%;
@@ -148,6 +148,10 @@ export default defineComponent({
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
:global(.cm-editor) {
background-color: var(--color-code-background);
}
.header,
.body,
.footer {
@@ -179,7 +183,7 @@ export default defineComponent({
display: inline-block;
font-size: var(--font-size-2xs);
height: var(--font-size-m);
background-color: #f0f0f0;
background-color: var(--color-expression-syntax-example);
margin-left: var(--spacing-5xs);
margin-right: var(--spacing-5xs);
}