Spaces:
Runtime error
Runtime error
Commit
·
d0c3518
1
Parent(s):
eb2b5ce
Update app_modules/presets.py
Browse files- app_modules/presets.py +32 -27
app_modules/presets.py
CHANGED
@@ -23,17 +23,18 @@ 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 |
),
|
38 |
secondary_hue=gr.themes.Color(
|
39 |
c50="#576b95",
|
@@ -50,8 +51,9 @@ small_and_beautiful_theme = gr.themes.Soft(
|
|
50 |
),
|
51 |
neutral_hue=gr.themes.Color(
|
52 |
name="gray",
|
53 |
-
c50="#
|
54 |
-
c100="#f3f4f6",
|
|
|
55 |
c200="#e5e7eb",
|
56 |
c300="#d1d5db",
|
57 |
c400="#B2B2B2",
|
@@ -59,25 +61,28 @@ small_and_beautiful_theme = gr.themes.Soft(
|
|
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="
|
68 |
-
button_primary_background_fill_dark="
|
69 |
-
button_primary_background_fill_hover="
|
70 |
-
button_primary_border_color="
|
71 |
-
button_primary_border_color_dark="
|
72 |
-
button_primary_text_color="
|
73 |
-
button_primary_text_color_dark="
|
74 |
-
button_secondary_background_fill="
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
78 |
# background_fill_primary="#F7F7F7",
|
79 |
# background_fill_primary_dark="#1F1F1F",
|
80 |
-
block_title_text_color="*primary_500",
|
81 |
-
|
|
|
82 |
input_background_fill="#F6F6F6",
|
83 |
)
|
|
|
23 |
|
24 |
small_and_beautiful_theme = gr.themes.Soft(
|
25 |
primary_hue=gr.themes.Color(
|
26 |
+
c50="#EBFAF2",
|
27 |
+
c100="#CFF3E1",
|
28 |
+
c200="#A8EAC8",
|
29 |
+
c300="#77DEA9",
|
30 |
+
c400="#3FD086",
|
31 |
+
c500="#02C160",
|
32 |
+
c600="#06AE56",
|
33 |
+
c700="#05974E",
|
34 |
+
c800="#057F45",
|
35 |
+
c900="#04673D",
|
36 |
+
c950="#2E5541",
|
37 |
+
name="small_and_beautiful",
|
38 |
),
|
39 |
secondary_hue=gr.themes.Color(
|
40 |
c50="#576b95",
|
|
|
51 |
),
|
52 |
neutral_hue=gr.themes.Color(
|
53 |
name="gray",
|
54 |
+
c50="#f6f7f8",
|
55 |
+
# c100="#f3f4f6",
|
56 |
+
c100="#F2F2F2",
|
57 |
c200="#e5e7eb",
|
58 |
c300="#d1d5db",
|
59 |
c400="#B2B2B2",
|
|
|
61 |
c600="#636363",
|
62 |
c700="#515151",
|
63 |
c800="#393939",
|
64 |
+
# c900="#272727",
|
65 |
+
c900="#2B2B2B",
|
66 |
c950="#171717",
|
67 |
),
|
68 |
radius_size=gr.themes.sizes.radius_sm,
|
69 |
).set(
|
70 |
+
# button_primary_background_fill="*primary_500",
|
71 |
+
button_primary_background_fill_dark="*primary_600",
|
72 |
+
# button_primary_background_fill_hover="*primary_400",
|
73 |
+
# button_primary_border_color="*primary_500",
|
74 |
+
button_primary_border_color_dark="*primary_600",
|
75 |
+
button_primary_text_color="wihte",
|
76 |
+
button_primary_text_color_dark="white",
|
77 |
+
button_secondary_background_fill="*neutral_100",
|
78 |
+
button_secondary_background_fill_hover="*neutral_50",
|
79 |
+
button_secondary_background_fill_dark="*neutral_900",
|
80 |
+
button_secondary_text_color="*neutral_800",
|
81 |
+
button_secondary_text_color_dark="white",
|
82 |
# background_fill_primary="#F7F7F7",
|
83 |
# background_fill_primary_dark="#1F1F1F",
|
84 |
+
# block_title_text_color="*primary_500",
|
85 |
+
block_title_background_fill_dark="*primary_900",
|
86 |
+
block_label_background_fill_dark="*primary_900",
|
87 |
input_background_fill="#F6F6F6",
|
88 |
)
|