summaryrefslogtreecommitdiff
path: root/tools/gencyl.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-06-04 20:45:51 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit35f785f304c89ba5fe7f61d9959727e96e2b8706 (patch)
tree908d4508c4a41ce43c8a31918135582d6ee5740e /tools/gencyl.js
parent2f2c7698ffc2964a2f08feafca41f8a20f241d21 (diff)
downloadplantagenet-35f785f304c89ba5fe7f61d9959727e96e2b8706.tar.gz
Background colors and beveled borders.
Diffstat (limited to 'tools/gencyl.js')
-rw-r--r--tools/gencyl.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/gencyl.js b/tools/gencyl.js
index be6c751..1329339 100644
--- a/tools/gencyl.js
+++ b/tools/gencyl.js
@@ -15,14 +15,14 @@ function print_lord(output, side, label) {
svg.push('<linearGradient id="g">')
if (side === 'york') {
- svg.push('<stop offset="0%" stop-color="#ddd"/>')
- svg.push('<stop offset="40%" stop-color="#fff"/>')
- svg.push('<stop offset="100%" stop-color="#ccc"/>')
+ svg.push('<stop offset="0%" stop-color="hsl(0,0%,83%)"/>')
+ svg.push('<stop offset="40%" stop-color="hsl(0,0%,93%)"/>')
+ svg.push('<stop offset="100%" stop-color="hsl(0,0%,73%)"/>')
bd = '#555'
} else {
- svg.push('<stop offset="0%" stop-color="#d33"/>')
- svg.push('<stop offset="40%" stop-color="#f44"/>')
- svg.push('<stop offset="100%" stop-color="#c22"/>')
+ svg.push('<stop offset="0%" stop-color="hsl(359,85%,43%)"/>')
+ svg.push('<stop offset="40%" stop-color="hsl(359,85%,53%)"/>')
+ svg.push('<stop offset="100%" stop-color="hsl(359,85%,33%)"/>')
bd = '#533'
}
svg.push('</linearGradient>')