Fix mutated schemes

This commit is contained in:
Tanishq Dubey 2024-09-09 18:48:47 -04:00
parent 771248be35
commit 35cda06cbf

View File

@ -152,6 +152,8 @@ function generateSchemeFromGeneticAlgorithm(likedSchemes: ColorScheme[], dislike
});
newScheme.name = generateCreativeName({ ...newScheme.colors.normal, ...newScheme.colors.bright });
newScheme.colors.primary.background = newScheme.colors.normal.black;
newScheme.colors.primary.foreground = newScheme.colors.bright.white;
return newScheme;
}