Spaces:
Runtime error
Runtime error
Commit
·
5a9c9a4
1
Parent(s):
ca1bafd
Update app_modules/presets.py
Browse files- app_modules/presets.py +27 -32
app_modules/presets.py
CHANGED
|
@@ -23,18 +23,17 @@ ALREADY_CONVERTED_MARK = "<!-- ALREADY CONVERTED BY PARSER. -->"
|
|
| 23 |
|
| 24 |
small_and_beautiful_theme = gr.themes.Soft(
|
| 25 |
primary_hue=gr.themes.Color(
|
| 26 |
-
c50="#
|
| 27 |
-
c100="
|
| 28 |
-
c200="#
|
| 29 |
-
c300="
|
| 30 |
-
c400="
|
| 31 |
-
c500="
|
| 32 |
-
c600="
|
| 33 |
-
c700="
|
| 34 |
-
c800="
|
| 35 |
-
c900="#
|
| 36 |
-
c950="#
|
| 37 |
-
name="small_and_beautiful",
|
| 38 |
),
|
| 39 |
secondary_hue=gr.themes.Color(
|
| 40 |
c50="#576b95",
|
|
@@ -51,9 +50,8 @@ small_and_beautiful_theme = gr.themes.Soft(
|
|
| 51 |
),
|
| 52 |
neutral_hue=gr.themes.Color(
|
| 53 |
name="gray",
|
| 54 |
-
c50="#
|
| 55 |
-
|
| 56 |
-
c100="#F2F2F2",
|
| 57 |
c200="#e5e7eb",
|
| 58 |
c300="#d1d5db",
|
| 59 |
c400="#B2B2B2",
|
|
@@ -61,28 +59,25 @@ small_and_beautiful_theme = gr.themes.Soft(
|
|
| 61 |
c600="#636363",
|
| 62 |
c700="#515151",
|
| 63 |
c800="#393939",
|
| 64 |
-
|
| 65 |
-
c900="#2B2B2B",
|
| 66 |
c950="#171717",
|
| 67 |
),
|
| 68 |
radius_size=gr.themes.sizes.radius_sm,
|
| 69 |
).set(
|
| 70 |
-
|
| 71 |
-
button_primary_background_fill_dark="
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
button_primary_border_color_dark="
|
| 75 |
-
button_primary_text_color="
|
| 76 |
-
button_primary_text_color_dark="
|
| 77 |
-
button_secondary_background_fill="
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
button_secondary_text_color_dark="white",
|
| 82 |
# background_fill_primary="#F7F7F7",
|
| 83 |
# background_fill_primary_dark="#1F1F1F",
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
block_label_background_fill_dark="*primary_900",
|
| 87 |
input_background_fill="#F6F6F6",
|
| 88 |
)
|
|
|
|
| 23 |
|
| 24 |
small_and_beautiful_theme = gr.themes.Soft(
|
| 25 |
primary_hue=gr.themes.Color(
|
| 26 |
+
c50="#02C160",
|
| 27 |
+
c100="rgba(2, 193, 96, 0.2)",
|
| 28 |
+
c200="#02C160",
|
| 29 |
+
c300="rgba(2, 193, 96, 0.32)",
|
| 30 |
+
c400="rgba(2, 193, 96, 0.32)",
|
| 31 |
+
c500="rgba(2, 193, 96, 1.0)",
|
| 32 |
+
c600="rgba(2, 193, 96, 1.0)",
|
| 33 |
+
c700="rgba(2, 193, 96, 0.32)",
|
| 34 |
+
c800="rgba(2, 193, 96, 0.32)",
|
| 35 |
+
c900="#02C160",
|
| 36 |
+
c950="#02C160",
|
|
|
|
| 37 |
),
|
| 38 |
secondary_hue=gr.themes.Color(
|
| 39 |
c50="#576b95",
|
|
|
|
| 50 |
),
|
| 51 |
neutral_hue=gr.themes.Color(
|
| 52 |
name="gray",
|
| 53 |
+
c50="#f9fafb",
|
| 54 |
+
c100="#f3f4f6",
|
|
|
|
| 55 |
c200="#e5e7eb",
|
| 56 |
c300="#d1d5db",
|
| 57 |
c400="#B2B2B2",
|
|
|
|
| 59 |
c600="#636363",
|
| 60 |
c700="#515151",
|
| 61 |
c800="#393939",
|
| 62 |
+
c900="#272727",
|
|
|
|
| 63 |
c950="#171717",
|
| 64 |
),
|
| 65 |
radius_size=gr.themes.sizes.radius_sm,
|
| 66 |
).set(
|
| 67 |
+
button_primary_background_fill="#06AE56",
|
| 68 |
+
button_primary_background_fill_dark="#06AE56",
|
| 69 |
+
button_primary_background_fill_hover="#07C863",
|
| 70 |
+
button_primary_border_color="#06AE56",
|
| 71 |
+
button_primary_border_color_dark="#06AE56",
|
| 72 |
+
button_primary_text_color="#FFFFFF",
|
| 73 |
+
button_primary_text_color_dark="#FFFFFF",
|
| 74 |
+
button_secondary_background_fill="#F2F2F2",
|
| 75 |
+
button_secondary_background_fill_dark="#2B2B2B",
|
| 76 |
+
button_secondary_text_color="#393939",
|
| 77 |
+
button_secondary_text_color_dark="#FFFFFF",
|
|
|
|
| 78 |
# background_fill_primary="#F7F7F7",
|
| 79 |
# background_fill_primary_dark="#1F1F1F",
|
| 80 |
+
block_title_text_color="*primary_500",
|
| 81 |
+
block_title_background_fill="*primary_100",
|
|
|
|
| 82 |
input_background_fill="#F6F6F6",
|
| 83 |
)
|