diff --git a/src/lib/generator/syntaxColors.ts b/src/lib/generator/syntaxColors.ts index 78b90e9..70d40d3 100644 --- a/src/lib/generator/syntaxColors.ts +++ b/src/lib/generator/syntaxColors.ts @@ -276,14 +276,12 @@ export function generateSyntaxColors( // Ensure readability and harmony Object.keys(syntaxColors).forEach((key) => { - if (key !== 'comment') { - if (!lockedColors[key as keyof SyntaxColors]) { - syntaxColors[key as keyof SyntaxColors] = ensureReadability( - syntaxColors[key as keyof SyntaxColors], - backgroundColor, - 5.5 - ) - } + if (!lockedColors[key as keyof SyntaxColors]) { + syntaxColors[key as keyof SyntaxColors] = ensureReadability( + syntaxColors[key as keyof SyntaxColors], + backgroundColor, + 5.5 + ) } })