fixed color themes bug

This commit is contained in:
nvrl committed 2026-02-18 06:50:09 +01:00
1 parent 9a378769c9
commit 9f1e4d4ec5
2 files changed
+26 -13

No files matched your search

@@ -0,0 +1,18 @@
# Generated by Django 6.0.2 on 2026-02-18 05:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0020_notification_profile_comment_and_more'),
]
operations = [
migrations.AlterField(
model_name='user',
name='theme',
field=models.CharField(choices=[('holy_light', 'Holy Light'), ('holy_dark', 'Holy Dark'), ('latte', 'Catppuccin Latte'), ('frappe', 'Catppuccin Frappé'), ('macchiato', 'Catppuccin Macchiato'), ('mocha', 'Catppuccin Mocha'), ('pink_pastel', 'Pink Pastel'), ('dracula', 'Dracula'), ('nord', 'Nordic Frost'), ('gruvbox', 'Gruvbox Retro'), ('oceanic', 'Oceanic Deep')], default='holy_light', max_length=20),
),
]
+8 -13
View File
@@ -6,20 +6,15 @@ class User(AbstractUser):
THEME_CHOICES = [ THEME_CHOICES = [
('holy_light', 'Holy Light'), ('holy_light', 'Holy Light'),
('holy_dark', 'Holy Dark'), ('holy_dark', 'Holy Dark'),
('latte', 'Latte'), ('latte', 'Catppuccin Latte'),
('pink', 'Pastel Pink'), ('frappe', 'Catppuccin Frappé'),
('solarized_light', 'Solarized Light'), ('macchiato', 'Catppuccin Macchiato'),
('one_light', 'One Light'), ('mocha', 'Catppuccin Mocha'),
('paper', 'Paper White'), ('pink_pastel', 'Pink Pastel'),
('frappe', 'Frappé'),
('macchiato', 'Macchiato'),
('mocha', 'Mocha'),
('atom', 'Atom One Dark'),
('dracula', 'Dracula'), ('dracula', 'Dracula'),
('gruvbox', 'Gruvbox Dark'), ('nord', 'Nordic Frost'),
('nord', 'Nord'), ('gruvbox', 'Gruvbox Retro'),
('cyberpunk', 'Cyberpunk'), ('oceanic', 'Oceanic Deep'),
('forest', 'Forest Dark'),
] ]
LANGUAGE_CHOICES = [ LANGUAGE_CHOICES = [
('en', 'English'), ('en', 'English'),