Skip to content

Commit

Permalink
Upgrade to latest Bootswatch Slate theme
Browse files Browse the repository at this point in the history
  • Loading branch information
reedloden committed May 30, 2020
1 parent 31eada7 commit 9c40ae1
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 5 deletions.
26 changes: 24 additions & 2 deletions _sass/_bootstrap_customization.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Slate 4.1.3
// Slate 4.5.0
// Bootswatch


Expand Down Expand Up @@ -193,6 +193,12 @@
}
}

.btn-outline {
&-primary {
color: #fff;
}
}

.btn-link,
.btn-link:hover {
border-color: transparent;
Expand Down Expand Up @@ -354,6 +360,22 @@ legend {

.nav-tabs {

.nav-link {
@include btn-shadow-inverse($gray-800);
border: 1px solid rgba(0, 0, 0, 0.6);

&:not([disabled]):not(.disabled):hover,
&:not([disabled]):not(.disabled):focus,
&:not([disabled]):not(.disabled):active,
&:not([disabled]):not(.disabled).active {
@include btn-shadow($gray-800);
}

&.disabled {
border: 1px solid rgba(0, 0, 0, 0.6);
}
}

.nav-link,
.nav-link:hover {
color: #fff;
Expand Down Expand Up @@ -478,4 +500,4 @@ legend {
&-item:hover {
background-color: darken($gray-900, 5%);
}
}
}
22 changes: 19 additions & 3 deletions _sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Slate 4.1.3
// Slate 4.5.0
// Bootswatch

//
Expand All @@ -24,7 +24,7 @@ $pink: #e83e8c !default;
$red: #ee5f5b !default;
$orange: #fd7e14 !default;
$yellow: #f89406 !default;
$green: #6BBD45 !default;
$green: #6bbd45 !default;
$teal: #20c997 !default;
$cyan: #5bc0de !default;

Expand All @@ -37,6 +37,8 @@ $danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-900 !default;

$yiq-contrasted-threshold: 170 !default;

// Body

$body-bg: $gray-900 !default;
Expand All @@ -52,6 +54,7 @@ $font-size-base: 0.9375rem !default;

// Tables

$table-color: $white !default;
$table-accent-bg: rgba($white,.05) !default;
$table-hover-bg: rgba($white,.075) !default;

Expand All @@ -72,12 +75,16 @@ $input-disabled-bg: #ccc !default;
// Dropdowns

$dropdown-bg: $gray-800 !default;
$dropdown-border-color: rgba($black, .6) !default;
$dropdown-divider-bg: rgba($black,.15) !default;

$dropdown-link-color: $body-color !default;
$dropdown-link-hover-color: $white !default;
$dropdown-link-hover-bg: $body-bg !default;

$dropdown-link-active-color: $dropdown-link-hover-color !default;
$dropdown-link-active-bg: $dropdown-link-hover-bg !default;

// Navs

$nav-tabs-border-color: rgba($black, 0.6) !default;
Expand Down Expand Up @@ -126,6 +133,15 @@ $card-bg: lighten($body-bg, 5%) !default;

$popover-bg: lighten($body-bg, 5%) !default;

// Toasts

$toast-background-color: lighten($body-bg, 5%) !default;
$toast-border-color: rgba(0,0,0,.2) !default;

$toast-header-color: $body-color !default;
$toast-header-background-color: $toast-background-color !default;
$toast-header-border-color: $toast-border-color !default;

// Modals

$modal-content-bg: lighten($body-bg, 5%) !default;
Expand Down Expand Up @@ -157,4 +173,4 @@ $breadcrumb-active-color: $gray-500 !default;

// Code

$pre-color: inherit !default;
$pre-color: inherit !default;

0 comments on commit 9c40ae1

Please sign in to comment.