From d227f5e697e9e94637729f03f207c514d1e571fb Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Fri, 23 Jun 2023 08:45:35 +0100 Subject: [PATCH] Equal luminescence hues --- content/posts/uncommon-time-telling/index.md | 4 ++-- themes/hello-friend-ng/assets/js/main.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/posts/uncommon-time-telling/index.md b/content/posts/uncommon-time-telling/index.md index 50dd7f93..8e613fbd 100644 --- a/content/posts/uncommon-time-telling/index.md +++ b/content/posts/uncommon-time-telling/index.md @@ -60,7 +60,7 @@ This way of writing time, proposed by the [Swatch](https://en.wikipedia.org/wiki Right now it is @395, [.beat time](https://en.wikipedia.org/wiki/Swatch_Internet_Time). -Simply enough, there are 1,000 ".beats" in a day, written as a three digit whole number preceded by an `@` symbol. @0 occurrs at midnight in the UTC+1 timezone, which is the same timezone used by Swatch's headquarters in Biel, Switzerland uses (when it's not in daylight saving's time). +Simply enough, there are 1,000 ".beats" in a day, written as a three digit whole number preceded by an `@` symbol. @0 occurrs at midnight in the UTC+1 timezone, which is the same timezone used by Swatch's headquarters in Biel, Switzerland (when it's not in daylight saving's time). Though it's not my favourite of these uncommon date/time-writing methods, I find it fascinating that it effectively used French revolutionary decimal time, and expressed a belief of what the internet would become that's so much more futuristic than the almost invisible mundanity it is today, 25 years later. @@ -68,4 +68,4 @@ Though it's not my favourite of these uncommon date/time-writing methods, I find --- -That's enough weird ways of writing time for now. One of these days I'll figure out how to bend the software I use to build this blog to my will, and have it (optionally 😅) display the dates and times with these weird writing systems! +That's enough weird ways of writing time for now. One of these days I'll figure out how to bend the software I use to build this blog to my will, and have it (optionally 😅) display the dates and times with these uncommon writing systems! diff --git a/themes/hello-friend-ng/assets/js/main.js b/themes/hello-friend-ng/assets/js/main.js index 0b4961a1..b3fa1e4c 100644 --- a/themes/hello-friend-ng/assets/js/main.js +++ b/themes/hello-friend-ng/assets/js/main.js @@ -54,7 +54,7 @@ function updateAccentColor() { const now = new Date() let start = new Date(now) const hue = (now - start.setHours(0,0,0,0)) / 240000 - document.documentElement.style.setProperty('--accent', `hsl(${hue}, 100%, 60%)`); + document.documentElement.style.setProperty('--accent', `lch(60% 180 ${hue})`); } setInterval(updateAccentColor, 15000) updateAccentColor()