Skip to content

Commit

Permalink
refactor(color): set as deprecated in favor of name.nest().
Browse files Browse the repository at this point in the history
  • Loading branch information
sciborrudnicki committed Dec 4, 2023
1 parent 3815399 commit fa25fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion color/functions/_color.name-nest.function.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
@use 'color.name.function' as *;
@use 'color.retrieve.function' as *;

// Status: DONE
// Status: @deprecated
// The `color.name-nest()` function nest color names(variant) to create color list.
// @arbitrary `$name...` The name to nest.
// @returns The returned value are nested color names.
@function name-nest($name...) {
@warn "Function deprecated in favor of `name.nest()`";

$nested: ();
$retrieved: ();
$i: 1;
Expand Down
1 change: 1 addition & 0 deletions color/functions/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@forward 'color.hsla-color.function';
@forward 'color.hue-var.function';
@forward 'color.lightness-var.function';
@forward 'color.name-nest.function';
@forward 'color.name.function';
@forward 'color.saturation-var.function';
@forward 'name' as name-*;

0 comments on commit fa25fcb

Please sign in to comment.