Karan Adhikari commited on
Commit
c0e78ac
·
unverified ·
1 Parent(s): fb8b181

Fix theme

Browse files
Files changed (1) hide show
  1. Backend/fastapi/themes.py +50 -42
Backend/fastapi/themes.py CHANGED
@@ -1,34 +1,37 @@
1
  THEMES = {
2
  "dark_professional": {
3
  "name": "Dark Professional",
 
4
  "colors": {
5
  "primary": "#06B6D4",
6
  "secondary": "#0891B2",
7
  "accent": "#22D3EE",
8
  "background": "#0F172A",
9
- "card": "#1E293B",
10
- "border": "#334155",
11
  "text": "#F8FAFC",
12
- "text_secondary": "#94A3B8"
13
  },
14
  "css_classes": "theme-dark-professional"
15
  },
16
  "purple_gradient": {
17
  "name": "Purple Gradient",
 
18
  "colors": {
19
- "primary": "#A855F7",
20
  "secondary": "#7C3AED",
21
- "accent": "#C084FC",
22
- "background": "#F8FAFC",
23
  "card": "#FFFFFF",
24
- "border": "#E2E8F0",
25
- "text": "#0F172A",
26
- "text_secondary": "#64748B"
27
  },
28
  "css_classes": "theme-purple-gradient"
29
  },
30
  "blue_navy": {
31
  "name": "Navy Blue",
 
32
  "colors": {
33
  "primary": "#2563EB",
34
  "secondary": "#1E3A8A",
@@ -43,72 +46,77 @@ THEMES = {
43
  },
44
  "cyber_neon": {
45
  "name": "Cyber Neon",
 
46
  "colors": {
47
- "primary": "#00FFF0",
48
- "secondary": "#FF00FF",
49
- "accent": "#00FF88",
50
- "background": "#050714",
51
- "card": "#0D1127",
52
- "border": "#1A1F3A",
53
- "text": "#FFFFFF",
54
- "text_secondary": "#8B95B3"
55
  },
56
  "css_classes": "theme-cyber-neon"
57
  },
58
  "midnight_carbon": {
59
  "name": "Midnight Carbon",
 
60
  "colors": {
61
  "primary": "#3B82F6",
62
  "secondary": "#1D4ED8",
63
  "accent": "#60A5FA",
64
- "background": "#030712",
65
  "card": "#111827",
66
- "border": "#1F2937",
67
  "text": "#F9FAFB",
68
- "text_secondary": "#9CA3AF"
69
  },
70
  "css_classes": "theme-midnight-carbon"
71
  },
72
  "ocean_mint": {
73
  "name": "Ocean Mint",
 
74
  "colors": {
75
- "primary": "#10B981",
76
- "secondary": "#059669",
77
- "accent": "#06B6D4",
78
  "background": "#F0FDF4",
79
  "card": "#FFFFFF",
80
- "border": "#DCFCE7",
81
  "text": "#064E3B",
82
- "text_secondary": "#374151"
83
  },
84
  "css_classes": "theme-ocean-mint"
85
  },
86
-
87
  "sunset_warm": {
88
  "name": "Sunset Warm",
 
89
  "colors": {
90
- "primary": "#F59E0B",
91
- "secondary": "#DC2626",
92
- "accent": "#EC4899",
93
- "background": "#FFFBEB",
94
- "card": "#FFFFFF",
95
- "border": "#FEF3C7",
96
- "text": "#451A03",
97
- "text_secondary": "#78350F"
98
  },
99
  "css_classes": "theme-sunset-warm"
100
  },
101
  "forest_earth": {
102
  "name": "Forest Earth",
 
103
  "colors": {
104
- "primary": "#166534",
105
- "secondary": "#064E3B",
106
- "accent": "#86A789",
107
- "background": "#F7F7F2",
108
- "card": "#FFFFFF",
109
- "border": "#E5E7EB",
110
- "text": "#14532D",
111
- "text_secondary": "#4B5563"
112
  },
113
  "css_classes": "theme-forest-earth"
114
  }
 
1
  THEMES = {
2
  "dark_professional": {
3
  "name": "Dark Professional",
4
+ "is_dark": True,
5
  "colors": {
6
  "primary": "#06B6D4",
7
  "secondary": "#0891B2",
8
  "accent": "#22D3EE",
9
  "background": "#0F172A",
10
+ "card": "#1E293B",
11
+ "border": "#334155",
12
  "text": "#F8FAFC",
13
+ "text_secondary": "#A9B6C8"
14
  },
15
  "css_classes": "theme-dark-professional"
16
  },
17
  "purple_gradient": {
18
  "name": "Purple Gradient",
19
+ "is_dark": False,
20
  "colors": {
21
+ "primary": "#9333EA",
22
  "secondary": "#7C3AED",
23
+ "accent": "#A855F7",
24
+ "background": "#F6F4FB",
25
  "card": "#FFFFFF",
26
+ "border": "#E2DCF0",
27
+ "text": "#1E1B2E",
28
+ "text_secondary": "#5B5470"
29
  },
30
  "css_classes": "theme-purple-gradient"
31
  },
32
  "blue_navy": {
33
  "name": "Navy Blue",
34
+ "is_dark": False,
35
  "colors": {
36
  "primary": "#2563EB",
37
  "secondary": "#1E3A8A",
 
46
  },
47
  "cyber_neon": {
48
  "name": "Cyber Neon",
49
+ "is_dark": True,
50
  "colors": {
51
+ "primary": "#22D3EE",
52
+ "secondary": "#E935E9",
53
+ "accent": "#34F5A0",
54
+ "background": "#070A18",
55
+ "card": "#10152E",
56
+ "border": "#27305A",
57
+ "text": "#F2F5FF",
58
+ "text_secondary": "#A4AFD0"
59
  },
60
  "css_classes": "theme-cyber-neon"
61
  },
62
  "midnight_carbon": {
63
  "name": "Midnight Carbon",
64
+ "is_dark": True,
65
  "colors": {
66
  "primary": "#3B82F6",
67
  "secondary": "#1D4ED8",
68
  "accent": "#60A5FA",
69
+ "background": "#030712",
70
  "card": "#111827",
71
+ "border": "#283443",
72
  "text": "#F9FAFB",
73
+ "text_secondary": "#AEB7C4"
74
  },
75
  "css_classes": "theme-midnight-carbon"
76
  },
77
  "ocean_mint": {
78
  "name": "Ocean Mint",
79
+ "is_dark": False,
80
  "colors": {
81
+ "primary": "#059669",
82
+ "secondary": "#047857",
83
+ "accent": "#0891B2",
84
  "background": "#F0FDF4",
85
  "card": "#FFFFFF",
86
+ "border": "#C9EBD6",
87
  "text": "#064E3B",
88
+ "text_secondary": "#3F5750"
89
  },
90
  "css_classes": "theme-ocean-mint"
91
  },
92
+
93
  "sunset_warm": {
94
  "name": "Sunset Warm",
95
+ "is_dark": False,
96
  "colors": {
97
+ "primary": "#EA580C",
98
+ "secondary": "#DC2626",
99
+ "accent": "#DB2777",
100
+ "background": "#FFFBEB",
101
+ "card": "#FFFFFF",
102
+ "border": "#F5E4C3",
103
+ "text": "#451A03",
104
+ "text_secondary": "#7C3A12"
105
  },
106
  "css_classes": "theme-sunset-warm"
107
  },
108
  "forest_earth": {
109
  "name": "Forest Earth",
110
+ "is_dark": False,
111
  "colors": {
112
+ "primary": "#166534",
113
+ "secondary": "#14532D",
114
+ "accent": "#4D7C4F",
115
+ "background": "#F7F7F2",
116
+ "card": "#FFFFFF",
117
+ "border": "#E0E2DA",
118
+ "text": "#14532D",
119
+ "text_secondary": "#4B5043"
120
  },
121
  "css_classes": "theme-forest-earth"
122
  }