stylix: match folder colour against papirus' real fills, not material hexes

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-01 22:47:26 +01:00
parent 6649253aa7
commit a026589ca2

View file

@ -58,14 +58,27 @@
b = hexByte (builtins.substring 4 2 h);
};
# papirus-folders named palette → representative hex values.
# papirus-folders palette → the front-face fill of each
# folder-<color>.svg, read out of the icons themselves.
#
# NOT the Material Design values the names imply. Papirus paints the
# front panel a good deal lighter than its own colour name: nordic's
# face is 81a1c1, while 5e81ac is only the small back flap behind it.
# Matching a teal accent against the nominal values is what made these
# folders come out blue — the real darkcyan is 17x closer than nordic,
# the nominal one wasn't.
#
# Every key here is a variant that actually ships (there is no
# "palegreen"; a name with no folder-<name>-*.svg files silently
# recolours nothing).
pfPalette = {
adwaita="3584e4"; black="000000"; bluegrey="607d8b"; breeze="1d99f3";
brown="795548"; cyan="00bcd4"; darkcyan="00838f"; deeporange="ff5722";
green="4caf50"; grey="9e9e9e"; indigo="3f51b5"; magenta="e91e63";
nordic="5e81ac"; orange="ff9800"; palebrown="a1887f"; palegreen="8bc34a";
pink="f06292"; red="f44336"; teal="009688"; violet="9c27b0";
white="ffffff"; yellow="ffeb3b";
adwaita="93c0ea"; black="4f4f4f"; blue="5294e2"; bluegrey="607d8b";
breeze="57b8ec"; brown="ae8e6c"; carmine="a30002"; cyan="00bcd4";
darkcyan="45abb7"; deeporange="eb6637"; green="87b158"; grey="8e8e8e";
indigo="5c6bc0"; magenta="ca71df"; nordic="81a1c1"; orange="ee923a";
palebrown="d1bfae"; paleorange="eeca8f"; pink="f06292"; red="e25252";
teal="16a085"; violet="7e57c2"; white="e4e4e4"; yaru="676767";
yellow="f9bd30";
};
# Closest papirus-folders color to stylix's accent (base0D), chosen at