Skip to content

Commit 2399e3a

Browse files
authored
Merge pull request #27 from codaco/fix/alpha-warning
Fix variable name in warning
2 parents a363796 + 2eaf9a4 commit 2399e3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "network-canvas-ui",
3-
"version": "1.9.2",
3+
"version": "1.9.3",
44
"description": "Styles and React components for the Network Canvas project",
55
"main": "lib/components/index.js",
66
"scripts": {

src/styles/global/core/_color.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $-color-alpha-map: (.1, .15, .3, .6, .7, .8, 1) !default;
1212
@function color($color-name, $alpha: 1) {
1313
$color: #fff;
1414
@if index($-color-alpha-map, $alpha) == null {
15-
@warn 'color: Only use #{$-color-map-alpha} for alpha values.';
15+
@warn 'color: Only use #{$-color-alpha-map} for alpha values.';
1616
}
1717
@if map-has-key($-color-map, $color-name) {
1818
$color: map-get($-color-map, $color-name);

0 commit comments

Comments
 (0)