feat: Dark mode #15

Merged
aniva merged 15 commits from styling/dark-mode into main 2024-10-15 19:32:16 -07:00
5 changed files with 19 additions and 4 deletions
Showing only changes of commit 3a8a9c8105 - Show all commits

View File

@ -17,7 +17,7 @@ Strongest of Gensokyo
# Projects # Projects
> This is a quote > People say nothing is impossible but I do nothing everyday. -- Winnie The Pooh
```python ```python
for i in range(9): for i in range(9):

View File

@ -6,3 +6,13 @@ tags: ["Cirno"]
# Content # Content
Here are some contents for the perfect math class. [A link](https://example.com) Here are some contents for the perfect math class. [A link](https://example.com)
```lean
theorem perfect_number_theorem (n: Nat),
Nat.is_odd → ¬perfect n := by
intro h
apply cirno_theorem
```
> :>WARNING
> The proof is elusive!

View File

@ -1,5 +1,4 @@
blockquote { blockquote {
background: #fafaee;
font-style: italic; font-style: italic;
} }

View File

@ -19,8 +19,8 @@ const langs = [
"typescript", "typescript",
]; ];
const highlightingThemes = { const highlightingThemes = {
light: 'solarized-light', light: 'vitesse-light',
dark: 'andromeeda', dark: 'vitesse-dark',
}; };
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */

View File

@ -139,6 +139,9 @@ const config: Config = {
color: theme('colors.java.500'), color: theme('colors.java.500'),
}, },
}, },
blockquote: {
color: theme('colors.gray.800'),
}
}; };
const themeStar = { const themeStar = {
color: theme('colors.gray.200'), color: theme('colors.gray.200'),
@ -160,6 +163,9 @@ const config: Config = {
color: theme('colors.java.500'), color: theme('colors.java.500'),
}, },
}, },
blockquote: {
color: theme('colors.gray.300'),
}
}; };
return { return {