From 760ddfc6b074fa00cc4eb30c848a448caeeb6386 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 1 Jan 2019 17:20:22 -0800 Subject: [PATCH] Rename color_site_theme to color_theme_primary; and secondary. --- frontends/etiquette_flask/static/css/clipboard_tray.css | 2 +- frontends/etiquette_flask/static/css/common.css | 8 ++++---- frontends/etiquette_flask/static/css/photo_card.css | 4 ++-- frontends/etiquette_flask/static/css/theme_slate.css | 6 +++--- frontends/etiquette_flask/templates/bookmarks.html | 2 +- frontends/etiquette_flask/templates/root.html | 2 +- frontends/etiquette_flask/templates/search.html | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/frontends/etiquette_flask/static/css/clipboard_tray.css b/frontends/etiquette_flask/static/css/clipboard_tray.css index b2a9bd2..05894c0 100644 --- a/frontends/etiquette_flask/static/css/clipboard_tray.css +++ b/frontends/etiquette_flask/static/css/clipboard_tray.css @@ -12,7 +12,7 @@ min-width: 150px; padding: 2px; - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); } #clipboard_tray_expandbutton { diff --git a/frontends/etiquette_flask/static/css/common.css b/frontends/etiquette_flask/static/css/common.css index 2b5a133..9e0e041 100644 --- a/frontends/etiquette_flask/static/css/common.css +++ b/frontends/etiquette_flask/static/css/common.css @@ -1,7 +1,7 @@ :root { - --color_site_theme: #00d8f4; - --color_site_secondary: #ffffd4; + --color_theme_primary: #00d8f4; + --color_theme_secondary: #ffffd4; --color_text_normal: black; --color_text_link: blue; @@ -59,7 +59,7 @@ body "content_body" 1fr /1fr; - background-color: var(--color_site_theme); + background-color: var(--color_theme_primary); } #header @@ -96,7 +96,7 @@ body } .header_element:hover { - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); } pre diff --git a/frontends/etiquette_flask/static/css/photo_card.css b/frontends/etiquette_flask/static/css/photo_card.css index 02342c5..b8013d9 100644 --- a/frontends/etiquette_flask/static/css/photo_card.css +++ b/frontends/etiquette_flask/static/css/photo_card.css @@ -1,6 +1,6 @@ .album_card { - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); } .album_card:hover { @@ -61,7 +61,7 @@ .photo_card { - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); } .photo_card_list { diff --git a/frontends/etiquette_flask/static/css/theme_slate.css b/frontends/etiquette_flask/static/css/theme_slate.css index 903b2d0..4f8596c 100644 --- a/frontends/etiquette_flask/static/css/theme_slate.css +++ b/frontends/etiquette_flask/static/css/theme_slate.css @@ -1,8 +1,8 @@ :root { - --color_site_theme: #333; - --color_site_secondary: #3b4d5d; - --color_site_textfields: var(--color_site_secondary); + --color_theme_primary: #333; + --color_theme_secondary: #3b4d5d; + --color_site_textfields: var(--color_theme_secondary); --color_text_normal: #efefef; --color_text_link: #1edeff; } diff --git a/frontends/etiquette_flask/templates/bookmarks.html b/frontends/etiquette_flask/templates/bookmarks.html index 26ddfd4..8e13785 100644 --- a/frontends/etiquette_flask/templates/bookmarks.html +++ b/frontends/etiquette_flask/templates/bookmarks.html @@ -33,7 +33,7 @@ border-radius: 8px; box-shadow: 2px 2px 5px 0px var(--color_site_dropshadow); - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); } .bookmark_card .bookmark_url { diff --git a/frontends/etiquette_flask/templates/root.html b/frontends/etiquette_flask/templates/root.html index 3e82c06..d102abe 100644 --- a/frontends/etiquette_flask/templates/root.html +++ b/frontends/etiquette_flask/templates/root.html @@ -33,7 +33,7 @@ body, .nice_link } .nice_link:hover { - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); } #motd { diff --git a/frontends/etiquette_flask/templates/search.html b/frontends/etiquette_flask/templates/search.html index f3ad478..c6ba115 100644 --- a/frontends/etiquette_flask/templates/search.html +++ b/frontends/etiquette_flask/templates/search.html @@ -105,7 +105,7 @@ border: 1px solid black; - background-color: var(--color_site_secondary); + background-color: var(--color_theme_secondary); font-size: 20; }