tarrasyed19472007 commited on
Commit
052f6c8
·
verified ·
1 Parent(s): 13edd9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -2
app.py CHANGED
@@ -81,14 +81,36 @@ def get_well_being_suggestions(emotion):
81
 
82
  # Streamlit UI
83
  def main():
84
- # Set the background image
85
  st.markdown("""
86
  <style>
87
  .stApp {
88
- background-image: url('https://www.example.com/your-image.jpg');
89
  background-size: cover;
90
  background-position: center;
91
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  </style>
93
  """, unsafe_allow_html=True)
94
 
 
81
 
82
  # Streamlit UI
83
  def main():
84
+ # Custom Styling for purple background
85
  st.markdown("""
86
  <style>
87
  .stApp {
88
+ background-color: #6a0dad; /* Purple background */
89
  background-size: cover;
90
  background-position: center;
91
  }
92
+
93
+ h1, h2, h3 {
94
+ color: white;
95
+ font-family: 'Arial', sans-serif;
96
+ }
97
+
98
+ .stTextArea textarea {
99
+ background-color: #f2f2f2; /* Light grey text area */
100
+ border-radius: 8px;
101
+ color: #333333;
102
+ }
103
+
104
+ .stButton button {
105
+ background-color: #9b4dca; /* Purple button */
106
+ color: white;
107
+ font-weight: bold;
108
+ border-radius: 5px;
109
+ }
110
+
111
+ .stButton button:hover {
112
+ background-color: #7a33a2; /* Darker purple on hover */
113
+ }
114
  </style>
115
  """, unsafe_allow_html=True)
116