Skip to content

Commit

Permalink
refactor(text-muted): use opacity to adapt to dark/light backgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed May 14, 2020
1 parent 2113f55 commit 0f081b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 7 additions & 1 deletion scss/_utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,16 @@ $utilities: map-merge(
"light": $light,
"white": $white,
"body": $body-color,
"muted": $text-muted,
"reset": inherit,
)
),
"muted": (
property: opacity,
class: text,
values: (
"muted": .6
)
),
"line-height": (
property: line-height,
class: lh,
Expand Down
3 changes: 0 additions & 3 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,6 @@ $small-font-size: .875em !default;

$sub-sup-font-size: .75em !default;

$text-muted: $gray-700 !default;
//$text-muted-dark: $gray-600 !default; // Boosted mod

$initialism-font-size: $small-font-size !default;

$blockquote-small-color: $gray-700 !default;
Expand Down

0 comments on commit 0f081b6

Please sign in to comment.