qt5base-lts/util/gradientgen
Lucie Gérard 05fc3aef53 Use SPDX license identifiers
Replace the current license disclaimer in files by
a SPDX-License-Identifier.
Files that have to be modified by hand are modified.
License files are organized under LICENSES directory.

Task-number: QTBUG-67283
Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-05-16 16:37:38 +02:00
..
.gitignore WebGradients: redo implementation 2019-12-14 11:31:46 +01:00
gradientgen.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
gradientgen.js Use SPDX license identifiers 2022-05-16 16:37:38 +02: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