vivek9 commited on
Commit
b777768
·
verified ·
1 Parent(s): 442b242

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -47,15 +47,18 @@ def dsm_fn(DSM_path_to_csv_left, DSM_path_to_csv_right, DSM_identifier_column, D
47
  return "dsm_result.csv",dsm_result
48
 
49
  theme = gr.themes.Base(
50
- primary_hue="gray",
51
- secondary_hue="orange",
 
 
52
  ).set(
53
  body_background_fill='*primary_200',
54
  body_background_fill_dark='*primary_950',
55
  body_text_color_dark='*primary_100',
56
  body_text_weight='500',
57
  embed_radius='*radius_xxl',
58
- background_fill_primary='*neutral_400',
 
59
  background_fill_primary_dark='*secondary_800',
60
  background_fill_secondary_dark='*primary_200',
61
  border_color_accent='*secondary_800',
 
47
  return "dsm_result.csv",dsm_result
48
 
49
  theme = gr.themes.Base(
50
+ primary_hue=gr.themes.Color(primary_100="#f3f4f6", primary_200="#e5e7eb", primary_300="#d1d5db", primary_400="#9ca3af", primary_50="#f0f8ff", primary_500="#6b7280", primary_600="#4b5563", primary_700="#374151", primary_800="#1f2937", primary_900="#111827", primary_950="#0b0f19"),
51
+ secondary_hue="fuchsia",
52
+ neutral_hue="neutral",
53
+ font=[gr.themes.GoogleFont('Source Sans Pro'), 'ui-sans-serif', gr.themes.GoogleFont('system-ui'), 'sans-serif'],
54
  ).set(
55
  body_background_fill='*primary_200',
56
  body_background_fill_dark='*primary_950',
57
  body_text_color_dark='*primary_100',
58
  body_text_weight='500',
59
  embed_radius='*radius_xxl',
60
+ background_fill_primary='*primary_50',
61
+ button_shadow='*input_shadow'
62
  background_fill_primary_dark='*secondary_800',
63
  background_fill_secondary_dark='*primary_200',
64
  border_color_accent='*secondary_800',