diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-08 12:45:42 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-08 23:02:03 +0200 |
commit | fa93dc1cbb185bab17da9c09d6c2c08fefb2e99c (patch) | |
tree | 9c795adab354659eea91a5d044793b5bd4854380 /tools/gencolors.js | |
parent | 111988c6d409029a1a27e20ebb9a4e2c90bcfeab (diff) | |
download | time-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.js | 5 |
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") |