mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
chore: update dependencies and component styling
- Upgrade Rollup to version 4.34.8 - Update TypeScript ESLint and related packages - Modify LanguageSwitcher and ThemeToggle components to remove `lg="hidden"` class - Refactor Scrollbar component with improved initialization and theme handling - Inline scrollbar styles in Scrollbar component, removing separate CSS file
This commit is contained in:
parent
152dd83e0c
commit
380a650721
6 changed files with 217 additions and 232 deletions
|
@ -111,6 +111,7 @@ function updateTheme() {
|
|||
if (metaTheme) {
|
||||
metaTheme.setAttribute('content', isDark ? darkMode : lightMode)
|
||||
}
|
||||
document.dispatchEvent(new Event('theme-changed'))
|
||||
}
|
||||
|
||||
// Listen to system theme changes in real-time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue