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

Devvit Blocks | Component button does not show caution appearance type correctly #165

Open
bitanath opened this issue Feb 19, 2025 · 0 comments

Comments

@bitanath
Copy link

Issue

Using the Block component shows up the same as i.e. a dark grey color rather than yellow

Example Devvit Code

<button appearance="caution" onPress={() => someAction('here') }>

however, as per the documentation here: Devvit docs the style should be yellow

Expected Resolution

This appears to happen since the css is compiled to class button-secondary rather than button-caution. Please correct the compilation, since the caution class does appear to be present in the css, maybe the build process incorrectly compiles to secondary instead.

Hoping for a quick resolution. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant