summaryrefslogtreecommitdiffstats
path: root/util/gradientgen/README
diff options
context:
space:
mode:
Diffstat (limited to 'util/gradientgen/README')
-rw-r--r--util/gradientgen/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/gradientgen/README b/util/gradientgen/README
new file mode 100644
index 0000000000..a0944b6ea9
--- /dev/null
+++ b/util/gradientgen/README
@@ -0,0 +1,11 @@
+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
+