From d5bb94dfb66f50cff05fe0205b4cae47e360cb0a Mon Sep 17 00:00:00 2001 From: Magnus Hoff Date: Mon, 16 Jul 2018 20:10:30 +0200 Subject: [PATCH] Iterate on the color palettes Darker link color for light backgrounds --- assets/style.css | 2 +- assets/themes.css | 4 ++-- themes/generate.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/style.css b/assets/style.css index 4d9227d..f04ff1f 100644 --- a/assets/style.css +++ b/assets/style.css @@ -154,7 +154,7 @@ pre { } a { - color: #1E88E5; + color: #1976D2; text-decoration: none; } diff --git a/assets/themes.css b/assets/themes.css index 62b09a9..721eb4c 100644 --- a/assets/themes.css +++ b/assets/themes.css @@ -86,14 +86,14 @@ --theme-main: #FBC02D; --theme-text: black; --theme-input: #FFEB3B; - --theme-link: #1E88E5; + --theme-link: #1976D2; } .theme-amber { --theme-main: #FFC107; --theme-text: black; --theme-input: #FFD54F; - --theme-link: #1E88E5; + --theme-link: #1976D2; } .theme-orange { diff --git a/themes/generate.py b/themes/generate.py index ae68686..a69b3c4 100755 --- a/themes/generate.py +++ b/themes/generate.py @@ -34,7 +34,7 @@ def prep(x): "main": cols[main_index], "input": x['colors'][3 if main_index == 0 else 5], "text": "white" if dark_main else "black", - "link": blues[2] if dark_main else blues[6], + "link": blues[2] if dark_main else blues[7], } blues = [x for x in palettes if x['shade'] == "Blue"][0]["colors"]