Skip to content

Commit

Permalink
updated var --text unsupported clamp
Browse files Browse the repository at this point in the history
  • Loading branch information
pacotole committed Mar 2, 2022
1 parent d37bde7 commit cf68181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/components/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
// Fallback (Microsoft Edge for Android & iOS < 13.7)
@supports not (width: clamp(1px, 1%, 10px)) {
#{$class} {
--text: rgba(var(--bw), var(--bw), var(--bw), 0.9);
--text: hsl(0 0% calc(var(--bw)*1%) / 90%);
}
}

Expand Down

0 comments on commit cf68181

Please sign in to comment.