Skip to content

Commit c40acfb

Browse files
committed
fix setting of library prefix
1 parent 80a5a1e commit c40acfb

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

src/components/Application/_colors.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
@each $palette-group-name, $palette-group-tints in $eccgui-color-palette-light {
66
@each $palette-tint-name, $palette-tint-colors in $palette-group-tints {
77
@for $i from 1 through list.length($palette-tint-colors) {
8-
#{eccgui-color-name($palette-group-name, $palette-tint-name, ($i * 2 - 1) * 100)}: #{list.nth(
9-
$palette-tint-colors,
10-
$i
11-
)};
8+
$css-property-name: #{eccgui-color-name($palette-group-name, $palette-tint-name, ($i * 2 - 1) * 100)};
9+
$css-property-value: #{list.nth($palette-tint-colors, $i)};
10+
11+
#{$css-property-name}: #{$css-property-value};
1212
}
1313
}
1414
}

src/configuration/_libprefix.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$eccgui: "eccgui" !default;

src/configuration/_variables.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
@use "sass:math";
1515
@use "sass:map";
1616
@use "sass:list";
17-
18-
$eccgui: "eccgui" !default;
19-
2017
@import "palettes";
2118

2219
// -- Configuration stack of colors --------------------------------------------

src/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// == library prefix for variables and selectors ===============================
2+
3+
@import "./configuration/libprefix";
4+
15
// == load helper functions ====================================================
26

37
@import "./common/scss/color-functions";

0 commit comments

Comments
 (0)