Skip to content

Commit

Permalink
chore(color): change file name of the color() function and move to …
Browse files Browse the repository at this point in the history
…different folder.
  • Loading branch information
sciborrudnicki committed May 27, 2022
1 parent cb82fa3 commit a8b14ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Color variable.
// Get color from css variable.
@function color($name, $hue: 0deg, $lightness: 0%, $saturation: 0%, $alpha: 1) {
@return hsla(
calc(var(--s-#{$name}-h) + #{$hue}),
Expand Down
1 change: 1 addition & 0 deletions src/functions/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@forward 'color';

0 comments on commit a8b14ac

Please sign in to comment.