Skip to content

Commit

Permalink
feat(utilities): remove box-shadow utilities and values forbidden by …
Browse files Browse the repository at this point in the history
…Orange Brand for #283
  • Loading branch information
ffoodd committed Jan 22, 2020
1 parent a94291b commit fe3dfa4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
10 changes: 0 additions & 10 deletions scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ $utilities: map-merge(
class: d,
values: none inline inline-block block table table-row table-cell flex inline-flex
),
"shadow": (
property: box-shadow,
class: shadow,
values: (
sm: $box-shadow-sm,
null: $box-shadow,
lg: $box-shadow-lg,
none: none,
)
),
"position": (
property: position,
values: static relative absolute fixed sticky
Expand Down
8 changes: 4 additions & 4 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,10 @@ $border-radius-sm: null !default; // Boosted mod: forbidden by Orange

$rounded-pill: 50rem !default;

$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
$box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
$box-shadow-sm: null !default; // Boosted mod: forbidden by Orange Brand
$box-shadow: null !default; // Boosted mod: forbidden by Orange Brand
$box-shadow-lg: null !default; // Boosted mod: forbidden by Orange Brand
$box-shadow-inset: null !default; // Boosted mod: forbidden by Orange Brand

$component-active-color: $white !default;
$component-active-bg: $primary !default;
Expand Down
1 change: 0 additions & 1 deletion site/data/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
- title: Float
- title: Overflow
- title: Position
- title: Shadows
- title: Sizing
- title: Spacing
- title: Text
Expand Down

0 comments on commit fe3dfa4

Please sign in to comment.