fix: style and type issues with feature enhancements

- Fix presetTheme type assertion issue
- Fix content height dvh problem on large screens
- Fix tables and KaTex math formulas overflowing containers on mobile
- Update 404 page
- Update README documentation
- Increase link underline offset
- Add line number display to code blocks
- Improve scrollbar styles for TOC and code blocks
This commit is contained in:
radishzzz 2025-04-09 18:46:27 +01:00
parent b492e5c262
commit 05b902bc61
9 changed files with 264 additions and 247 deletions

View file

@ -1,4 +1,4 @@
import type { Theme } from 'unocss/preset-uno'
import type { Preset } from 'unocss'
import {
defineConfig,
presetAttributify,
@ -15,13 +15,13 @@ export default defineConfig({
presets: [
presetWind3(),
presetAttributify(),
presetTheme<Theme>({
presetTheme({
theme: {
dark: {
colors: dark,
},
},
}),
}) as Preset<object>,
],
theme: {
colors: light,