Skip to content

Secondary color does not work reliably everywhere #2903

@anxgstadler

Description

@anxgstadler

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions