Tweak lilac colors

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-25 16:20:59 +00:00
parent fef10bb2cc
commit 572c42a9f0
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -305,6 +305,30 @@ static inline bool invertPaint(NSVGpaint& paint, const char* const svgFileToInve
}
}
// Special case for Lilac
if (svgFileToInvert != nullptr && std::strncmp(svgFileToInvert, "/LilacLoop/", 7) == 0)
{
switch (paint.color)
{
// main bg (custom)
case 0xffd5d5da:
paint.color = 0xff242228;
return true;
// main color (do nothing)
case 0xffbfb7d7:
return false;
// screws (hide)
case 0xffc8c8cf:
case 0xffbcbcbc:
case 0xffb1b1bb:
case 0xffacacac:
case 0xff898991:
case 0xff727272:
paint.color = 0x00000000;
return true;
}
}
switch (paint.color)
{
// scopes or other special things (do nothing)