test: code block style

This commit is contained in:
radishzzz 2025-03-19 21:40:50 +00:00
parent 85de183ccc
commit dc24da0cb7
13 changed files with 206 additions and 277 deletions

View file

@ -20,6 +20,12 @@ body {
--at-apply: 'cursor-zoom-in force-gpu';
} */
html.dark .astro-code,
html.dark .astro-code span {
color: var(--shiki-dark) !important;
background-color: var(--shiki-dark-bg) !important;
}
/* Horizontal reveal animation during theme switching */
::view-transition-new(theme-transition) {
animation: reveal 1s cubic-bezier(0.4, 0, 0.2, 1);