felixrosberg commited on
Commit
200d570
Β·
verified Β·
1 Parent(s): bdc0c43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +93 -4
app.py CHANGED
@@ -59,15 +59,104 @@ theme = gr.themes.Base(
59
  primary_hue="neutral",
60
  radius_size="none",
61
  ).set(
62
- body_text_color_dark='*neutral_800',
63
  embed_radius='*radius_xxs',
 
 
 
 
 
 
 
64
  button_primary_background_fill='*primary_700',
 
 
65
  button_primary_background_fill_hover='*primary_400',
66
  button_primary_background_fill_hover_dark='*primary_400',
 
 
67
  button_primary_border_color_dark='*primary_200',
68
- button_primary_text_color='*primary_50',
69
- button_primary_text_color_dark='*primary_50',
70
- button_primary_text_color_hover='*primary_50'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  )
72
 
73
 
 
59
  primary_hue="neutral",
60
  radius_size="none",
61
  ).set(
 
62
  embed_radius='*radius_xxs',
63
+
64
+ body_text_color='*neutral_800',
65
+ body_text_color_dark='*neutral_800',
66
+
67
+ body_text_color_subdued="*neutral_400",
68
+ body_text_color_subdued_dark="*neutral_400",
69
+
70
  button_primary_background_fill='*primary_700',
71
+ button_primary_background_fill_dark='*primary_700',
72
+
73
  button_primary_background_fill_hover='*primary_400',
74
  button_primary_background_fill_hover_dark='*primary_400',
75
+
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",
93
+
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",
124
+
125
+ block_label_text_color="*neutral_500",
126
+ block_label_text_color_dark="*neutral_500",
127
+
128
+ block_info_text_color="*neutral_400",
129
+ block_info_text_color_dark="*neutral_400",
130
+
131
+ block_border_color="*neutral_700",
132
+ block_border_color_dark="*neutral_700",
133
+
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",
142
+
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