Tweak lilac colors
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
fef10bb2cc
commit
572c42a9f0
1 changed files with 24 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue