abhidgp1978 commited on
Commit
67107c1
·
verified ·
1 Parent(s): 2ef30d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -8
app.py CHANGED
@@ -216,11 +216,11 @@ def social_channel_launch(request: gr.Request, channel, hashtags, checkbox_value
216
  # UI
217
  # -------------------------------
218
  CSS = """
219
- /* Set the primary colors */
220
  :root {
221
- --bg-color: transparent;
222
- --text-color: #c9d1d9;
223
- --border-color: #30363d;
224
  --primary-color: #58a6ff;
225
  --secondary-color: #4a5665;
226
  }
@@ -239,8 +239,8 @@ body {
239
  }
240
 
241
  .gradio-container .block {
242
- border-color: var(--border-color) !important;
243
  background-color: var(--bg-color) !important;
 
244
  }
245
 
246
  /* Input components */
@@ -249,6 +249,10 @@ body {
249
  border-color: var(--border-color) !important;
250
  color: var(--text-color) !important;
251
  }
 
 
 
 
252
 
253
  /* Button styling */
254
  .gr-button {
@@ -263,15 +267,16 @@ body {
263
  color: var(--bg-color) !important;
264
  }
265
 
266
- /* Headings and labels */
267
  .gradio-container h1, .gradio-container h2, .gradio-container label, .gradio-container p {
268
  color: var(--text-color) !important;
269
- font-weight: bold;
 
270
  }
271
 
272
  /* Specific Markdown for outputs */
273
  .gradio-container .gr-markdown, .gradio-container .gr-markdown-container {
274
- background-color: var(--bg-color) !important;
275
  color: var(--text-color) !important;
276
  border-color: var(--border-color) !important;
277
  }
 
216
  # UI
217
  # -------------------------------
218
  CSS = """
219
+ /* Set the primary colors and font styles */
220
  :root {
221
+ --bg-color: rgba(0, 0, 0, 0); /* Transparent */
222
+ --text-color: #ffffff;
223
+ --border-color: #ffffff;
224
  --primary-color: #58a6ff;
225
  --secondary-color: #4a5665;
226
  }
 
239
  }
240
 
241
  .gradio-container .block {
 
242
  background-color: var(--bg-color) !important;
243
+ border-color: var(--border-color) !important;
244
  }
245
 
246
  /* Input components */
 
249
  border-color: var(--border-color) !important;
250
  color: var(--text-color) !important;
251
  }
252
+ .gr-text-input input, .gr-dropdown input {
253
+ color: var(--text-color) !important;
254
+ background-color: transparent !important;
255
+ }
256
 
257
  /* Button styling */
258
  .gr-button {
 
267
  color: var(--bg-color) !important;
268
  }
269
 
270
+ /* Headings and labels - make them more prominent */
271
  .gradio-container h1, .gradio-container h2, .gradio-container label, .gradio-container p {
272
  color: var(--text-color) !important;
273
+ font-weight: 700 !important; /* Bold */
274
+ font-size: 1.2em !important; /* Slightly larger */
275
  }
276
 
277
  /* Specific Markdown for outputs */
278
  .gradio-container .gr-markdown, .gradio-container .gr-markdown-container {
279
+ background-color: transparent !important;
280
  color: var(--text-color) !important;
281
  border-color: var(--border-color) !important;
282
  }