Rahatara commited on
Commit
b3e63b8
·
verified ·
1 Parent(s): 5b1f57a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -3,12 +3,12 @@ import gradio as gr
3
  # CSS to change tab colors
4
  CUSTOM_CSS = """
5
  .tabs {
6
- background-color: #2caf50 !important; /* Change tab background color */
7
  color: white !important; /* Change tab text color */
8
  font-weight: bold !important;
9
  }
10
  .tabs .tab {
11
- padding: 10px;
12
  border-radius: 8px;
13
  margin: 5px;
14
  }
@@ -16,7 +16,7 @@ CUSTOM_CSS = """
16
  background-color: #D5a049 !important; /* Change tab hover color */
17
  }
18
  .tabs .tab-selected {
19
- background-color: #2e7d32 !important; /* Change selected tab color */
20
  color: white !important;
21
  }
22
  """
@@ -25,6 +25,7 @@ CUSTOM_CSS = """
25
  with gr.Blocks(css=CUSTOM_CSS, theme=gr.themes.Glass(primary_hue = "rose")) as app:
26
  with gr.Tab("Box Breathing"):
27
  gr.Markdown("This is the content for Box Breathing.")
 
28
  with gr.Tab("Calming"):
29
  gr.Markdown("This is the content for Calming.")
30
  with gr.Tab("5-5-5"):
 
3
  # CSS to change tab colors
4
  CUSTOM_CSS = """
5
  .tabs {
6
+ background-color: #Dcaf50 !important; /* Change tab background color */
7
  color: white !important; /* Change tab text color */
8
  font-weight: bold !important;
9
  }
10
  .tabs .tab {
11
+ padding: 20px;
12
  border-radius: 8px;
13
  margin: 5px;
14
  }
 
16
  background-color: #D5a049 !important; /* Change tab hover color */
17
  }
18
  .tabs .tab-selected {
19
+ background-color: #De7d32 !important; /* Change selected tab color */
20
  color: white !important;
21
  }
22
  """
 
25
  with gr.Blocks(css=CUSTOM_CSS, theme=gr.themes.Glass(primary_hue = "rose")) as app:
26
  with gr.Tab("Box Breathing"):
27
  gr.Markdown("This is the content for Box Breathing.")
28
+ gr.Button("Va")
29
  with gr.Tab("Calming"):
30
  gr.Markdown("This is the content for Calming.")
31
  with gr.Tab("5-5-5"):