qt5base-lts/util/gradientgen
Lars Knoll a46caf087c Simplify Q_ARRAY_LITERAL
And clean up some unused pieces of code.

Change-Id: I285b6862dc67b7130af66d3e08f652b1a56b990e
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-07-06 21:30:06 +02:00
..
.gitignore WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.cpp Simplify Q_ARRAY_LITERAL 2020-07-06 21:30:06 +02:00
gradientgen.js WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.pro WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
package-lock.json Provide presets for QGradient 2018-05-31 15:50:50 +00:00
package.json Provide presets for QGradient 2018-05-31 15:50:50 +00:00
qt_attribution.json WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
README WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
WEBGRADIENTS_LICENSE.txt WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
webgradients.css WebGradients: redo implementation 2019-12-14 11:31:46 +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