ATG2024 commited on
Commit
0f42433
·
verified ·
1 Parent(s): 9e582a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -1
app.py CHANGED
@@ -126,9 +126,24 @@ topics = """
126
  - Celestial events
127
  - Astronomy tips
128
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
 
130
  # Setup the Gradio Blocks interface with custom layout components
131
- with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
132
  gr.Markdown(welcome_message) # Display the formatted welcome message
133
  with gr.Row():
134
  with gr.Column():
 
126
  - Celestial events
127
  - Astronomy tips
128
  """
129
+ import gradio as gr
130
+
131
+ STARS = gr.themes.Base().set(
132
+ background_fill_primary='#2A628F', # Light yellow background
133
+ background_fill_primary_dark='#FFD700', # Darker yellow background
134
+ background_fill_secondary='#3E92CC', # Light blue background
135
+ background_fill_secondary_dark='#2A628F', # Darker blue background
136
+ border_color_accent='#16324F', # Accent border color (dark blue)
137
+ border_color_accent_dark='#16324F', # Dark accent border color (dark blue)
138
+ border_color_accent_subdued='#18435A', # Subdued accent border color (slightly lighter blue)
139
+ border_color_primary='#2A628F', # Primary border color (medium blue)
140
+ block_border_color='#2A628F', # Block border color (medium blue)
141
+ button_primary_background_fill='#2A628F', # Primary button background color (medium blue)
142
+ button_primary_background_fill_dark='#2A628F' # Dark primary button background color (medium blue)
143
+ )
144
 
145
  # Setup the Gradio Blocks interface with custom layout components
146
+ with gr.Blocks(theme='STARS') as demo:
147
  gr.Markdown(welcome_message) # Display the formatted welcome message
148
  with gr.Row():
149
  with gr.Column():