We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5730182 commit eb48b26Copy full SHA for eb48b26
material-colors/templates/material-discord.scss
@@ -1,11 +1,14 @@
1
+@use "sass:color";
2
+
3
@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/source.css);
4
@import "<output-folder>/colors.scss";
5
6
7
$color-scheme: <color-scheme>;
8
-$hue: round(hue($primary));
-$saturation: round(saturation($primary));
-$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));
12
13
* {
14
transition: color 0.2s ease-in-out;
0 commit comments