lydiazyang commited on
Commit
203076f
·
1 Parent(s): 11b0091

more color styling

Browse files
.streamlit/config.toml CHANGED
@@ -1,5 +1,5 @@
1
  [theme]
2
  base="light"
3
- primaryColor="#98c991"
4
- secondaryBackgroundColor="#aebaad"
5
  textColor="#000000"
 
1
  [theme]
2
  base="light"
3
+ primaryColor="#d2fbd1"
4
+ secondaryBackgroundColor="#aad4a3"
5
  textColor="#000000"
__pycache__/app.cpython-311.pyc CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
 
index.py CHANGED
@@ -13,12 +13,21 @@ def main():
13
 
14
  st.sidebar.header('Ingredients & Nutrition')
15
 
 
 
16
 
17
- option1 = st.sidebar.checkbox('Banana')
18
- option2 = st.sidebar.checkbox('Strawberry')
19
- option3 = st.sidebar.checkbox('Kale')
20
- option4 = st.sidebar.checkbox('Orange Juice')
21
- option5 = st.sidebar.checkbox('Almond Milk')
 
 
 
 
 
 
 
22
  button_clicked = st.sidebar.button('Done')
23
  if button_clicked:
24
  displayRecipes()
 
13
 
14
  st.sidebar.header('Ingredients & Nutrition')
15
 
16
+ # List of items
17
+ items = ['Item 1', 'Item 2', 'Item 3']
18
 
19
+ # Define content for each item
20
+ content = {
21
+ 'Item 1': "This is the content for Item 1",
22
+ 'Item 2': "This is the content for Item 2",
23
+ 'Item 3': "This is the content for Item 3"
24
+ }
25
+
26
+ # Display expanders for each item
27
+ for item in items:
28
+ with st.sidebar.expander(item):
29
+ st.write(content[item])
30
+
31
  button_clicked = st.sidebar.button('Done')
32
  if button_clicked:
33
  displayRecipes()