From 30bda8c4771f7fbc4ad2c7dd6d585021ef378838 Mon Sep 17 00:00:00 2001 From: lambda Date: Sat, 3 Jan 2026 15:59:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=BE=D0=BB=D0=B5=D0=B5=20=D0=B1=D0=BB?= =?UTF-8?q?=D0=B5=D0=BA=D0=BB=D0=B0=D1=8F=20=D0=BF=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/colors.json | 4 ++-- src/colors.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/colors.json b/src/colors.json index b3c1e60..dcd3906 100644 --- a/src/colors.json +++ b/src/colors.json @@ -1,6 +1,6 @@ { - "bg": "#0f0f10", - "fg": "#e6e6e6", + "bg": "#231F20", + "fg": "#D8DBE2", "accentRedHue": 0, "accentGreenHue": 140, "accentSaturation": 65, diff --git a/src/colors.ts b/src/colors.ts index 319851a..cc49a5e 100644 --- a/src/colors.ts +++ b/src/colors.ts @@ -68,7 +68,7 @@ const rgbToHsl: ColorProcessingFunc = (rIN, gIN, bIN) => { export const hslToRgb: ColorProcessingFunc = (h, s, l) => { // Нормализация const hue = ((h % DEGREES_IN_CIRCLE) + DEGREES_IN_CIRCLE) % DEGREES_IN_CIRCLE; - const sat = clamp(s / PERCENT_FACTOR); + const sat = clamp(s / (PERCENT_FACTOR * 1.5)); const light = clamp(l / PERCENT_FACTOR); const c = (1 - Math.abs(2 * light - 1)) * sat;