Skip to content

Commit

Permalink
Made changes for btn-focus-box-shadow property
Browse files Browse the repository at this point in the history
  • Loading branch information
sreidthomas committed Jul 31, 2024
1 parent e29fbb5 commit d21d15b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/scss/_bootstrap-variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ $light: #fff !default;
$dark: #000 !default;

$focus-ring-color: blue;
$btn-focus-box-shadow: 0 0 0 0.25em rgba(0, 0, 255, 0.5) !important;
24 changes: 15 additions & 9 deletions src/scss/_host.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,16 @@

// Root and body
// scss-docs-start root-body-variables
@if $font-size-root != null {
@if $font-size-root !=null {
--#{$prefix}root-font-size: #{$font-size-root};
}

--#{$prefix}body-font-family: #{inspect($font-family-base)};
@include rfs($font-size-base, --#{$prefix}body-font-size);
--#{$prefix}body-font-weight: #{$font-weight-base};
--#{$prefix}body-line-height: #{$line-height-base};
@if $body-text-align != null {

@if $body-text-align !=null {
--#{$prefix}body-text-align: #{$body-text-align};
}

Expand All @@ -77,9 +79,15 @@
--#{$prefix}tertiary-color-rgb: #{to-rgb($body-tertiary-color)};
--#{$prefix}tertiary-bg: #{$body-tertiary-bg};
--#{$prefix}tertiary-bg-rgb: #{to-rgb($body-tertiary-bg)};

--bs-btn-focus-box-shadow: 0 0 0 0.25rem blue;

--bs-btn-focus-shadow-rgb: rgb(0, 0, 255);


// scss-docs-end root-body-variables

@if $headings-color != null {
@if $headings-color !=null {
--#{$prefix}heading-color: #{$headings-color};
}

Expand All @@ -90,7 +98,7 @@
--#{$prefix}link-hover-color: #{$link-hover-color};
--#{$prefix}link-hover-color-rgb: #{to-rgb($link-hover-color)};

@if $link-hover-decoration != null {
@if $link-hover-decoration !=null {
--#{$prefix}link-hover-decoration: #{$link-hover-decoration};
}

Expand All @@ -108,9 +116,7 @@
--#{$prefix}border-radius-lg: #{$border-radius-lg};
--#{$prefix}border-radius-xl: #{$border-radius-xl};
--#{$prefix}border-radius-xxl: #{$border-radius-xxl};
--#{$prefix}border-radius-2xl: var(
--#{$prefix}border-radius-xxl
); // Deprecated in v5.3.0 for consistency
--#{$prefix}border-radius-2xl: var(--#{$prefix}border-radius-xxl); // Deprecated in v5.3.0 for consistency
--#{$prefix}border-radius-pill: #{$border-radius-pill};
// scss-docs-end root-border-var

Expand Down Expand Up @@ -169,7 +175,7 @@
--#{$prefix}#{$color}-border-subtle: #{$value};
}

@if $headings-color-dark != null {
@if $headings-color-dark !=null {
--#{$prefix}heading-color: #{$headings-color-dark};
}

Expand All @@ -189,4 +195,4 @@
--#{$prefix}form-invalid-border-color: #{$form-invalid-border-color-dark};
// scss-docs-end root-dark-mode-vars
}
}
}
2 changes: 2 additions & 0 deletions src/shared/themed-bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/shared/themed-bootstrap.css.map

Large diffs are not rendered by default.

0 comments on commit d21d15b

Please sign in to comment.