qt6windows7/util/gradientgen
2023-10-29 23:33:08 +01:00
..
gradientgen.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
gradientgen.js qt 6.5.1 original 2023-10-29 23:33:08 +01:00
gradientgen.pro qt 6.5.1 original 2023-10-29 23:33:08 +01:00
package-lock.json qt 6.5.1 original 2023-10-29 23:33:08 +01:00
package.json qt 6.5.1 original 2023-10-29 23:33:08 +01:00
qt_attribution.json qt 6.5.1 original 2023-10-29 23:33:08 +01:00
README qt 6.5.1 original 2023-10-29 23:33:08 +01:00
WEBGRADIENTS_LICENSE.txt qt 6.5.1 original 2023-10-29 23:33:08 +01:00
webgradients.css qt 6.5.1 original 2023-10-29 23:33:08 +01:00

Regeneration of gradients:

0) Grab a new .css for the webgradients
1) Run the gradientgen.js script (requires node):

   gradientgen.js enum webgradients.css    # will regen the enumeration names (on stdout)
   gradientgen.js json webgradients.css    # will regen the actual gradients (on stdout)

2) Build gradientgen.pro
3) Run gradientgen, passing the json as stdin, the result will be on stdout