project-baize commited on
Commit
5a9c9a4
·
1 Parent(s): ca1bafd

Update app_modules/presets.py

Browse files
Files changed (1) hide show
  1. 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="#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,9 +50,8 @@ small_and_beautiful_theme = gr.themes.Soft(
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,28 +59,25 @@ small_and_beautiful_theme = gr.themes.Soft(
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
  )
 
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
  )