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;