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

fix(preset-shiny): Fix border of radio and checkbox buttons #1038

Merged
merged 5 commits into from
Apr 10, 2024

Conversation

gadenbuie
Copy link
Member

Before

Note light border on checkbox and radio buttons.

image

image

After

image

image

Notes

The border of checkbox and radio buttons is driven by $form-check-input-border which uses var(--bs-border-color) by default (the same as the card border).

$form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color) !default;

Input borders (select, text input) are set via $input-border-color

$input-border-color: var(--#{$prefix}border-color) !default;

which we override in the Shiny preset.

$input-border-color: $gray-500 !default;

@gadenbuie gadenbuie merged commit 2c87d0c into main Apr 10, 2024
13 checks passed
@gadenbuie gadenbuie deleted the preset/fix-radio-checkbox-outline branch April 10, 2024 17:46
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.

3 participants