Spaces:
Runtime error
Runtime error
Commit
·
c963187
1
Parent(s):
ed83f52
Removed duplicate class.
Browse files
app.py
CHANGED
@@ -105,36 +105,6 @@ class ArtemisiaTheme(Base):
|
|
105 |
self.text_color = "#ffffff"
|
106 |
self.error_text_color = "#ff5252"
|
107 |
|
108 |
-
# Custom theme colors based on brand standards
|
109 |
-
class ArtemisiaTheme(Base):
|
110 |
-
def __init__(self, **kwargs):
|
111 |
-
|
112 |
-
|
113 |
-
# Configure Gradio's theme system with our colors
|
114 |
-
super().__init__(
|
115 |
-
font=["Helvetica Neue", "Helvetica", "Arial", "system-ui", "-apple-system", "BlinkMacSystemFont", "sans-serif"],
|
116 |
-
primary_hue=colors.indigo,
|
117 |
-
neutral_hue=colors.gray,
|
118 |
-
**kwargs
|
119 |
-
)
|
120 |
-
|
121 |
-
# Background settings
|
122 |
-
self.body_background_fill = "#4f008c"
|
123 |
-
self.background_fill_primary = self.neutral_800
|
124 |
-
self.block_background_fill = "transparent"
|
125 |
-
self.block_label_background_fill = self.neutral_700
|
126 |
-
|
127 |
-
# Components
|
128 |
-
self.button_primary_background_fill = self.primary_900
|
129 |
-
self.button_primary_background_fill_hover = self.primary_700
|
130 |
-
|
131 |
-
# Input fields
|
132 |
-
self.input_background_fill = "#000000"
|
133 |
-
self.input_border_color = "transparent"
|
134 |
-
|
135 |
-
# Text colors
|
136 |
-
self.text_color = "#ffffff"
|
137 |
-
self.error_text_color = "#ff5252"
|
138 |
|
139 |
# Custom CSS for exact layout and styling
|
140 |
custom_css = """
|
|
|
105 |
self.text_color = "#ffffff"
|
106 |
self.error_text_color = "#ff5252"
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
# Custom CSS for exact layout and styling
|
110 |
custom_css = """
|