summaryrefslogtreecommitdiff
path: root/tools/gencolors.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-08 12:45:42 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-08 23:02:03 +0200
commitfa93dc1cbb185bab17da9c09d6c2c08fefb2e99c (patch)
tree9c795adab354659eea91a5d044793b5bd4854380 /tools/gencolors.js
parent111988c6d409029a1a27e20ebb9a4e2c90bcfeab (diff)
downloadtime-of-crisis-fa93dc1cbb185bab17da9c09d6c2c08fefb2e99c.tar.gz
Add tinted militia and reduced legions as option (on by default).
Make it easier to see what is what in a mixed stack than just the tiny combat strength number.
Diffstat (limited to 'tools/gencolors.js')
-rw-r--r--tools/gencolors.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gencolors.js b/tools/gencolors.js
index 53c0612..eaff630 100644
--- a/tools/gencolors.js
+++ b/tools/gencolors.js
@@ -1,4 +1,4 @@
-const { parse_hex, format_hex, lrgb_from_any, rgb_from_any, oklab_from_any } = require("../../common/colors.js")
+const { parse_hex, format_hex, lrgb_from_any, rgb_from_any, oklab_from_any } = require("./colors.js")
const white = "#ffffff"
const black = "#000000"
@@ -83,6 +83,9 @@ gencss("#f0f0f0", ".militia")
gencss("#f0f0f0", ".legion")
gencss("#6e6e6e", ".no_place_governor")
+gencss("#f3ddbd", "body.tint .militia")
+gencss("#f4cccd", "body.tint .legion.reduced")
+
gencss("#444444", ".dice.black")
gencss("#eeeeee", ".dice.white")