fix(05-02): alert alignment via #title slot, dark-only code theme, simplify ProseImg

This commit is contained in:
2026-04-21 15:20:14 +02:00
parent b5c3250a4e
commit e1c91e583f
3 changed files with 3 additions and 11 deletions
+1 -9
View File
@@ -2,17 +2,9 @@
@import "@nuxt/ui";
@plugin "@tailwindcss/typography";
/* Shiki dual-theme switching via .dark class (color mode cookie) */
/* Force Shiki dark theme in all color modes — code blocks always dark */
.shiki,
.shiki span {
color: var(--shiki-light) !important;
background-color: var(--shiki-light-bg) !important;
font-style: var(--shiki-light-font-style) !important;
font-weight: var(--shiki-light-font-weight) !important;
text-decoration: var(--shiki-light-text-decoration) !important;
}
.dark .shiki,
.dark .shiki span {
color: var(--shiki-dark) !important;
background-color: var(--shiki-dark-bg) !important;
font-style: var(--shiki-dark-font-style) !important;