fix(spinner): loading animation not playing unless forced to
Some checks failed
/ deploy-and-package (push) Has been cancelled
Some checks failed
/ deploy-and-package (push) Has been cancelled
fix(methanium-theme): missing light mode values for border and card fix(secret-theme): contrast issues feat(secret-theme): use lighter colors in light mode feat(themes): make markdown code box backgrounds fit better to each theme feat(qol): add flag to auto-reset themes if they're not customised
This commit is contained in:
parent
98a6dde805
commit
76a26a0af9
7 changed files with 442 additions and 103 deletions
|
|
@ -3,7 +3,7 @@
|
|||
@layer components {
|
||||
[data-slot="markdown"],
|
||||
.tm-md-root {
|
||||
--markdown-code-background: color-mix(
|
||||
--markdown-code-background-default: color-mix(
|
||||
in oklch,
|
||||
var(--muted) 72%,
|
||||
var(--background)
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
.dark [data-slot="markdown"]:not([data-code-theme="light"]),
|
||||
[data-slot="markdown"][data-code-theme="dark"],
|
||||
.dark .tm-md-root {
|
||||
--markdown-code-background: color-mix(
|
||||
--markdown-code-background-default: color-mix(
|
||||
in oklch,
|
||||
var(--muted) 76%,
|
||||
black 24%
|
||||
|
|
@ -102,7 +102,10 @@
|
|||
border-right: var(--ui-border-width) solid var(--border);
|
||||
border-left: var(--ui-border-width) solid var(--border);
|
||||
border-radius: 0;
|
||||
background: var(--markdown-code-background);
|
||||
background: var(
|
||||
--markdown-code-background,
|
||||
var(--markdown-code-background-default)
|
||||
);
|
||||
color: var(--markdown-code-foreground);
|
||||
font-family: "JetBrains Mono", ui-monospace, monospace;
|
||||
font-size: 0.82rem;
|
||||
|
|
|
|||
Loading…
Reference in a new issue