From 9746510148ea89af92d1e9fc745f3e34b02d2866 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 7 Feb 2022 21:55:14 +0100 Subject: Use HSLuv for accents --- src/_vars.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/_vars.scss') diff --git a/src/_vars.scss b/src/_vars.scss index fd369f7..a9ca9bf 100644 --- a/src/_vars.scss +++ b/src/_vars.scss @@ -1,5 +1,6 @@ @use 'iro-sass/src/index' as iro; @use 'include-media/dist/include-media' as media; +@use 'hsluv-sass/src/hsluv' as hsluv; @use 'functions' as fn; iro.$vars-root-size: 16px; @@ -115,10 +116,10 @@ media.$unit-intervals: ( --fg-lo: fn.color(--gray11, null), // Strong text --accent: ( - --blue: accent-palette(hsl(222, 49.8%, 52.4%)), - --red: accent-palette(hsl(352, 49.8%, 52.4%)), - --green: accent-palette(hsl(113, 49.8%, 39.6%)), - --yellow: accent-palette(hsl(50, 59.8%, 52.4%)), + --blue: accent-palette(hsluv.hsluv(259, 68.1%, 47.7%)), + --red: accent-palette(hsluv.hsluv(0, 68.1%, 47.7%)), + --green: accent-palette(hsluv.hsluv(131, 68.1%, 47.7%)), + --yellow: accent-palette(hsluv.hsluv(78, 68.1%, 47.7%)), --primary: iro.props-ref('colors', --colors --accent --blue), --error: iro.props-ref('colors', --colors --accent --red), -- cgit v1.2.3-70-g09d2