abir-hr196 commited on
Commit
423afa9
·
1 Parent(s): 17599b8
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -140,7 +140,20 @@ code, pre {
140
  }
141
  """
142
 
143
- with gr.Blocks(css=custom_css, title="TinySQL Demo") as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  gr.HTML("""
145
  <div style="text-align: center; padding: 1.5rem 0 1rem 0; background: #0A0A0A;">
146
  <h1 style="font-size: 2rem; font-weight: 700; color: #FF6B4A; margin: 0;">TinySQL</h1>
 
140
  }
141
  """
142
 
143
+ with gr.Blocks(css=custom_css, title="TinySQL Demo", theme=gr.themes.Base(primary_hue="orange", secondary_hue="slate", neutral_hue="slate").set(
144
+ body_background_fill="*neutral_950",
145
+ body_background_fill_dark="*neutral_950",
146
+ background_fill_primary="*neutral_950",
147
+ background_fill_primary_dark="*neutral_950",
148
+ background_fill_secondary="*neutral_900",
149
+ background_fill_secondary_dark="*neutral_900",
150
+ block_background_fill="*neutral_950",
151
+ block_background_fill_dark="*neutral_950",
152
+ input_background_fill="*neutral_800",
153
+ input_background_fill_dark="*neutral_800",
154
+ button_primary_background_fill="*primary_600",
155
+ button_primary_background_fill_dark="*primary_600",
156
+ )) as demo:
157
  gr.HTML("""
158
  <div style="text-align: center; padding: 1.5rem 0 1rem 0; background: #0A0A0A;">
159
  <h1 style="font-size: 2rem; font-weight: 700; color: #FF6B4A; margin: 0;">TinySQL</h1>