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 c41aae2 commit 84980d3Copy full SHA for 84980d3
1 file changed
src/configuration/_palettes.scss
@@ -19,7 +19,11 @@
19
@error "Need at least 1 color to create color tints.";
20
}
21
22
- @debug "Got only #{$count-colors} tints: #{$colorset}";
+ // we asume that it correct to give only start and end of tint weights
23
+ // only echo debug message if we have a 1, 3 or 4 color values
24
+ @if $count-colors != 2 {
25
+ @debug "Got only #{$count-colors} tints: #{$colorset}";
26
+ }
27
28
$color-tint-start: rgb(
29
color.red(list.nth($colorset, 1)),
@@ -45,7 +49,10 @@
45
49
46
50
$colorset-fallback: list.append($colorset-fallback, $color-tint-end);
47
51
48
- @debug "Create fallback with #{$colorset-steps} tints: #{$colorset-fallback}";
52
53
+ @debug "Create fallback with #{$colorset-steps} tints: #{$colorset-fallback}";
54
55
+
56
@return $colorset-fallback;
57
58
0 commit comments