Fix mutated schemes
This commit is contained in:
parent
771248be35
commit
35cda06cbf
@ -152,6 +152,8 @@ function generateSchemeFromGeneticAlgorithm(likedSchemes: ColorScheme[], dislike
|
|||||||
});
|
});
|
||||||
|
|
||||||
newScheme.name = generateCreativeName({ ...newScheme.colors.normal, ...newScheme.colors.bright });
|
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;
|
return newScheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user