Skip to content

Fix unreadable text on disabled secondary outline buttons in Lux theme#1353

Open
aaronhudon-pq wants to merge 1 commit intothomaspark:v4from
aaronhudon-pq:patch-1
Open

Fix unreadable text on disabled secondary outline buttons in Lux theme#1353
aaronhudon-pq wants to merge 1 commit intothomaspark:v4from
aaronhudon-pq:patch-1

Conversation

@aaronhudon-pq
Copy link
Copy Markdown

The Bootswatch Lux theme overrides the base .btn-outline-secondary styling but fails to provide specific overrides for the .disabled class and :disabled pseudo-class. Because of this omission, disabled buttons fall back to the default Bootstrap styles (white text on a transparent background), making the text invisible against light backgrounds.

Added explicit CSS/SCSS rules for .btn-outline-secondary.disabled and &:disabled to maintain the expected gray text color ($gray-600) and transparent background, while still inheriting Bootstrap's default disabled opacity.

The Bootswatch Lux theme overrides the base `.btn-outline-secondary` styling but fails to provide specific overrides for the `.disabled` class and `:disabled` pseudo-class. Because of this omission, disabled buttons fall back to the default Bootstrap styles (white text on a transparent background), making the text invisible against light backgrounds.

Added explicit CSS/SCSS rules for `.btn-outline-secondary.disabled` and `&:disabled` to maintain the expected gray text color (`$gray-600`) and transparent background, while still inheriting Bootstrap's default disabled opacity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant