JasperV13 commited on
Commit
5c4105b
·
1 Parent(s): b6d741a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -33
app.py CHANGED
@@ -97,11 +97,6 @@ class MyBot:
97
  )
98
 
99
  #---------------------------------------------------------
100
- # Set main colors
101
- background_color = "#454545"
102
- accent_color = "#FF6000"
103
- text_color = "#FFA559"
104
- button_color = "#FFE6C7"
105
 
106
  # Set page config
107
  st.set_page_config(
@@ -112,34 +107,27 @@ st.set_page_config(
112
  )
113
 
114
  # Set Streamlit theme
115
- st.markdown(
116
- f"""
117
- <style>
118
- .reportview-container {{
119
- background-color: {background_color};
120
- color: {text_color};
121
- }}
122
- .sidebar .sidebar-content {{
123
- background-color: {background_color};
124
- color: {text_color};
125
- }}
126
- .sidebar .sidebar-content .block-container {{
127
- background-color: {background_color};
128
- }}
129
- .widget-title {{
130
- color: {text_color};
131
- }}
132
- .stButton {{
133
- background-color: {button_color};
134
- color: {text_color};
135
- }}
136
- .stSelectbox select {{
137
- color: {text_color};
138
- }}
139
- </style>
140
- """,
141
- unsafe_allow_html=True,
142
- )
143
 
144
  # Replicate Credentials
145
  with st.sidebar:
 
97
  )
98
 
99
  #---------------------------------------------------------
 
 
 
 
 
100
 
101
  # Set page config
102
  st.set_page_config(
 
107
  )
108
 
109
  # Set Streamlit theme
110
+
111
+ # Define the custom CSS
112
+ custom_css = """
113
+ <style>
114
+ body {
115
+ background-color: #FFE6C7;
116
+ }
117
+ h1 {
118
+ color: #454545;
119
+ }
120
+ h2 {
121
+ color: #FF6000;
122
+ }
123
+ h3 {
124
+ color: #FFA559;
125
+ }
126
+ </style>
127
+ """
128
+
129
+ # Add the custom CSS to the app
130
+ st.markdown(custom_css, unsafe_allow_html=True)
 
 
 
 
 
 
 
131
 
132
  # Replicate Credentials
133
  with st.sidebar: