From 3ace97660fde7fe1f0cc07a3925d1114af9a9c2f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 16 Jul 2024 10:22:03 +0300 Subject: Implement gradient color interpolation option (#548) * Added the better color averaging code (tested & functional) * rustfmt * Make Color f32 0..1, clarify premul/unpremul * Fix imports and test name * Premultiply gradient colors matching CSS * Fix indentation * fixup * Add gradient image --------- Co-authored-by: K's Thinkpad --- resources/default-config.kdl | 1 + 1 file changed, 1 insertion(+) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 1d8ebb67..ed2d4f0e 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -153,6 +153,7 @@ layout { // The angle is the same as in linear-gradient, and is optional, // defaulting to 180 (top-to-bottom gradient). // You can use any CSS linear-gradient tool on the web to set these up. + // Changing the color space is also supported, check the wiki for more info. // // active-gradient from="#80c8ff" to="#bbddff" angle=45 -- cgit