mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
✨ feat: add admonition functionality and markdown-extended-features article, improve blockquote styling
This commit is contained in:
parent
ed527b3bab
commit
23ba4de450
13 changed files with 360 additions and 162 deletions
|
@ -18,13 +18,27 @@ export default defineConfig({
|
|||
presetTheme({
|
||||
theme: {
|
||||
dark: {
|
||||
colors: dark,
|
||||
colors: {
|
||||
...dark,
|
||||
note: 'oklch(70.7% 0.165 254.624 / 0.8)', // blue-400
|
||||
tip: 'oklch(76.5% 0.177 163.223 / 0.8)', // emerald-400
|
||||
important: 'oklch(71.4% 0.203 305.504 / 0.8)', // purple-400
|
||||
warning: 'oklch(82.8% 0.189 84.429 / 0.8)', // amber-400
|
||||
caution: 'oklch(70.4% 0.191 22.216 / 0.8)', // red-400
|
||||
},
|
||||
},
|
||||
},
|
||||
}) as Preset<object>,
|
||||
],
|
||||
theme: {
|
||||
colors: light,
|
||||
colors: {
|
||||
...light,
|
||||
note: 'oklch(48.8% 0.243 264.376 / 0.8)', // blue-700
|
||||
tip: 'oklch(50.8% 0.118 165.612 / 0.8)', // emerald-700
|
||||
important: 'oklch(49.6% 0.265 301.924 / 0.8)', // purple-700
|
||||
warning: 'oklch(55.5% 0.163 48.998 / 0.8)', // amber-700
|
||||
caution: 'oklch(50.5% 0.213 27.518 / 0.8)', // red-700
|
||||
},
|
||||
fontFamily: {
|
||||
title: ['Snell-Black', 'EarlySummer-Subset', 'EarlySummer', 'ui-serif', 'Georgia', 'Cambria', 'Times New Roman', 'Times', 'serif'],
|
||||
navbar: ['STIX-Italic', 'EarlySummer-Subset', 'EarlySummer', 'ui-serif', 'Georgia', 'Cambria', 'Times New Roman', 'Times', 'serif'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue