11.stylix/stylix/palette.json.mustache
Daniel Thwaites 9343b660c9
stylix: fix palette generator caching (#867)
Ensure the palette generator is properly cached by fixing the bug
introduced in commit efb734ff43 ("Prevent scheme generation from
running when result is not used (#56)"), where the added indirection
prevents the output of the palette generator becoming part of the final
system.

Using highestPrio as a condition should prevent the palette generator
being forced to run when the output is not used, which is the issue that
the indirection was meant to solve.

Link: https://github.com/danth/stylix/pull/867

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-02-18 13:34:14 +01:00

21 lines
525 B
Text

{
"base00": "{{{base00}}}",
"base01": "{{{base01}}}",
"base02": "{{{base02}}}",
"base03": "{{{base03}}}",
"base04": "{{{base04}}}",
"base05": "{{{base05}}}",
"base06": "{{{base06}}}",
"base07": "{{{base07}}}",
"base08": "{{{base08}}}",
"base09": "{{{base09}}}",
"base0A": "{{{base0A}}}",
"base0B": "{{{base0B}}}",
"base0C": "{{{base0C}}}",
"base0D": "{{{base0D}}}",
"base0E": "{{{base0E}}}",
"base0F": "{{{base0F}}}",
"author": "{{author}}",
"scheme": "{{scheme}}",
"slug": "{{slug}}"
}