Skip to content

Commit fa25fcb

Browse files
refactor(color): set as deprecated in favor of name.nest().
1 parent 3815399 commit fa25fcb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

color/functions/_color.name-nest.function.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
@use 'color.name.function' as *;
88
@use 'color.retrieve.function' as *;
99

10-
// Status: DONE
10+
// Status: @deprecated
1111
// The `color.name-nest()` function nest color names(variant) to create color list.
1212
// @arbitrary `$name...` The name to nest.
1313
// @returns The returned value are nested color names.
1414
@function name-nest($name...) {
15+
@warn "Function deprecated in favor of `name.nest()`";
16+
1517
$nested: ();
1618
$retrieved: ();
1719
$i: 1;

color/functions/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
@forward 'color.hsla-color.function';
44
@forward 'color.hue-var.function';
55
@forward 'color.lightness-var.function';
6+
@forward 'color.name-nest.function';
67
@forward 'color.name.function';
78
@forward 'color.saturation-var.function';
89
@forward 'name' as name-*;

0 commit comments

Comments
 (0)