dnplus / streamlit-oauth

Simple OAuth Component for Streamlit App
MIT License
144 stars 23 forks source link

Maintain consistent style with authorize_button #37

Closed rohitsathish closed 3 months ago

rohitsathish commented 5 months ago

Currently oauth2.authorize_button style is inconsistent with streamlit, however oath2.refresh_token uses a regular streamlit button. Its better to maintain a consistent style.

image

image

dnplus commented 3 months ago

Currently have no idea how to inherit style from streamlit button

MaraHochstein commented 3 months ago

Could you add something like background-color: var(--primary-color); to button (like for button:hover) here? I think this works with primaryColor from config.toml

dnplus commented 3 months ago

@MaraHochstein noted