TomLii commited on
Commit
3662f50
·
1 Parent(s): 9c6c431

Switch UI to blue-white palette and enlarge icon labels

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -66,8 +66,8 @@ CUSTOM_CSS = """
66
  .gradio-container {
67
  max-width: 1200px !important;
68
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
69
- background: #fcfdff !important;
70
- color: #0f172a;
71
  }
72
 
73
  .gradio-container * {
@@ -129,7 +129,7 @@ CUSTOM_CSS = """
129
  .section-title {
130
  font-size: 13px;
131
  font-weight: 700;
132
- color: #6b7280;
133
  margin-bottom: 6px;
134
  letter-spacing: 0.02em;
135
  }
@@ -152,19 +152,19 @@ CUSTOM_CSS = """
152
  display: flex;
153
  align-items: center;
154
  justify-content: center;
155
- gap: 6px;
156
- padding: 7px 8px;
157
  border: none;
158
- border-radius: 8px;
159
  text-decoration: none !important;
160
- color: #1e3a8a !important;
161
- background: transparent;
162
  font-weight: 600;
163
- font-size: 12px;
164
  }
165
 
166
  .icon-link:hover {
167
- background: #eef4ff;
168
  }
169
 
170
  .gradio-container .gr-button-primary {
@@ -174,14 +174,14 @@ CUSTOM_CSS = """
174
  }
175
 
176
  .gradio-container .gr-button-secondary {
177
- background: #eef4ff !important;
178
- color: #1e3a8a !important;
179
  border: none !important;
180
  }
181
 
182
  .gradio-container .gr-button-stop {
183
- background: #fee2e2 !important;
184
- color: #991b1b !important;
185
  border: none !important;
186
  }
187
 
@@ -211,17 +211,17 @@ CUSTOM_CSS = """
211
  .gradio-container textarea,
212
  .gradio-container input {
213
  background: #ffffff !important;
214
- border-color: #dbe7ff !important;
215
  }
216
 
217
  .gradio-container .gr-markdown a {
218
- color: #1e40af !important;
219
  }
220
 
221
  .inline-example-title {
222
  font-size: 13px;
223
  font-weight: 700;
224
- color: #475569;
225
  margin: 8px 0 2px 0;
226
  }
227
  """
 
66
  .gradio-container {
67
  max-width: 1200px !important;
68
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
69
+ background: #f3f8ff !important;
70
+ color: #0b2a66;
71
  }
72
 
73
  .gradio-container * {
 
129
  .section-title {
130
  font-size: 13px;
131
  font-weight: 700;
132
+ color: #2454b8;
133
  margin-bottom: 6px;
134
  letter-spacing: 0.02em;
135
  }
 
152
  display: flex;
153
  align-items: center;
154
  justify-content: center;
155
+ gap: 8px;
156
+ padding: 10px 12px;
157
  border: none;
158
+ border-radius: 10px;
159
  text-decoration: none !important;
160
+ color: #1d4ed8 !important;
161
+ background: #eaf2ff;
162
  font-weight: 600;
163
+ font-size: 15px;
164
  }
165
 
166
  .icon-link:hover {
167
+ background: #dbeafe;
168
  }
169
 
170
  .gradio-container .gr-button-primary {
 
174
  }
175
 
176
  .gradio-container .gr-button-secondary {
177
+ background: #dbeafe !important;
178
+ color: #1d4ed8 !important;
179
  border: none !important;
180
  }
181
 
182
  .gradio-container .gr-button-stop {
183
+ background: #bfdbfe !important;
184
+ color: #1d4ed8 !important;
185
  border: none !important;
186
  }
187
 
 
211
  .gradio-container textarea,
212
  .gradio-container input {
213
  background: #ffffff !important;
214
+ border-color: #bfdbfe !important;
215
  }
216
 
217
  .gradio-container .gr-markdown a {
218
+ color: #1d4ed8 !important;
219
  }
220
 
221
  .inline-example-title {
222
  font-size: 13px;
223
  font-weight: 700;
224
+ color: #2454b8;
225
  margin: 8px 0 2px 0;
226
  }
227
  """