feat: Update styles for creator info and Civitai view in Lora modal; refactor button to div

This commit is contained in:
Will Miao
2025-07-22 18:07:19 +08:00
parent 29d2b5ee4b
commit 6d3feb4bef
4 changed files with 14 additions and 65 deletions

View File

@@ -118,11 +118,8 @@ export function toggleTheme() {
const currentTheme = getStorageItem('theme') || 'auto';
let newTheme;
// Cycle through themes: light → dark → auto → light
if (currentTheme === 'light') {
newTheme = 'dark';
} else if (currentTheme === 'dark') {
newTheme = 'auto';
} else {
newTheme = 'light';
}