Refactor shadow variables. (#3251)

* Refactor shadow variables.

* Add default flags.
This commit is contained in:
Viktor Persson 2021-01-30 14:01:42 +01:00 committed by GitHub
parent 7e0ea44a47
commit fd666bbb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
$card-color: $text !default $card-color: $text !default
$card-background-color: $scheme-main !default $card-background-color: $scheme-main !default
$card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default $card-shadow: $shadow !default
$card-radius: 0.25rem !default $card-radius: 0.25rem !default
$card-header-background-color: transparent !default $card-header-background-color: transparent !default

View File

@ -8,7 +8,7 @@ $dropdown-content-offset: 4px !default
$dropdown-content-padding-bottom: 0.5rem !default $dropdown-content-padding-bottom: 0.5rem !default
$dropdown-content-padding-top: 0.5rem !default $dropdown-content-padding-top: 0.5rem !default
$dropdown-content-radius: $radius !default $dropdown-content-radius: $radius !default
$dropdown-content-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default $dropdown-content-shadow: $shadow !default
$dropdown-content-z: 20 !default $dropdown-content-z: 20 !default
$dropdown-item-color: $text !default $dropdown-item-color: $text !default

View File

@ -3,7 +3,7 @@
$panel-margin: $block-spacing !default $panel-margin: $block-spacing !default
$panel-item-border: 1px solid $border-light !default $panel-item-border: 1px solid $border-light !default
$panel-radius: $radius-large !default $panel-radius: $radius-large !default
$panel-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default $panel-shadow: $shadow !default
$panel-heading-background-color: $border-light !default $panel-heading-background-color: $border-light !default
$panel-heading-color: $text-strong !default $panel-heading-color: $text-strong !default

View File

@ -3,7 +3,7 @@
$box-color: $text !default $box-color: $text !default
$box-background-color: $scheme-main !default $box-background-color: $scheme-main !default
$box-radius: $radius-large !default $box-radius: $radius-large !default
$box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default $box-shadow: $shadow !default
$box-padding: 1.25rem !default $box-padding: 1.25rem !default
$box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default $box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default

View File

@ -99,6 +99,10 @@ $size-normal: $size-6 !default
$size-medium: $size-5 !default $size-medium: $size-5 !default
$size-large: $size-4 !default $size-large: $size-4 !default
// Effects
$shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
// Lists and maps // Lists and maps
$custom-colors: null !default $custom-colors: null !default
$custom-shades: null !default $custom-shades: null !default