refactor: a part of heti css style

This commit is contained in:
radishzzz 2025-03-20 18:09:39 +00:00
parent 0f63770b69
commit 608bb0045f
13 changed files with 136 additions and 99 deletions

View file

@ -7,6 +7,7 @@ import { defineConfig } from 'astro/config'
import rehypeExternalLinks from 'rehype-external-links'
import rehypeKatex from 'rehype-katex'
import remarkMath from 'remark-math'
import remarkSectionize from 'remark-sectionize'
import UnoCSS from 'unocss/astro'
import { themeConfig } from './src/config'
import { langMap } from './src/i18n/config'
@ -53,6 +54,7 @@ export default defineConfig({
markdown: {
remarkPlugins: [
remarkMath,
remarkSectionize,
remarkReadingTime,
],
rehypePlugins: [
@ -66,8 +68,8 @@ export default defineConfig({
},
],
],
// available themes: https://shiki.style/themes
shikiConfig: {
// available themes: https://shiki.style/themes
themes: {
light: 'one-light',
dark: 'one-dark-pro',