Browse Source

Tweak lilac colors

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.03
falkTX 3 years ago
parent
commit
572c42a9f0
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 24 additions and 0 deletions
  1. +24
    -0
      src/custom/dep.cpp

+ 24
- 0
src/custom/dep.cpp 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)


Loading…
Cancel
Save