mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-05 18:14:12 +00:00
BREAKING CHANGE Module paths moved to `github.com/HugoBlox/kit` with new names: - core `blox-tailwind` → `blox` - analytics → `analytics` - netlify → `integrations/netlify` - slides (reveal) → `slides` Update go.mod, module.yaml/params, scripts, tests, and v0.11 migration guide accordingly.
28 lines
786 B
CSS
28 lines
786 B
CSS
@import "./libs/chroma/light.css";
|
|
@import "./libs/chroma/dark.css";
|
|
|
|
/* Code Blocks: Apply theme background */
|
|
/* Requires relative position for Code Copy button */
|
|
.prose .chroma,
|
|
.prose pre {
|
|
@apply relative rounded-md;
|
|
|
|
color: var(--color-neutral-700);
|
|
background-color: var(--color-neutral-50);
|
|
}
|
|
|
|
.dark .prose .chroma,
|
|
.dark .prose pre {
|
|
color: white;
|
|
background-color: rgb(71 85 105); /* slate-700 equivalent */
|
|
}
|
|
|
|
/* Fix LaTeX/TeX math rendering in code blocks - prevent inheriting italic from Chroma in dark mode */
|
|
.chroma .language-latex,
|
|
.chroma .language-latex *,
|
|
.chroma .language-tex,
|
|
.chroma .language-tex * {
|
|
/* biome-ignore lint/complexity/noImportantStyles: Required to override Chroma's default italic for LaTeX/TeX */
|
|
font-style: normal !important;
|
|
}
|