TIMBOVILL commited on
Commit
837f7f4
·
verified ·
1 Parent(s): 0fe2df3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -6,7 +6,7 @@ from gradio.themes.utils import colors, fonts, sizes
6
  import time
7
 
8
 
9
- class Seafoam(Base):
10
  def __init__(
11
  self,
12
  *,
@@ -51,16 +51,17 @@ class Seafoam(Base):
51
  slider_color="*secondary_300",
52
  slider_color_dark="*secondary_600",
53
  block_title_text_weight="600",
54
- block_border_width="3px",
55
  block_shadow="*shadow_drop_lg",
 
56
  button_shadow="*shadow_drop_lg",
57
  button_large_padding="32px",
58
  )
59
 
60
 
61
- seafoam = Seafoam()
62
 
63
- with gr.Blocks(theme=seafoam) as demo:
64
  textbox = gr.Textbox(label="Name")
65
  slider = gr.Slider(label="Count", minimum=0, maximum=100, step=1)
66
  with gr.Row():
 
6
  import time
7
 
8
 
9
+ class Frosted(Base):
10
  def __init__(
11
  self,
12
  *,
 
51
  slider_color="*secondary_300",
52
  slider_color_dark="*secondary_600",
53
  block_title_text_weight="600",
54
+ block_border_width="1px",
55
  block_shadow="*shadow_drop_lg",
56
+ backdrop-filter: blur(10px);
57
  button_shadow="*shadow_drop_lg",
58
  button_large_padding="32px",
59
  )
60
 
61
 
62
+ frosted = Frosted()
63
 
64
+ with gr.Blocks(theme=frosted) as demo:
65
  textbox = gr.Textbox(label="Name")
66
  slider = gr.Slider(label="Count", minimum=0, maximum=100, step=1)
67
  with gr.Row():