made holy light theme default

This commit is contained in:
nvrl committed 2026-02-17 04:52:42 +01:00
1 parent 54a3b3b8be
commit 1725b91661
4 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ class User(AbstractUser):
('en', 'English'), ('en', 'English'),
('de', 'Deutsch'), ('de', 'Deutsch'),
] ]
theme = models.CharField(max_length=20, choices=THEME_CHOICES, default='holy_dark') theme = models.CharField(max_length=20, choices=THEME_CHOICES, default='holy_light')
language = models.CharField(max_length=2, choices=LANGUAGE_CHOICES, default='en') language = models.CharField(max_length=2, choices=LANGUAGE_CHOICES, default='en')
avatar = models.ImageField(upload_to='avatars/', blank=True, null=True) avatar = models.ImageField(upload_to='avatars/', blank=True, null=True)
pending_email = models.EmailField(max_length=254, blank=True, null=True) pending_email = models.EmailField(max_length=254, blank=True, null=True)
+1 -1
View File
@@ -167,7 +167,7 @@ const GlobalSearch = () => {
const App: React.FC = () => { const App: React.FC = () => {
const { i18n, t } = useTranslation(); const { i18n, t } = useTranslation();
const [themeName, setThemeName] = useState<CatppuccinTheme>((localStorage.getItem('theme') as CatppuccinTheme) || 'holy_dark'); const [themeName, setThemeName] = useState<CatppuccinTheme>((localStorage.getItem('theme') as CatppuccinTheme) || 'holy_light');
const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null); const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null);
const [catAnchorEl, setCatAnchorEl] = useState<null | HTMLElement>(null); const [catAnchorEl, setCatAnchorEl] = useState<null | HTMLElement>(null);
const [categories, setCategories] = useState<{name: string, slug: string}[]>([]); const [categories, setCategories] = useState<{name: string, slug: string}[]>([]);
+2 -2
View File
@@ -199,8 +199,8 @@ const Settings: React.FC<SettingsProps> = ({ themeName, onThemeChange }) => {
onChange={(e) => onThemeChange(e.target.value as CatppuccinTheme)} onChange={(e) => onThemeChange(e.target.value as CatppuccinTheme)}
> >
<ListSubheader>Holy Energy</ListSubheader> <ListSubheader>Holy Energy</ListSubheader>
<MenuItem value="holy_dark">Holy Dark (Default)</MenuItem> <MenuItem value="holy_light">Holy Light (Default)</MenuItem>
<MenuItem value="holy_light">Holy Light</MenuItem> <MenuItem value="holy_dark">Holy Dark</MenuItem>
<ListSubheader>Light Themes</ListSubheader> <ListSubheader>Light Themes</ListSubheader>
<MenuItem value="latte">Latte</MenuItem> <MenuItem value="latte">Latte</MenuItem>
+8 -8
View File
@@ -139,15 +139,15 @@ export const getTheme = (mode: CatppuccinTheme) => {
palette = flavor.colors; palette = flavor.colors;
} else { } else {
palette = { palette = {
base: { hex: '#0f0f0f' }, base: { hex: '#ffffff' },
surface0: { hex: '#1a1a1a' }, surface0: { hex: '#f8f9fa' },
crust: { hex: '#000000' }, crust: { hex: '#e9ecef' },
text: { hex: '#ffffff' }, text: { hex: '#1a1a1a' },
subtext0: { hex: '#a0a0a0' }, subtext0: { hex: '#6c757d' },
mauve: { hex: '#9d4edd' }, mauve: { hex: '#8a2be2' },
pink: { hex: '#ff4dff' }, pink: { hex: '#ff00ff' },
}; };
mode = 'holy_dark'; mode = 'holy_light';
} }
} }