From 77b20af11c6492616ece6cc7100b9d1f10722c3b Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 17 Oct 2023 20:13:02 +0200 Subject: Add color themes. --- public/themes/pink.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 public/themes/pink.css (limited to 'public/themes/pink.css') diff --git a/public/themes/pink.css b/public/themes/pink.css new file mode 100644 index 0000000..9f57650 --- /dev/null +++ b/public/themes/pink.css @@ -0,0 +1,35 @@ +/* light tan */ +:root { + --color-head: hsl(5, 35%, 85%); + --color-body: hsl(5, 35%, 95%); + --color-text: hsl(5, 35%, 100%); + + --color-post-head: hsl(5, 35%, 85%); + --color-post-body: hsl(5, 35%, 98%); + + --color-table-head: hsl(5, 35%, 85%); + --color-table-foot: hsl(5, 35%, 90%); + --color-table-body: hsl(5, 35%, 98%); + --color-table-stripe: hsl(5, 20%, 95%); + + --color-accent: hsl(340, 60%, 40%); +} + +/* dark tan */ +@media (prefers-color-scheme: dark) { +:root { + --color-head: hsl(5, 35%, 75%); + --color-body: hsl(5, 35%, 85%); + --color-text: hsl(5, 35%, 95%); + + --color-post-head: hsl(5, 35%, 75%); + --color-post-body: hsl(5, 35%, 90%); + + --color-table-head: hsl(5, 35%, 75%); + --color-table-foot: hsl(5, 35%, 80%); + --color-table-body: hsl(5, 35%, 90%); + --color-table-stripe: hsl(5, 35%, 87%); + + --color-accent: hsl(340, 60%, 35%); +}} + -- cgit v1.2.3