Closed gadenbuie closed 5 months ago
Note light border on checkbox and radio buttons.
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(--bs-border-color)
https://github.com/rstudio/bslib/blob/2e6b202a5ee213a86addefbae1bdc6b927b83064/inst/lib/bs5/scss/_variables.scss#L958
Input borders (select, text input) are set via $input-border-color
$input-border-color
https://github.com/rstudio/bslib/blob/2e6b202a5ee213a86addefbae1bdc6b927b83064/inst/lib/bs5/scss/_variables.scss#L914
which we override in the Shiny preset.
https://github.com/rstudio/bslib/blob/2e6b202a5ee213a86addefbae1bdc6b927b83064/inst/builtin/bs5/shiny/_variables.scss#L89
Before
Note light border on checkbox and radio buttons.
After
Notes
The border of checkbox and radio buttons is driven by
$form-check-input-border
which usesvar(--bs-border-color)
by default (the same as the card border).https://github.com/rstudio/bslib/blob/2e6b202a5ee213a86addefbae1bdc6b927b83064/inst/lib/bs5/scss/_variables.scss#L958
Input borders (select, text input) are set via
$input-border-color
https://github.com/rstudio/bslib/blob/2e6b202a5ee213a86addefbae1bdc6b927b83064/inst/lib/bs5/scss/_variables.scss#L914
which we override in the Shiny preset.
https://github.com/rstudio/bslib/blob/2e6b202a5ee213a86addefbae1bdc6b927b83064/inst/builtin/bs5/shiny/_variables.scss#L89