Skip to content

Commit

Permalink
New version of sass
Browse files Browse the repository at this point in the history
  • Loading branch information
koeqaife committed Oct 30, 2024
1 parent 5730182 commit eb48b26
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions material-colors/templates/material-discord.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
@use "sass:color";

@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/source.css);
@import "<output-folder>/colors.scss";


$color-scheme: <color-scheme>;

$hue: round(hue($primary));
$saturation: round(saturation($primary));
$lightness: round(lightness($primary));
$hue: round(color.channel($primary, "hue", $space: hsl));
$saturation: round(color.channel($primary, "saturation", $space: hsl));
$lightness: round(color.channel($primary, "lightness", $space: hsl));

* {
transition: color 0.2s ease-in-out;
Expand Down

0 comments on commit eb48b26

Please sign in to comment.