Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't customize interchain-ui button color in react-components #118

Closed
samsiegart opened this issue Jan 6, 2025 · 0 comments · Fixed by #120
Closed

Can't customize interchain-ui button color in react-components #118

samsiegart opened this issue Jan 6, 2025 · 0 comments · Fixed by #120
Labels
bug Something isn't working

Comments

@samsiegart
Copy link
Contributor

When using @agoric/react-components it's expected that the developer can change the button colors in the connect wallet and provision smart wallet modals to something other than the default blue. However, passing overrides or custom themes to the ThemeProvider as documented in https://docs.cosmology.zone/cosmos-kit/migration-to-v2 does not work. I think this has to do with the css-in-js library the interchain-ui uses, and the css doesn't get applied properly because react-components is bundled separately as a dependency. The customization works for interchain-ui components used within the app itself, but not for interchain-ui components that @agoric/react-components renders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant