This commit is contained in:
Cagatay Civici
2024-07-30 09:11:50 +03:00
parent fa23cdfda2
commit d97b058bf8
6 changed files with 43 additions and 39 deletions

View File

@@ -1,15 +1,17 @@
pre.app-code {
background-color: var(--surface-ground);
background-color: var(--code-background);
margin: 0 0 1rem 0;
padding: 0;
border-radius: var(--border-radius);
border-radius: var(--content-border-radius);
overflow: auto;
code {
color: var(--surface-900);
color: var(--code-color);
padding: 1rem;
margin: 0;
line-height: 1.5;
display: block;
font-weight: semibold;
font-family: monaco, Consolas, monospace;
}
}
}

View File

@@ -1,3 +1,5 @@
:root[class*='app-dark'] {
--surface-ground: var(--p-surface-950);
--code-background: var(--p-surface-800);
--code-color: var(--p-surface-100);
}

View File

@@ -1,3 +1,5 @@
:root {
--surface-ground: var(--p-surface-100);
--code-background: var(--p-surface-900);
--code-color: var(--p-surface-200);
}