mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-05-05 13:58:35 +00:00
Feat: Misc improvements (#107)
* Expand SCSS variables for improved theming * Redesign 404 page with dynamic movie quotes * Add password generator page * Add missing Plex authentication page * Improve torrent table and torrents page * Enhance toast notification component * Enhance popup components * Refine UI components and remove DarkmodeToggle * Add user profile component for settings * Update autocomplete dropdown component * Update register page * Redesign signin and register pages with improved UX * Improve torrent table with sort toggle and highlight colors * eslint & prettier fixes
This commit is contained in:
@@ -22,9 +22,9 @@ function applyTheme(theme: Theme) {
|
||||
}
|
||||
|
||||
export function useTheme() {
|
||||
const savedTheme = computed(() => {
|
||||
return (localStorage.getItem("theme-preference") as Theme) || "auto";
|
||||
});
|
||||
const savedTheme = computed(
|
||||
() => (localStorage.getItem("theme-preference") as Theme) || "auto"
|
||||
);
|
||||
|
||||
function initTheme() {
|
||||
const theme = savedTheme.value;
|
||||
|
||||
Reference in New Issue
Block a user