Wendyy commited on
Commit
553baf4
·
1 Parent(s): 57e1606

Update modules/presets.py

Browse files
Files changed (1) hide show
  1. modules/presets.py +59 -59
modules/presets.py CHANGED
@@ -137,62 +137,62 @@ If the context isn't useful, return the original answer.
137
  ALREADY_CONVERTED_MARK = "<!-- ALREADY CONVERTED BY PARSER. -->"
138
 
139
  small_and_beautiful_theme = gr.themes.Soft(
140
- primary_hue=gr.themes.Color(
141
- c50="#02C160",
142
- c100="rgba(2, 193, 96, 0.2)",
143
- c200="#02C160",
144
- c300="rgba(2, 193, 96, 0.32)",
145
- c400="rgba(2, 193, 96, 0.32)",
146
- c500="rgba(2, 193, 96, 1.0)",
147
- c600="rgba(2, 193, 96, 1.0)",
148
- c700="rgba(2, 193, 96, 0.32)",
149
- c800="rgba(2, 193, 96, 0.32)",
150
- c900="#02C160",
151
- c950="#02C160",
152
- ),
153
- secondary_hue=gr.themes.Color(
154
- c50="#576b95",
155
- c100="#576b95",
156
- c200="#576b95",
157
- c300="#576b95",
158
- c400="#576b95",
159
- c500="#576b95",
160
- c600="#576b95",
161
- c700="#576b95",
162
- c800="#576b95",
163
- c900="#576b95",
164
- c950="#576b95",
165
- ),
166
- neutral_hue=gr.themes.Color(
167
- name="gray",
168
- c50="#f9fafb",
169
- c100="#f3f4f6",
170
- c200="#e5e7eb",
171
- c300="#d1d5db",
172
- c400="#B2B2B2",
173
- c500="#808080",
174
- c600="#636363",
175
- c700="#515151",
176
- c800="#393939",
177
- c900="#272727",
178
- c950="#171717",
179
- ),
180
- radius_size=gr.themes.sizes.radius_sm,
181
- ).set(
182
- button_primary_background_fill="#06AE56",
183
- button_primary_background_fill_dark="#06AE56",
184
- button_primary_background_fill_hover="#07C863",
185
- button_primary_border_color="#06AE56",
186
- button_primary_border_color_dark="#06AE56",
187
- button_primary_text_color="#FFFFFF",
188
- button_primary_text_color_dark="#FFFFFF",
189
- button_secondary_background_fill="#F2F2F2",
190
- button_secondary_background_fill_dark="#2B2B2B",
191
- button_secondary_text_color="#393939",
192
- button_secondary_text_color_dark="#FFFFFF",
193
- # background_fill_primary="#F7F7F7",
194
- # background_fill_primary_dark="#1F1F1F",
195
- block_title_text_color="*primary_500",
196
- block_title_background_fill="*primary_100",
197
- input_background_fill="#F6F6F6",
198
- )
 
137
  ALREADY_CONVERTED_MARK = "<!-- ALREADY CONVERTED BY PARSER. -->"
138
 
139
  small_and_beautiful_theme = gr.themes.Soft(
140
+ primary_hue=gr.themes.Color(
141
+ c50="#00B0B9",
142
+ c100="rgba(0, 176, 185, 0.2)",
143
+ c200="#00B0B9",
144
+ c300="rgba(0, 176, 185, 0.32)",
145
+ c400="rgba(0, 176, 185, 0.32)",
146
+ c500="rgba(0, 176, 185, 1.0)",
147
+ c600="rgba(0, 176, 185, 1.0)",
148
+ c700="rgba(0, 176, 185, 0.32)",
149
+ c800="rgba(0, 176, 185, 0.32)",
150
+ c900="#00B0B9",
151
+ c950="#00B0B9",
152
+ ),
153
+ secondary_hue=gr.themes.Color(
154
+ c50="#576b95",
155
+ c100="#576b95",
156
+ c200="#576b95",
157
+ c300="#576b95",
158
+ c400="#576b95",
159
+ c500="#576b95",
160
+ c600="#576b95",
161
+ c700="#576b95",
162
+ c800="#576b95",
163
+ c900="#576b95",
164
+ c950="#576b95",
165
+ ),
166
+ neutral_hue=gr.themes.Color(
167
+ name="gray",
168
+ c50="#f9fafb",
169
+ c100="#f3f4f6",
170
+ c200="#e5e7eb",
171
+ c300="#d1d5db",
172
+ c400="#B2B2B2",
173
+ c500="#808080",
174
+ c600="#636363",
175
+ c700="#515151",
176
+ c800="#393939",
177
+ c900="#272727",
178
+ c950="#171717",
179
+ ),
180
+ radius_size=gr.themes.sizes.radius_sm,
181
+ ).set(
182
+ button_primary_background_fill="#00B0B9",
183
+ button_primary_background_fill_dark="#00B0B9",
184
+ button_primary_background_fill_hover="#00CED1",
185
+ button_primary_border_color="#00B0B9",
186
+ button_primary_border_color_dark="#00B0B9",
187
+ button_primary_text_color="#FFFFFF",
188
+ button_primary_text_color_dark="#FFFFFF",
189
+ button_secondary_background_fill="#F2F2F2",
190
+ button_secondary_background_fill_dark="#2B2B2B",
191
+ button_secondary_text_color="#393939",
192
+ button_secondary_text_color_dark="#FFFFFF",
193
+ # background_fill_primary="#F7F7F7",
194
+ # background_fill_primary_dark="#1F1F1F",
195
+ block_title_text_color="*primary_500",
196
+ block_title_background_fill="*primary_100",
197
+ input_background_fill="#F6F6F6",
198
+ )