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:
radishzzz 2025-02-18 04:37:29 +00:00
parent 152dd83e0c
commit 380a650721
6 changed files with 217 additions and 232 deletions

View file

@ -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