fix(spinner): loading animation not playing unless forced to
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:
Alois 2026-08-30 12:42:53 +02:00
commit 76a26a0af9
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
7 changed files with 442 additions and 103 deletions

View file

@ -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;