infinitylogesh commited on
Commit
af940d0
·
verified ·
1 Parent(s): 8056215

GUI-Decisions Space

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -179,7 +179,7 @@ with gr.Blocks(title="GUI-Decisions") as demo:
179
  # the Ambient theme: Inter / Inter Tight / JetBrains Mono, cream canvas, dark-brown ink, orange accent (light only)
180
  ORANGE = gr.themes.Color(c50="#fff4ee", c100="#ffe5d8", c200="#ffc9ad", c300="#ffa77d", c400="#ff7a2e", c500="#ff5a14",
181
  c600="#e64a08", c700="#bf3c06", c800="#8f2e07", c900="#5e1f06", c950="#3a1304")
182
- WARM = gr.themes.Color(c50="#fdf6f1", c100="#f8ece4", c200="#efe2d9", c300="#d9c6ba", c400="#9a877e", c500="#6b5850",
183
  c600="#4f3d35", c700="#3a2013", c800="#2a170e", c900="#1c100b", c950="#1a110d")
184
  LIGHT = dict(
185
  body_background_fill="#fdf6f1", body_text_color="#1a110d", body_text_color_subdued="#6b5850",
@@ -198,7 +198,7 @@ LIGHT = dict(
198
  loader_color="#ff5a14", code_background_fill="#f3e7df", table_even_background_fill="#ffffff",
199
  table_odd_background_fill="#fbf1ea", table_border_color="rgba(58,28,12,0.11)",
200
  )
201
- THEME = gr.themes.Base(primary_hue=ORANGE, secondary_hue=WARM, neutral_hue=WARM, radius_size=gr.themes.sizes.radius_lg,
202
  font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"],
203
  font_mono=[gr.themes.GoogleFont("JetBrains Mono"), "ui-monospace", "monospace"])
204
  THEME.set(block_radius="16px", **LIGHT, **{k + "_dark": v for k, v in LIGHT.items() if hasattr(THEME, k + "_dark")})
 
179
  # the Ambient theme: Inter / Inter Tight / JetBrains Mono, cream canvas, dark-brown ink, orange accent (light only)
180
  ORANGE = gr.themes.Color(c50="#fff4ee", c100="#ffe5d8", c200="#ffc9ad", c300="#ffa77d", c400="#ff7a2e", c500="#ff5a14",
181
  c600="#e64a08", c700="#bf3c06", c800="#8f2e07", c900="#5e1f06", c950="#3a1304")
182
+ TAUPE = gr.themes.Color(c50="#fdf6f1", c100="#f8ece4", c200="#efe2d9", c300="#d9c6ba", c400="#9a877e", c500="#6b5850",
183
  c600="#4f3d35", c700="#3a2013", c800="#2a170e", c900="#1c100b", c950="#1a110d")
184
  LIGHT = dict(
185
  body_background_fill="#fdf6f1", body_text_color="#1a110d", body_text_color_subdued="#6b5850",
 
198
  loader_color="#ff5a14", code_background_fill="#f3e7df", table_even_background_fill="#ffffff",
199
  table_odd_background_fill="#fbf1ea", table_border_color="rgba(58,28,12,0.11)",
200
  )
201
+ THEME = gr.themes.Base(primary_hue=ORANGE, secondary_hue=TAUPE, neutral_hue=TAUPE, radius_size=gr.themes.sizes.radius_lg,
202
  font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"],
203
  font_mono=[gr.themes.GoogleFont("JetBrains Mono"), "ui-monospace", "monospace"])
204
  THEME.set(block_radius="16px", **LIGHT, **{k + "_dark": v for k, v in LIGHT.items() if hasattr(THEME, k + "_dark")})