Skip to content

Commit 72e5ca4

Browse files
committed
align scss output with stylelinter rules
1 parent 17275de commit 72e5ca4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Application/stories/ColorPalettes.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const ColorPaletteConfigurator = ({
160160
const createSassSerialization = (data: object) => {
161161
const createTintData = (tint: string, weights: object) => {
162162
return `\t\t"${tint}": eccgui-create-color-tints(${Object.values(weights)
163-
.map((color) => color.hex())
163+
.map((color) => color.hex().toLowerCase())
164164
.join(" ")}),\n`;
165165
};
166166

@@ -169,7 +169,7 @@ const ColorPaletteConfigurator = ({
169169
for (const [tint, weights] of Object.entries(tints)) {
170170
groupData = groupData + createTintData(tint, weights);
171171
}
172-
return groupData + `\t),\n`;
172+
return (groupData + `\t),\n`).replaceAll("\t", " ");
173173
};
174174

175175
let sassData = `$eccgui-color-palette-light: (\n`;

0 commit comments

Comments
 (0)