mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
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:
parent
b492e5c262
commit
05b902bc61
9 changed files with 264 additions and 247 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue