Skip to content

Commit

Permalink
fix(preset-shiny): Fix border of radio and checkbox buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie committed Apr 10, 2024
1 parent 2e6b202 commit a5ca60d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inst/builtin/bs5/shiny/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ $gradient: linear-gradient(
$body-color: $gray-900 !default;
$body-bg: $white !default;

$prefix: bs- !default;

// Fonts
$font-family-base: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
$font-family-monospace: "Source Code Pro", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
Expand Down Expand Up @@ -84,6 +86,7 @@ $form-check-input-width: 1.2em !default;
$form-check-input-border-radius: 2px !default;
$form-check-margin-bottom: 0.25rem !default;
$form-text-color: $gray-600 !default;
$form-check-input-border: var(--#{$prefix}border-width) solid $gray-500 !default;

// Borders
$input-border-color: $gray-500 !default;
Expand Down Expand Up @@ -132,7 +135,7 @@ $card-border-radius: 8px !default;
// * white navbar and title panel

$bslib-dashboard-design: true !default;
$bslib-enable-shadows: $bslib-dashboard-design !default
$bslib-enable-shadows: $bslib-dashboard-design !default;

$border-color-translucent: if($bslib-dashboard-design, rgba(40, 70, 94, 0.1), null) !default;
$border-color-translucent-dark: if($bslib-dashboard-design, rgba(255, 255, 255, 0.1), null) !default;
Expand Down

0 comments on commit a5ca60d

Please sign in to comment.