summaryrefslogtreecommitdiffstats
path: root/src/_config.scss
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2024-06-23 19:05:33 +0200
committerVolpeon <git@volpeon.ink>2024-06-23 19:05:33 +0200
commit64a841c69ead262666dd0754218585d0f05cf735 (patch)
tree2e6d3462d544c18d51e1e9930a2d95f98111e219 /src/_config.scss
parentUpdate (diff)
downloadiro-design-64a841c69ead262666dd0754218585d0f05cf735.tar.gz
iro-design-64a841c69ead262666dd0754218585d0f05cf735.tar.bz2
iro-design-64a841c69ead262666dd0754218585d0f05cf735.zip
WIP: New color calculations
Diffstat (limited to 'src/_config.scss')
-rw-r--r--src/_config.scss62
1 files changed, 33 insertions, 29 deletions
diff --git a/src/_config.scss b/src/_config.scss
index 3cffbfd..950ff3b 100644
--- a/src/_config.scss
+++ b/src/_config.scss
@@ -23,7 +23,7 @@ media.$unit-intervals: (
23 23
24res.$named-viewports: media.$breakpoints; 24res.$named-viewports: media.$breakpoints;
25 25
26$palette-precision: 5 !default; 26$palette-precision: 0.01 !default;
27 27
28$static-colors: ( 28$static-colors: (
29 --base: hsl(0, 0%, 97%), 29 --base: hsl(0, 0%, 97%),
@@ -56,29 +56,29 @@ $static-colors: (
56$theme-light: ( 56$theme-light: (
57 --contrasts: ( 57 --contrasts: (
58 --grays: ( 58 --grays: (
59 --50: 1.1, 59 --50: -10,
60 --75: 1.04, 60 --75: -5,
61 --100: 1, 61 --100: 0,
62 62
63 --200: -1.15, 63 --200: 13.2375,
64 --300: -1.35, 64 --300: 26.475,
65 --400: -1.7, 65 --400: 39.7125,
66 66
67 --500: -2.4, 67 --500: 52.95,
68 --600: -3.3, 68 --600: 66.1875,
69 --700: -6, 69 --700: 79.425,
70 --800: -13, 70 --800: 92.6625,
71 --900: -20, 71 --900: 105.9,
72 ), 72 ),
73 73
74 --colors: ( 74 --colors: (
75 --100: -1.08, 75 --100: -1.18,
76 --200: -1.20, 76 --200: -1.30,
77 --300: -1.33, 77 --300: -1.43,
78 --400: -1.58, 78 --400: -1.68,
79 --500: -1.92, 79 --500: -2.00,
80 --600: -2.39, 80 --600: -2.45,
81 --700: -3.01, 81 --700: -3.04,
82 --800: -3.87, 82 --800: -3.87,
83 --900: -5.07, 83 --900: -5.07,
84 --1000: -6.72, 84 --1000: -6.72,
@@ -90,7 +90,7 @@ $theme-light: (
90 90
91 --ranges: ( 91 --ranges: (
92 --full: 1, 92 --full: 1,
93 --muted: 0.8, 93 --muted: .2,
94 ), 94 ),
95 95
96 --palettes: ( 96 --palettes: (
@@ -104,15 +104,17 @@ $theme-light: (
104 104
105 --semantic: ( 105 --semantic: (
106 --accent: --blue, 106 --accent: --blue,
107 --positive: --green,
108 --negative: --red,
109 --warning: --yellow,
110
111 --accent-static: --blue-static, 107 --accent-static: --blue-static,
108 --positive: --green,
112 --positive-static: --green-static, 109 --positive-static: --green-static,
110 --negative: --red,
113 --negative-static: --red-static, 111 --negative-static: --red-static,
112 --warning: --yellow,
114 --warning-static: --yellow-static, 113 --warning-static: --yellow-static,
115 114
115 --focus: --yellow,
116 --focus-static: --yellow-static,
117
116 --bg-l2: --base --50, 118 --bg-l2: --base --50,
117 --bg-l1: --base --100, 119 --bg-l1: --base --100,
118 --bg-base: --base --200, 120 --bg-base: --base --200,
@@ -166,7 +168,7 @@ $theme-dark: (
166 168
167 --ranges: ( 169 --ranges: (
168 --full: 1, 170 --full: 1,
169 --muted: 0.8, 171 --muted: .2,
170 ), 172 ),
171 173
172 --palettes: ( 174 --palettes: (
@@ -180,15 +182,17 @@ $theme-dark: (
180 182
181 --semantic: ( 183 --semantic: (
182 --accent: --blue, 184 --accent: --blue,
183 --positive: --green,
184 --negative: --red,
185 --warning: --yellow,
186
187 --accent-static: --blue-static, 185 --accent-static: --blue-static,
186 --positive: --green,
188 --positive-static: --green-static, 187 --positive-static: --green-static,
188 --negative: --red,
189 --negative-static: --red-static, 189 --negative-static: --red-static,
190 --warning: --yellow,
190 --warning-static: --yellow-static, 191 --warning-static: --yellow-static,
191 192
193 --focus: --yellow,
194 --focus-static: --yellow-static,
195
192 --bg-base: --base --50, 196 --bg-base: --base --50,
193 --bg-l1: --base --75, 197 --bg-l1: --base --75,
194 --bg-l2: --base --100, 198 --bg-l2: --base --100,