File size: 3,628 Bytes
1404692 273ab56 1404692 273ab56 1404692 273ab56 1404692 273ab56 1404692 273ab56 1404692 ed5fc32 273ab56 ed5fc32 273ab56 ed5fc32 273ab56 ed5fc32 273ab56 ed5fc32 273ab56 ed5fc32 273ab56 ed5fc32 273ab56 b8fe50f 273ab56 ed5fc32 273ab56 b8fe50f 273ab56 b8fe50f 273ab56 b8fe50f 273ab56 b8fe50f 273ab56 b8fe50f 273ab56 b8fe50f 273ab56 1404692 273ab56 b8fe50f 1404692 273ab56 1404692 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | THEMES = {
"dark_professional": {
"name": "Dark Professional",
"colors": {
"primary": "#06B6D4",
"secondary": "#0891B2",
"accent": "#22D3EE",
"background": "#0F172A",
"card": "#1E293B",
"border": "#334155",
"text": "#F8FAFC",
"text_secondary": "#94A3B8"
},
"css_classes": "theme-dark-professional"
},
"purple_gradient": {
"name": "Purple Gradient",
"colors": {
"primary": "#A855F7",
"secondary": "#7C3AED",
"accent": "#C084FC",
"background": "#F8FAFC",
"card": "#FFFFFF",
"border": "#E2E8F0",
"text": "#0F172A",
"text_secondary": "#64748B"
},
"css_classes": "theme-purple-gradient"
},
"blue_navy": {
"name": "Navy Blue",
"colors": {
"primary": "#2563EB",
"secondary": "#1E3A8A",
"accent": "#3B82F6",
"background": "#F1F5F9",
"card": "#FFFFFF",
"border": "#CBD5E1",
"text": "#1E293B",
"text_secondary": "#475569"
},
"css_classes": "theme-blue-navy"
},
"cyber_neon": {
"name": "Cyber Neon",
"colors": {
"primary": "#00FFF0",
"secondary": "#FF00FF",
"accent": "#00FF88",
"background": "#050714",
"card": "#0D1127",
"border": "#1A1F3A",
"text": "#FFFFFF",
"text_secondary": "#8B95B3"
},
"css_classes": "theme-cyber-neon"
},
"midnight_carbon": {
"name": "Midnight Carbon",
"colors": {
"primary": "#3B82F6",
"secondary": "#1D4ED8",
"accent": "#60A5FA",
"background": "#030712",
"card": "#111827",
"border": "#1F2937",
"text": "#F9FAFB",
"text_secondary": "#9CA3AF"
},
"css_classes": "theme-midnight-carbon"
},
"ocean_mint": {
"name": "Ocean Mint",
"colors": {
"primary": "#10B981",
"secondary": "#059669",
"accent": "#06B6D4",
"background": "#F0FDF4",
"card": "#FFFFFF",
"border": "#DCFCE7",
"text": "#064E3B",
"text_secondary": "#374151"
},
"css_classes": "theme-ocean-mint"
},
"sunset_warm": {
"name": "Sunset Warm",
"colors": {
"primary": "#F59E0B",
"secondary": "#DC2626",
"accent": "#EC4899",
"background": "#FFFBEB",
"card": "#FFFFFF",
"border": "#FEF3C7",
"text": "#451A03",
"text_secondary": "#78350F"
},
"css_classes": "theme-sunset-warm"
},
"forest_earth": {
"name": "Forest Earth",
"colors": {
"primary": "#166534",
"secondary": "#064E3B",
"accent": "#86A789",
"background": "#F7F7F2",
"card": "#FFFFFF",
"border": "#E5E7EB",
"text": "#14532D",
"text_secondary": "#4B5563"
},
"css_classes": "theme-forest-earth"
}
}
def get_theme(theme_name: str = "dark_professional"):
"""Returns the dictionary for the requested theme or the default."""
return THEMES.get(theme_name, THEMES["dark_professional"])
def get_all_themes():
"""Returns all available theme configurations."""
return THEMES
|