Skip to content

Commit

Permalink
change #fff to $white
Browse files Browse the repository at this point in the history
  • Loading branch information
darren-arbon committed Aug 9, 2024
1 parent 3f39985 commit 4b31aa5
Show file tree
Hide file tree
Showing 11 changed files with 77 additions and 77 deletions.
4 changes: 2 additions & 2 deletions assets/stylesheets/_skip-link.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.c-skip-link:focus {
position: absolute;
background-color: #005d64;
color: #fff;
color: $white;
font-weight: 600;
padding: 1rem 2rem;
outline: 3px solid #fff;
outline: 3px solid $white;
opacity: initial;
text-decoration: underline;
text-underline-position: under;
Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/bootstrap/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ was-validated .input-group .form-control:invalid, .input-group .form-control.is-
}

.custom-control-input:checked~.custom-control-label::before {
color: #fff;
color: $white;
background-color: $brand-primary;
}

Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/bootstrap/_print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

td,
th {
background-color: #fff !important;
background-color: $white !important;
}
}
.table-bordered {
Expand Down
4 changes: 2 additions & 2 deletions assets/stylesheets/bootstrap/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
// Apply the mixin to the buttons
.btn-default {
@include btn-styles($btn-default-bg);
text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 $white;
border-color: #ccc;
}
.btn-primary { @include btn-styles($btn-primary-bg); }
Expand Down Expand Up @@ -180,7 +180,7 @@
&,
&:hover,
&:focus {
color: #fff;
color: $white;
@include gradient-vertical($start-color: $dropdown-link-active-bg, $end-color: darken($dropdown-link-active-bg, 5%));
}
}
Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/bootstrap/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ mark,
.bg-primary {
// Given the contrast here, this is the only class to have its color inverted
// automatically.
color: #fff;
color: $white;
}
@include bg-variant('.bg-primary', $brand-primary);

Expand Down
52 changes: 26 additions & 26 deletions assets/stylesheets/bootstrap/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $brand-danger: #C42129 !default;
//## Settings for some of the most global styles.

//** Background color for `<body>`.
$body-bg: #fff !default;
$body-bg: $white !default;
//** Global text color on `<body>`.
$text-color: $gray700 !default;

Expand Down Expand Up @@ -150,7 +150,7 @@ $border-radius-large: 5px !default;
$border-radius-small: 3px !default;

//** Global color for active items (e.g., navs or dropdowns).
$component-active-color: #fff !default;
$component-active-color: $white !default;
//** Global background color for active items (e.g., navs or dropdowns).
$component-active-bg: $brand-primary !default;

Expand Down Expand Up @@ -279,7 +279,7 @@ $cursor-disabled: not-allowed !default;
//## Dropdown menu container and contents.

//** Background for the dropdown menu.
$dropdown-bg: #fff !default;
$dropdown-bg: $white !default;
//** Dropdown menu `border-color`.
$dropdown-border: rgba(0, 0, 0, .15) !default;
//** Dropdown menu `border-color` **for IE8**.
Expand All @@ -290,7 +290,7 @@ $dropdown-divider-bg: $misty !default;
//** Dropdown link text color.
$dropdown-link-color: $brand-primary !default;
//** Hover color for dropdown links.
$dropdown-link-hover-color: #fff !default;
$dropdown-link-hover-color: $white !default;
//** Hover background for dropdown links.
$dropdown-link-hover-bg: $brand-primary !default;

Expand All @@ -306,7 +306,7 @@ $dropdown-link-disabled-color: $gray500 !default;
$dropdown-header-color: $gray700 !default;

//** Deprecated `$dropdown-caret-color` as of v3.1.0
$dropdown-caret-color: #fff !default;
$dropdown-caret-color: $white !default;


//-- Z-index master list
Expand Down Expand Up @@ -443,7 +443,7 @@ $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !def

// Inverted navbar links
$navbar-inverse-link-color: lighten($gray-light, 15%) !default;
$navbar-inverse-link-hover-color: #fff !default;
$navbar-inverse-link-hover-color: $white !default;
$navbar-inverse-link-hover-bg: transparent !default;
$navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
Expand All @@ -452,12 +452,12 @@ $navbar-inverse-link-disabled-bg: transparent !default;

// Inverted navbar brand label
$navbar-inverse-brand-color: $navbar-inverse-link-color !default;
$navbar-inverse-brand-hover-color: #fff !default;
$navbar-inverse-brand-hover-color: $white !default;
$navbar-inverse-brand-hover-bg: transparent !default;

// Inverted navbar toggle
$navbar-inverse-toggle-hover-bg: #333 !default;
$navbar-inverse-toggle-icon-bar-bg: #fff !default;
$navbar-inverse-toggle-icon-bar-bg: $white !default;
$navbar-inverse-toggle-border-color: #333 !default;


Expand Down Expand Up @@ -497,7 +497,7 @@ $nav-pills-active-link-hover-color: $component-active-color !default;
//##

$pagination-color: $link-color !default;
$pagination-bg: #fff !default;
$pagination-bg: $white !default;
$pagination-border: $brand-primary !default;

$pagination-hover-color: $link-hover-color !default;
Expand All @@ -506,11 +506,11 @@ $pagination-down-bg: $gray200 !default;
$pagination-hover-border: $brand-primary !default;

$pagination-active-color: $brand-primary !default;
$pagination-active-bg: #fff !default;
$pagination-active-bg: $white !default;
$pagination-active-border: $brand-primary !default;

$pagination-disabled-color: #ADB5BD !default;
$pagination-disabled-bg: #fff !default;
$pagination-disabled-bg: $white !default;
$pagination-disabled-border: $gray400 !default;


Expand Down Expand Up @@ -559,7 +559,7 @@ $state-danger-border: $red !default;
//** Tooltip max width
$tooltip-max-width: 200px !default;
//** Tooltip text color
$tooltip-color: #fff !default;
$tooltip-color: $white !default;
//** Tooltip background color
$tooltip-bg: #000 !default;
$tooltip-opacity: .9 !default;
Expand All @@ -575,7 +575,7 @@ $tooltip-arrow-color: $tooltip-bg !default;
//##

//** Popover body background color
$popover-bg: #fff !default;
$popover-bg: $white !default;
//** Popover maximum width
$popover-max-width: 276px !default;
//** Popover border color
Expand Down Expand Up @@ -617,9 +617,9 @@ $label-warning-bg: $brand-warning !default;
$label-danger-bg: $brand-danger !default;

//** Default label text color
$label-color: #fff !default;
$label-color: $white !default;
//** Default text color of a linked label
$label-link-hover-color: #fff !default;
$label-link-hover-color: $white !default;

$label-font-weight: 600 !default;

Expand All @@ -637,7 +637,7 @@ $modal-title-padding: 15px !default;
$modal-title-line-height: $line-height-base !default;

//** Background color of modal content area
$modal-content-bg: #fff !default;
$modal-content-bg: $white !default;
//** Modal content border color
$modal-content-border-color: rgba(0, 0, 0, .2) !default;
//** Modal content border color **for IE8**
Expand Down Expand Up @@ -700,7 +700,7 @@ $panel-default-text: $gray-dark !default;
$panel-default-border: $gray200 !default;
$panel-default-heading-bg: #fafafa !default;

$panel-primary-text: #fff !default;
$panel-primary-text: $white !default;
$panel-primary-border: $brand-primary !default;
$panel-primary-heading-bg: $brand-primary !default;

Expand Down Expand Up @@ -753,15 +753,15 @@ $well-border: $gray200 !default;
//
//##

$badge-color: #fff !default;
$badge-color: $white !default;
//** Linked badge text color on hover
$badge-link-hover-color: #fff !default;
$badge-link-hover-color: $white !default;
$badge-bg: $gray-light !default;

//** Badge text color in active nav link
$badge-active-color: $link-color !default;
//** Badge background color in active nav link
$badge-active-bg: #fff !default;
$badge-active-bg: $white !default;

$badge-font-weight: 600 !default;
$badge-line-height: 1 !default;
Expand Down Expand Up @@ -790,15 +790,15 @@ $breadcrumb-separator: "/" !default;

$carousel-text-shadow: 0 1px 2px rgba(0, 0, 0, .6) !default;

$carousel-control-color: #fff !default;
$carousel-control-color: $white !default;
$carousel-control-width: 15% !default;
$carousel-control-opacity: .5 !default;
$carousel-control-font-size: 20px !default;

$carousel-indicator-active-bg: #fff !default;
$carousel-indicator-border-color: #fff !default;
$carousel-indicator-active-bg: $white !default;
$carousel-indicator-border-color: $white !default;

$carousel-caption-color: #fff !default;
$carousel-caption-color: $white !default;


//== Close
Expand All @@ -807,7 +807,7 @@ $carousel-caption-color: #fff !default;

$close-font-weight: bold !default;
$close-color: #000 !default;
$close-text-shadow: 0 1px 0 #fff !default;
$close-text-shadow: 0 1px 0 $white !default;


//== Code
Expand All @@ -817,7 +817,7 @@ $close-text-shadow: 0 1px 0 #fff !default;
$code-color: #c7254e !default;
$code-bg: #f9f2f4 !default;

$kbd-color: #fff !default;
$kbd-color: $white !default;
$kbd-bg: #333 !default;

$pre-bg: #f5f5f5 !default;
Expand Down
2 changes: 1 addition & 1 deletion assets/stylesheets/bootstrap/mixins/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
&.active,
&.active:hover,
&.active:focus {
color: #fff;
color: $white;
background-color: $color;
border-color: $color;
}
Expand Down
Loading

0 comments on commit 4b31aa5

Please sign in to comment.