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

Secondary color does not work reliably everywhere #2903

Open
anxgstadler opened this issue Oct 8, 2024 · 0 comments
Open

Secondary color does not work reliably everywhere #2903

anxgstadler opened this issue Oct 8, 2024 · 0 comments
Assignees
Labels

Comments

@anxgstadler
Copy link

Describe the bug
In Orchid 14.36.0, when a button or a link is configured to have secondary color with ->type(Color::SECONDARY), this does not work everywhere.
For example, it does work within a row layout (like in the example that ships with Orchid), but not within a table row or the command bar.

I see that in sass/core/buttons.scss there is a definition for .btn-primary which seems to override everything and make the primary color buttons work across all UI elements. Next to it, there are the same definition for . btn-success, .btn-info, and so on, but the definition for .btn-secondary is missing there.

To Reproduce
Steps to reproduce the behavior:

  1. Install vanilla Orchid app.
  2. Put a button into e.g. the command bar or a table row and give it type Color::SECONDARY.
  3. See that it does not look grey but is still white.

Expected behavior
Secondary color works everywhere reliably.

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

No branches or pull requests

2 participants