diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-15 15:08:55 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-16 13:06:00 +0200 |
commit | 5bedb1a547dbd70240d8a59ec4a84e57517d4918 (patch) | |
tree | 5e0d5aa0ef8565b49e9e4d752c6a3f3550d36472 /tools | |
parent | 51f8e9aefed01f36127246b15563d7e9cc1801b8 (diff) | |
download | field-cloth-gold-5bedb1a547dbd70240d8a59ec4a84e57517d4918.tar.gz |
Lotsa stuff.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/color.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/color.js b/tools/color.js index d645df7..82b9db7 100644 --- a/tools/color.js +++ b/tools/color.js @@ -41,8 +41,8 @@ function rgb_to_hsl(rgb, add=0, scale=1) { function foo(sel, rgb) { let bg = rgb_to_hsl(rgb, 0.00, 1.00) - let hi = rgb_to_hsl(rgb, 0.10, 1.00) - let sh = rgb_to_hsl(rgb, -0.10, 1.00) + let hi = rgb_to_hsl(rgb, 0.15, 1.00) + let sh = rgb_to_hsl(rgb, -0.15, 1.00) let bd = rgb_to_hsl(rgb, 0.00, 0.33) console.log(sel + ` { background-color: ${bg}; border-color: ${hi} ${sh} ${sh} ${hi}; box-shadow: 0 0 0 1px ${bd}, 0px 1px 4px #0008; }`) } |