felixrosberg commited on
Commit
a6da71f
β€’
1 Parent(s): 200d570

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +34 -28
app.py CHANGED
@@ -61,6 +61,9 @@ theme = gr.themes.Base(
61
  ).set(
62
  embed_radius='*radius_xxs',
63
 
 
 
 
64
  body_text_color='*neutral_800',
65
  body_text_color_dark='*neutral_800',
66
 
@@ -76,17 +79,20 @@ theme = gr.themes.Base(
76
  button_primary_border_color='*primary_200',
77
  button_primary_border_color_dark='*primary_200',
78
 
79
- button_primary_text_color='black',
80
- button_primary_text_color_dark='black',
81
 
82
- button_secondary_text_color="*neutral_700",
83
- button_secondary_text_color_dark="*neutral_700",
84
 
85
  button_primary_text_color_hover='*primary_50',
86
  button_primary_text_color_hover_dark='*primary_50',
87
 
88
- button_secondary_background_fill="*neutral_200",
89
- button_secondary_background_fill_dark="*neutral_200",
 
 
 
90
 
91
  input_background_fill="*neutral_100",
92
  input_background_fill_dark="*neutral_100",
@@ -94,30 +100,30 @@ theme = gr.themes.Base(
94
  input_background_fill_focus="*secondary_500",
95
  input_background_fill_focus_dark="*secondary_500",
96
 
97
- body_background_fill="white",
98
- body_background_fill_dark="white",
99
 
100
  background_fill_secondary="*neutral_50",
101
  background_fill_secondary_dark="*neutral_50",
102
 
103
- border_color_accent="*primary_300",
104
- border_color_accent_dark="*primary_300",
105
 
106
- border_color_primary="*neutral_700",
107
- border_color_primary_dark="*neutral_700",
108
 
109
  color_accent="*primary_500",
110
  color_accent_soft="*primary_50",
111
  color_accent_soft_dark="*primary_50",
112
 
113
- background_fill_primary="white",
114
- background_fill_primary_dark="white",
115
 
116
- block_title_background_fill="white",
117
- block_title_background_fill_dark="white",
118
 
119
- block_background_fill="white",
120
- block_background_fill_dark="white",
121
 
122
  block_label_border_color="*neutral_200",
123
  block_label_border_color_dark="*neutral_200",
@@ -134,8 +140,8 @@ theme = gr.themes.Base(
134
  block_border_width="1px",
135
  block_border_width_dark="1px",
136
 
137
- block_label_background_fill="white",
138
- block_label_background_fill_dark="white",
139
 
140
  block_label_border_width="1px",
141
  block_label_border_width_dark="1px",
@@ -143,20 +149,20 @@ theme = gr.themes.Base(
143
  block_title_text_color="*neutral_500",
144
  block_title_text_color_dark="*neutral_500",
145
 
146
- checkbox_background_color="white",
147
- checkbox_background_color_dark="white",
148
 
149
- checkbox_background_color_focus="white",
150
- checkbox_background_color_focus_dark="white",
151
 
152
- checkbox_background_color_hover="white",
153
- checkbox_background_color_hover_dark="white",
154
 
155
  panel_background_fill="*neutral_50",
156
  panel_background_fill_dark="*neutral_50",
157
 
158
- slider_color="black",
159
- slider_color_dark="black",
160
  )
161
 
162
 
 
61
  ).set(
62
  embed_radius='*radius_xxs',
63
 
64
+ loader_color="#303A3F",
65
+ loader_color_dark="#303A3F",
66
+
67
  body_text_color='*neutral_800',
68
  body_text_color_dark='*neutral_800',
69
 
 
79
  button_primary_border_color='*primary_200',
80
  button_primary_border_color_dark='*primary_200',
81
 
82
+ button_primary_text_color='#303A3F',
83
+ button_primary_text_color_dark='#303A3F',
84
 
85
+ button_secondary_text_color="#303A3F",
86
+ button_secondary_text_color_dark="#303A3F",
87
 
88
  button_primary_text_color_hover='*primary_50',
89
  button_primary_text_color_hover_dark='*primary_50',
90
 
91
+ button_secondary_background_fill="*primary_200",
92
+ button_secondary_background_fill_dark="*primary_200",
93
+
94
+ button_secondary_background_fill_hover='#667D88',
95
+ button_secondary_background_fill_hover_dark='#667D88',
96
 
97
  input_background_fill="*neutral_100",
98
  input_background_fill_dark="*neutral_100",
 
100
  input_background_fill_focus="*secondary_500",
101
  input_background_fill_focus_dark="*secondary_500",
102
 
103
+ body_background_fill="#FFFFFF",
104
+ body_background_fill_dark="#FFFFFF",
105
 
106
  background_fill_secondary="*neutral_50",
107
  background_fill_secondary_dark="*neutral_50",
108
 
109
+ border_color_accent="#303A3F",
110
+ border_color_accent_dark="#303A3F",
111
 
112
+ border_color_primary="#303A3F",
113
+ border_color_primary_dark="#303A3F",
114
 
115
  color_accent="*primary_500",
116
  color_accent_soft="*primary_50",
117
  color_accent_soft_dark="*primary_50",
118
 
119
+ background_fill_primary="#FFFFFF",
120
+ background_fill_primary_dark="#FFFFFF",
121
 
122
+ block_title_background_fill="#FFFFFF",
123
+ block_title_background_fill_dark="#FFFFFF",
124
 
125
+ block_background_fill="#FFFFFF",
126
+ block_background_fill_dark="#FFFFFF",
127
 
128
  block_label_border_color="*neutral_200",
129
  block_label_border_color_dark="*neutral_200",
 
140
  block_border_width="1px",
141
  block_border_width_dark="1px",
142
 
143
+ block_label_background_fill="#FFFFFF",
144
+ block_label_background_fill_dark="#FFFFFF",
145
 
146
  block_label_border_width="1px",
147
  block_label_border_width_dark="1px",
 
149
  block_title_text_color="*neutral_500",
150
  block_title_text_color_dark="*neutral_500",
151
 
152
+ checkbox_background_color="#FFFFFF",
153
+ checkbox_background_color_dark="#FFFFFF",
154
 
155
+ checkbox_background_color_focus="#FFFFFF",
156
+ checkbox_background_color_focus_dark="#FFFFFF",
157
 
158
+ checkbox_background_color_hover="#FFFFFF",
159
+ checkbox_background_color_hover_dark="#FFFFFF",
160
 
161
  panel_background_fill="*neutral_50",
162
  panel_background_fill_dark="*neutral_50",
163
 
164
+ slider_color="#303A3F",
165
+ slider_color_dark="#303A3F",
166
  )
167
 
168