fix render color
This commit is contained in:
@@ -355,7 +355,10 @@ function renderColorTokens(tokens: ColorToken[]): string {
|
||||
const colors: string[] = [];
|
||||
for (const [color, colorStack] of colorMapStack) {
|
||||
if (colorStack.length > 0) {
|
||||
colors.push(colorCode);
|
||||
const currentColorCode = COLOR_MAP[color];
|
||||
if (currentColorCode) {
|
||||
colors.push(currentColorCode);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (colors.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user