From 61ad405ad8e25c2dabab2cdce4acd924306c3093 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 4 Jan 2025 21:38:52 -0500 Subject: [PATCH] ssb: Too bright. --- apps/ssb.json | 2 +- apps/ssb/tf-styles.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index 2be719d56..1c93c4466 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&MT6BBjSYx78iHX7+KHJzCnHYGPOJB4Vng8Dw2ymDaS4=.sha256" + "previous": "&pkSGa9BIj2iuPuR8xMQQWQpZk6htin+m8y2m7VTDgG4=.sha256" } diff --git a/apps/ssb/tf-styles.js b/apps/ssb/tf-styles.js index 1d58a3e88..b0e2ac6f2 100644 --- a/apps/ssb/tf-styles.js +++ b/apps/ssb/tf-styles.js @@ -396,9 +396,9 @@ function is_dark(hex, value) { function generated() { let now = new Date(); let k_color = rgb_to_hex([ - (now.getDay() * 255) / 6, - (now.getHours() * 255) / 23, - (now.getSeconds() * 255) / 59, + (now.getDay() * 128) / 6, + (now.getHours() * 128) / 23, + (now.getSeconds() * 128) / 59, ]); //let k_color = '#034f84'; //let k_color = rgb_to_hex([Math.random() * 256, Math.random() * 256, Math.random() * 256]);