Skip to content

Commit eb48b26

Browse files
committed
New version of sass
1 parent 5730182 commit eb48b26

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

material-colors/templates/material-discord.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
@use "sass:color";
2+
13
@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/source.css);
24
@import "<output-folder>/colors.scss";
35

6+
47
$color-scheme: <color-scheme>;
58

6-
$hue: round(hue($primary));
7-
$saturation: round(saturation($primary));
8-
$lightness: round(lightness($primary));
9+
$hue: round(color.channel($primary, "hue", $space: hsl));
10+
$saturation: round(color.channel($primary, "saturation", $space: hsl));
11+
$lightness: round(color.channel($primary, "lightness", $space: hsl));
912

1013
* {
1114
transition: color 0.2s ease-in-out;

0 commit comments

Comments
 (0)