How to download file in streamlit

in the snippet, part of the code looks like this:


    prim_color = st.config.get_option('theme.primaryColor') or '#F43365'
    bg_color = st.config.get_option('theme.backgroundColor') or '#000000'
    sbg_color = st.config.get_option('theme.secondaryBackgroundColor') or '#f1f3f6'
    txt_color = st.config.get_option('theme.textColor') or '#000000' 
    font = st.config.get_option('theme.font') or 'sans serif'  

st.config.get… takes colors from the file ‘config.toml’, so if you define colors in config toml, your button will get the same colors as the rest of the layout (there are some differences in streamlit, and for example upload files button have different colors from other buttons)