@castlabs/ui 7.2.0 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/castlabs-ui.common.js +1 -1
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.css +6 -6
- package/dist/castlabs-ui.umd.js +10 -10
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ClAlert/style.scss +7 -4
- package/src/components/ClBadge/style.variables.scss +8 -6
- package/src/components/ClBlockquote/style.variables.scss +2 -2
- package/src/components/ClButton/style.scss +8 -4
- package/src/components/form/ClField/style.scss +8 -1
- package/src/components/form/ClFieldCheck/style.scss +9 -8
- package/src/components/form/ClFieldFile/style.scss +2 -2
- package/src/components/form/ClFieldGroup/style.scss +1 -1
- package/src/components/form/ClFieldSelect/style.scss +4 -5
- package/src/components/form/ClForm/style.scss +3 -3
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +7 -9
- package/src/components/navigation/ClNavTop/style.scss +1 -1
- package/src/components/section/ClSectionForm/style.scss +1 -2
- package/src/components/text/ClLinkExternal/style.scss +1 -1
- package/src/styles/abstracts/app.scss +2 -1
- package/src/styles/abstracts/color.scss +156 -73
- package/src/styles/abstracts/fontawesome.scss +1 -1
- package/src/styles/abstracts/form.scss +15 -4
- package/src/styles/assets/logo.scss +4 -3
- package/src/styles/fonts/DMMono/DM_Mono_300.woff2 +0 -0
- package/src/styles/fonts/DMMono/DM_Mono_300italic.woff2 +0 -0
- package/src/styles/fonts/DMMono/DM_Mono_400.woff2 +0 -0
- package/src/styles/fonts/DMMono/DM_Mono_400italic.woff2 +0 -0
- package/src/styles/fonts/DMMono/DM_Mono_500.woff2 +0 -0
- package/src/styles/fonts/DMMono/DM_Mono_500italic.woff2 +0 -0
- package/src/styles/fonts/DMMono/index.scss +41 -0
- package/src/styles/fonts/FontAwesome5/fa-brands-400.woff2 +0 -0
- package/src/styles/fonts/FontAwesome5/fa-regular-400.woff2 +0 -0
- package/src/styles/fonts/FontAwesome5/fa-solid-900.woff2 +0 -0
- package/src/{fonts/FontAwesome5/FontAwesome5.scss → styles/fonts/FontAwesome5/index.scss} +5 -7
- package/src/styles/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2 +0 -0
- package/src/styles/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2 +0 -0
- package/src/styles/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2 +0 -0
- package/src/{fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss → styles/fonts/NonNaturalGroteskInktrap/index.scss} +5 -4
- package/src/styles/layout/color.scss +23 -1
- package/src/styles/layout/helper.scss +13 -0
- package/src/styles/layout/section.scss +5 -2
- package/src/styles/layout/typography.scss +8 -5
- package/src/styles/ui.scss +15 -19
- package/src/styles/vendors/bootstrap.scss +1 -0
- package/src/assets/bs/checked.svg +0 -1
- package/src/assets/bs/select-disabled.svg +0 -1
- package/src/assets/bs/select.svg +0 -1
- package/src/assets/castlabs-logo-eggshell.svg +0 -33
- package/src/assets/castlabs-logo.svg +0 -33
- package/src/fonts/DMMono/DMMono.scss +0 -46
- package/src/styles/assets/fontawesome.scss +0 -4
- /package/{src/fonts → dist/assets}/DMMono/DM_Mono_300.woff2 +0 -0
- /package/{src/fonts → dist/assets}/DMMono/DM_Mono_300italic.woff2 +0 -0
- /package/{src/fonts → dist/assets}/DMMono/DM_Mono_400.woff2 +0 -0
- /package/{src/fonts → dist/assets}/DMMono/DM_Mono_400italic.woff2 +0 -0
- /package/{src/fonts → dist/assets}/DMMono/DM_Mono_500.woff2 +0 -0
- /package/{src/fonts → dist/assets}/DMMono/DM_Mono_500italic.woff2 +0 -0
- /package/{src/fonts → dist/assets}/FontAwesome5/fa-brands-400.woff2 +0 -0
- /package/{src/fonts → dist/assets}/FontAwesome5/fa-regular-400.woff2 +0 -0
- /package/{src/fonts → dist/assets}/FontAwesome5/fa-solid-900.woff2 +0 -0
- /package/{src/fonts → dist/assets}/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2 +0 -0
- /package/{src/fonts → dist/assets}/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2 +0 -0
- /package/{src/fonts → dist/assets}/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2 +0 -0
- /package/dist/assets/{bs/checked.svg → checked.svg} +0 -0
- /package/dist/assets/{bs/select-disabled.svg → select-disabled.svg} +0 -0
- /package/dist/assets/{bs/select.svg → select.svg} +0 -0
|
@@ -24,42 +24,51 @@ $color-ci-white: $color-ci-eggshell;
|
|
|
24
24
|
$color-ci-sand: #fdf5cf;
|
|
25
25
|
$color-ci-backdrop: rgba($color-ci-night, 0.5);
|
|
26
26
|
|
|
27
|
+
// secondary palette
|
|
28
|
+
$color-ci-brick: #ba4f4f; // #A34040;
|
|
29
|
+
$color-ci-honey: #dc9404;
|
|
30
|
+
$color-ci-leaf: #53965d; // #43894E;
|
|
31
|
+
$color-ci-sea: #5d9dd1; // #5D9FC0; // #3F81A2; 5d9dd1
|
|
32
|
+
$color-ci-orchid: #b271bf;
|
|
33
|
+
$color-ci-steel: #a0a0a0;
|
|
34
|
+
$color-ci-haze: #eeece6;
|
|
35
|
+
|
|
36
|
+
$color-primary: $color-ci-sea;
|
|
37
|
+
$color-secondary: $color-ci-night;
|
|
38
|
+
|
|
27
39
|
// legacy color mappings
|
|
28
|
-
$color-primary: $color-ci-red;
|
|
29
|
-
$color-secondary: $color-ci-
|
|
30
|
-
$color-ci-blue: $color-ci-
|
|
31
|
-
$color-ci-dusk: $color-ci-night;
|
|
32
|
-
$color-ci-dim: $color-ci-ash;
|
|
33
|
-
$color-ci-cloud: $color-ci-ash;
|
|
34
|
-
$color-ci-silver: $color-ci-clay;
|
|
35
|
-
$color-ci-smoke: $color-ci-clay;
|
|
36
|
-
$color-ci-haze: $color-ci-eggshell;
|
|
37
|
-
$color-dark: $color-ci-ash;
|
|
40
|
+
// $color-primary: $color-ci-red;
|
|
41
|
+
// $color-secondary: $color-ci-night;
|
|
42
|
+
// $color-ci-blue: $color-ci-sea;
|
|
43
|
+
// $color-ci-dusk: $color-ci-night;
|
|
44
|
+
// $color-ci-dim: $color-ci-ash;
|
|
45
|
+
// $color-ci-cloud: $color-ci-ash;
|
|
46
|
+
// $color-ci-silver: $color-ci-clay;
|
|
47
|
+
// $color-ci-smoke: $color-ci-clay;
|
|
48
|
+
// $color-ci-haze: $color-ci-eggshell;
|
|
49
|
+
// $color-dark: $color-ci-ash;
|
|
38
50
|
|
|
39
51
|
// additional non-official colors
|
|
40
|
-
$color-ci-green: #338450;
|
|
41
|
-
$color-ci-orange: #eca72c; // fec671; //f18f01;
|
|
52
|
+
// $color-ci-green: #338450;
|
|
53
|
+
// $color-ci-orange: #eca72c; // fec671; //f18f01;
|
|
42
54
|
|
|
43
55
|
$color-hover-opacity: 0.75;
|
|
44
56
|
|
|
45
|
-
$color-positive: $color-ci-
|
|
46
|
-
$color-negative: $color-ci-
|
|
57
|
+
$color-positive: $color-ci-leaf;
|
|
58
|
+
$color-negative: $color-ci-brick;
|
|
47
59
|
$color-neutral: $color-ci-night;
|
|
48
60
|
|
|
49
|
-
$color-
|
|
50
|
-
$color-
|
|
61
|
+
$color-error: $color-ci-brick; // error color
|
|
62
|
+
$color-focus: $color-ci-sea;
|
|
63
|
+
$color-disabled: $color-ci-steel; // $color-ci-clay;
|
|
51
64
|
|
|
52
65
|
$color-text: $color-ci-night;
|
|
53
66
|
$color-selected: $color-ci-red;
|
|
54
67
|
$color-accent: $color-ci-petrol;
|
|
55
|
-
$color-focus: $color-ci-petrol;
|
|
56
68
|
$color-background: $color-ci-white;
|
|
57
69
|
$color-code-background: rgb(16 0 0 / 5%); // transparent to work on different colors
|
|
58
70
|
|
|
59
71
|
$color-line: $color-ci-clay;
|
|
60
|
-
$color-line-focus: $color-ci-clay;
|
|
61
|
-
|
|
62
|
-
$bar-ui-width: px(4);
|
|
63
72
|
|
|
64
73
|
@mixin cl-color-focus-outline-raw($color: var(--cl-color-focus), $offset: -3px) {
|
|
65
74
|
box-shadow: none; // disable BS outlines
|
|
@@ -132,6 +141,32 @@ $bar-ui-width: px(4);
|
|
|
132
141
|
}
|
|
133
142
|
}
|
|
134
143
|
|
|
144
|
+
@mixin cl-colors-secondary {
|
|
145
|
+
&.cl-color-brick {
|
|
146
|
+
@extend %cl-color-brick;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.cl-color-leaf {
|
|
150
|
+
@extend %cl-color-leaf;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&.cl-color-sea {
|
|
154
|
+
@extend %cl-color-sea;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&.cl-color-honey {
|
|
158
|
+
@extend %cl-color-honey;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.cl-color-orchid {
|
|
162
|
+
@extend %cl-color-orchid;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.cl-color-steel {
|
|
166
|
+
@extend %cl-color-steel;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
135
170
|
%cl-color-root {
|
|
136
171
|
// default colors = outline-night
|
|
137
172
|
#{'--cl-color-background'}: $color-ci-eggshell;
|
|
@@ -140,10 +175,13 @@ $bar-ui-width: px(4);
|
|
|
140
175
|
#{'--cl-color-line'}: $color-ci-clay;
|
|
141
176
|
#{'--cl-color-accent'}: $color-accent;
|
|
142
177
|
#{'--cl-color-highlight'}: rgba(#fff, 0.85);
|
|
143
|
-
#{'--cl-color-link'}: $color-ci-berry;
|
|
178
|
+
#{'--cl-color-link'}: inherit; // $color-ci-berry;
|
|
144
179
|
#{'--cl-color-active'}: $color-ci-berry;
|
|
145
180
|
#{'--cl-color-hover'}: $color-ci-red;
|
|
146
181
|
#{'--cl-color-focus'}: $color-ci-night;
|
|
182
|
+
#{'--cl-color-disabled-background'}: $color-disabled;
|
|
183
|
+
#{'--cl-color-disabled-border'}: $color-disabled;
|
|
184
|
+
#{'--cl-color-disabled-text'}: $color-ci-eggshell;
|
|
147
185
|
}
|
|
148
186
|
|
|
149
187
|
%cl-color-night-outline {
|
|
@@ -154,51 +192,65 @@ $bar-ui-width: px(4);
|
|
|
154
192
|
#{'--cl-color-line'}: $color-ci-clay;
|
|
155
193
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
156
194
|
#{'--cl-color-highlight'}: rgba(#fff, 0.85);
|
|
157
|
-
#{'--cl-color-link'}: $color-ci-berry;
|
|
195
|
+
#{'--cl-color-link'}: inherit; // $color-ci-berry;
|
|
158
196
|
#{'--cl-color-focus'}: $color-ci-night;
|
|
197
|
+
#{'--cl-color-disabled-background'}: transparent;
|
|
198
|
+
#{'--cl-color-disabled-border'}: $color-disabled;
|
|
199
|
+
#{'--cl-color-disabled-text'}: $color-disabled;
|
|
159
200
|
}
|
|
160
201
|
|
|
161
|
-
%cl-color-
|
|
162
|
-
|
|
163
|
-
#{'--cl-color-border'}: $color-ci-red;
|
|
202
|
+
%cl-color-text-light {
|
|
203
|
+
// for backgrounds that require 'white' text
|
|
164
204
|
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
165
205
|
#{'--cl-color-line'}: $color-ci-eggshell;
|
|
166
206
|
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
167
207
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
168
|
-
#{'--cl-color-link'}:
|
|
208
|
+
#{'--cl-color-link'}: inherit;
|
|
169
209
|
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
170
210
|
}
|
|
171
211
|
|
|
212
|
+
%cl-color-text-dark {
|
|
213
|
+
// for backgrounds that require 'black' text
|
|
214
|
+
#{'--cl-color-text'}: $color-ci-night;
|
|
215
|
+
#{'--cl-color-line'}: $color-ci-night;
|
|
216
|
+
#{'--cl-color-accent'}: $color-ci-night;
|
|
217
|
+
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
218
|
+
#{'--cl-color-link'}: inherit;
|
|
219
|
+
#{'--cl-color-focus'}: $color-ci-night;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
%cl-color-red {
|
|
223
|
+
@extend %cl-color-text-light;
|
|
224
|
+
|
|
225
|
+
#{'--cl-color-background'}: $color-ci-red;
|
|
226
|
+
#{'--cl-color-border'}: $color-ci-red;
|
|
227
|
+
}
|
|
228
|
+
|
|
172
229
|
%cl-color-red-outline {
|
|
173
230
|
#{'--cl-color-border'}: $color-ci-red;
|
|
174
231
|
#{'--cl-color-text'}: $color-ci-red;
|
|
175
232
|
#{'--cl-color-line'}: $color-ci-clay;
|
|
176
233
|
#{'--cl-color-accent'}: $color-ci-red;
|
|
177
234
|
#{'--cl-color-highlight'}: rgba(#fff, 0.85);
|
|
178
|
-
#{'--cl-color-link'}: $color-ci-berry;
|
|
235
|
+
#{'--cl-color-link'}: inherit; // $color-ci-berry;
|
|
179
236
|
#{'--cl-color-focus'}: $color-ci-red;
|
|
237
|
+
#{'--cl-color-disabled-background'}: transparent;
|
|
238
|
+
#{'--cl-color-disabled-border'}: $color-disabled;
|
|
239
|
+
#{'--cl-color-disabled-text'}: $color-disabled;
|
|
180
240
|
}
|
|
181
241
|
|
|
182
242
|
%cl-color-sky {
|
|
243
|
+
@extend %cl-color-text-dark;
|
|
244
|
+
|
|
183
245
|
#{'--cl-color-background'}: $color-ci-sky;
|
|
184
246
|
#{'--cl-color-border'}: $color-ci-sky;
|
|
185
|
-
#{'--cl-color-text'}: $color-ci-night;
|
|
186
|
-
#{'--cl-color-line'}: $color-ci-night;
|
|
187
|
-
#{'--cl-color-accent'}: $color-ci-night;
|
|
188
|
-
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
189
|
-
#{'--cl-color-link'}: $color-ci-night;
|
|
190
|
-
#{'--cl-color-focus'}: $color-ci-night;
|
|
191
247
|
}
|
|
192
248
|
|
|
193
249
|
%cl-color-night {
|
|
250
|
+
@extend %cl-color-text-light;
|
|
251
|
+
|
|
194
252
|
#{'--cl-color-background'}: $color-ci-night;
|
|
195
253
|
#{'--cl-color-border'}: $color-ci-night;
|
|
196
|
-
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
197
|
-
#{'--cl-color-line'}: $color-ci-eggshell;
|
|
198
|
-
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
199
|
-
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
200
|
-
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
201
|
-
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
202
254
|
}
|
|
203
255
|
|
|
204
256
|
%cl-color-eggshell {
|
|
@@ -208,63 +260,96 @@ $bar-ui-width: px(4);
|
|
|
208
260
|
#{'--cl-color-line'}: $color-ci-clay;
|
|
209
261
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
210
262
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
211
|
-
#{'--cl-color-link'}: $color-ci-berry;
|
|
263
|
+
#{'--cl-color-link'}: inherit; // $color-ci-berry;
|
|
212
264
|
#{'--cl-color-focus'}: $color-ci-night;
|
|
213
265
|
}
|
|
214
266
|
|
|
215
|
-
%cl-color-
|
|
216
|
-
#{'--cl-color-background'}: $color-ci-
|
|
217
|
-
#{'--cl-color-border'}: $color-ci-
|
|
267
|
+
%cl-color-eggshell-alternate {
|
|
268
|
+
#{'--cl-color-background'}: $color-ci-haze;
|
|
269
|
+
#{'--cl-color-border'}: $color-ci-haze;
|
|
218
270
|
#{'--cl-color-text'}: $color-ci-night;
|
|
219
|
-
#{'--cl-color-line'}: $color-ci-
|
|
271
|
+
#{'--cl-color-line'}: $color-ci-clay;
|
|
220
272
|
#{'--cl-color-accent'}: $color-ci-night;
|
|
221
273
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
222
|
-
#{'--cl-color-link'}: $color-ci-
|
|
274
|
+
#{'--cl-color-link'}: inherit; // $color-ci-berry;
|
|
223
275
|
#{'--cl-color-focus'}: $color-ci-night;
|
|
224
276
|
}
|
|
225
277
|
|
|
278
|
+
%cl-color-clay {
|
|
279
|
+
@extend %cl-color-text-dark;
|
|
280
|
+
|
|
281
|
+
#{'--cl-color-background'}: $color-ci-clay;
|
|
282
|
+
#{'--cl-color-border'}: $color-ci-clay;
|
|
283
|
+
}
|
|
284
|
+
|
|
226
285
|
%cl-color-ash {
|
|
286
|
+
@extend %cl-color-text-light;
|
|
287
|
+
|
|
227
288
|
#{'--cl-color-background'}: $color-ci-ash;
|
|
228
289
|
#{'--cl-color-border'}: $color-ci-ash;
|
|
229
|
-
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
230
|
-
#{'--cl-color-line'}: $color-ci-eggshell;
|
|
231
|
-
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
232
|
-
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
233
|
-
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
234
|
-
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
235
290
|
}
|
|
236
291
|
|
|
237
292
|
%cl-color-petrol {
|
|
293
|
+
@extend %cl-color-text-light;
|
|
294
|
+
|
|
238
295
|
#{'--cl-color-background'}: $color-ci-petrol;
|
|
239
296
|
#{'--cl-color-border'}: $color-ci-petrol;
|
|
240
|
-
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
241
|
-
#{'--cl-color-line'}: $color-ci-eggshell;
|
|
242
|
-
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
243
|
-
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
244
|
-
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
245
|
-
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
246
297
|
}
|
|
247
298
|
|
|
248
299
|
%cl-color-berry {
|
|
300
|
+
@extend %cl-color-text-light;
|
|
301
|
+
|
|
249
302
|
#{'--cl-color-background'}: $color-ci-berry;
|
|
250
303
|
#{'--cl-color-border'}: $color-ci-berry;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
#{'--cl-color-
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
%cl-color-brick {
|
|
307
|
+
@extend %cl-color-text-light;
|
|
308
|
+
|
|
309
|
+
#{'--cl-color-background'}: $color-ci-brick;
|
|
310
|
+
#{'--cl-color-border'}: $color-ci-brick;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
%cl-color-honey {
|
|
314
|
+
@extend %cl-color-text-light;
|
|
315
|
+
|
|
316
|
+
#{'--cl-color-background'}: $color-ci-honey;
|
|
317
|
+
#{'--cl-color-border'}: $color-ci-honey;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
%cl-color-leaf {
|
|
321
|
+
@extend %cl-color-text-light;
|
|
322
|
+
|
|
323
|
+
#{'--cl-color-background'}: $color-ci-leaf;
|
|
324
|
+
#{'--cl-color-border'}: $color-ci-leaf;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
%cl-color-sea {
|
|
328
|
+
@extend %cl-color-text-light;
|
|
329
|
+
|
|
330
|
+
#{'--cl-color-background'}: $color-ci-sea;
|
|
331
|
+
#{'--cl-color-border'}: $color-ci-sea;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
%cl-color-orchid {
|
|
335
|
+
@extend %cl-color-text-light;
|
|
336
|
+
|
|
337
|
+
#{'--cl-color-background'}: $color-ci-orchid;
|
|
338
|
+
#{'--cl-color-border'}: $color-ci-orchid;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
%cl-color-steel {
|
|
342
|
+
@extend %cl-color-text-light;
|
|
343
|
+
|
|
344
|
+
#{'--cl-color-background'}: $color-ci-steel;
|
|
345
|
+
#{'--cl-color-border'}: $color-ci-steel;
|
|
257
346
|
}
|
|
258
347
|
|
|
259
348
|
%cl-color-transparent {
|
|
349
|
+
@extend %cl-color-text-light;
|
|
350
|
+
|
|
260
351
|
#{'--cl-color-background'}: transparent;
|
|
261
352
|
#{'--cl-color-border'}: $color-ci-eggshell;
|
|
262
|
-
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
263
|
-
#{'--cl-color-line'}: $color-ci-eggshell;
|
|
264
|
-
#{'--cl-color-accent'}: $color-ci-eggshell;
|
|
265
|
-
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
266
|
-
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
267
|
-
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
268
353
|
}
|
|
269
354
|
|
|
270
355
|
%cl-color-disabled {
|
|
@@ -274,7 +359,7 @@ $bar-ui-width: px(4);
|
|
|
274
359
|
#{'--cl-color-line'}: $color-disabled;
|
|
275
360
|
#{'--cl-color-accent'}: $color-disabled;
|
|
276
361
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
277
|
-
#{'--cl-color-link'}: $color-disabled;
|
|
362
|
+
#{'--cl-color-link'}: inherit; // $color-disabled;
|
|
278
363
|
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
279
364
|
}
|
|
280
365
|
|
|
@@ -285,7 +370,7 @@ $bar-ui-width: px(4);
|
|
|
285
370
|
#{'--cl-color-line'}: $color-ci-ash;
|
|
286
371
|
#{'--cl-color-accent'}: $color-ci-ash;
|
|
287
372
|
#{'--cl-color-highlight'}: rgba(#fff, 0.1);
|
|
288
|
-
#{'--cl-color-link'}: $color-ci-ash;
|
|
373
|
+
#{'--cl-color-link'}: inherit; // $color-ci-ash;
|
|
289
374
|
#{'--cl-color-focus'}: $color-ci-ash;
|
|
290
375
|
}
|
|
291
376
|
|
|
@@ -296,5 +381,3 @@ $bar-ui-width: px(4);
|
|
|
296
381
|
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
297
382
|
#{'--cl-color-focus'}: $color-ci-eggshell;
|
|
298
383
|
}
|
|
299
|
-
|
|
300
|
-
// ----------------------------------------------
|
|
@@ -29,7 +29,8 @@ $form-spacing-label-input: px(2);
|
|
|
29
29
|
|
|
30
30
|
&:disabled,
|
|
31
31
|
&.disabled {
|
|
32
|
-
background-color: $color-ci-
|
|
32
|
+
background-color: $color-ci-haze;
|
|
33
|
+
border-color: $color-disabled;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
|
|
@@ -54,11 +55,21 @@ $form-spacing-label-input: px(2);
|
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
@mixin cl-form-focus-embed {
|
|
57
|
-
border-color: $color-
|
|
58
|
+
border-color: $color-focus !important;
|
|
58
59
|
box-shadow: none;
|
|
59
|
-
|
|
60
|
-
color: var(--cl-color-text);
|
|
60
|
+
color: var(--cl-color-text) !important;
|
|
61
61
|
outline: none;
|
|
62
|
+
|
|
63
|
+
&::selection {
|
|
64
|
+
background: $color-focus;
|
|
65
|
+
color: $color-ci-eggshell;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// border-color: $color-ci-berry !important;
|
|
69
|
+
// box-shadow: none;
|
|
70
|
+
// box-shadow: 0 0 0 1px $color-ci-berry inset;
|
|
71
|
+
// color: var(--cl-color-text);
|
|
72
|
+
// outline: none;
|
|
62
73
|
}
|
|
63
74
|
|
|
64
75
|
@mixin cl-form-focus {
|
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
@use '../global' as *;
|
|
7
7
|
|
|
8
|
-
$cl-
|
|
8
|
+
$cl-url-prefix: '' !default;
|
|
9
|
+
$cl-url-postfix: '' !default;
|
|
9
10
|
|
|
10
11
|
.cl-asset-logo,
|
|
11
12
|
.cl-asset-logo-night {
|
|
12
|
-
background-image: url('#{$cl-
|
|
13
|
+
background-image: url('#{$cl-url-prefix}castlabs-logo.svg#{$cl-url-postfix}');
|
|
13
14
|
background-position: center;
|
|
14
15
|
background-repeat: no-repeat;
|
|
15
16
|
background-size: contain;
|
|
@@ -22,7 +23,7 @@ $cl-folder-prefix: '@' !default;
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
.cl-asset-logo-eggshell {
|
|
25
|
-
background-image: url('#{$cl-
|
|
26
|
+
background-image: url('#{$cl-url-prefix}castlabs-logo-eggshell.svg#{$cl-url-postfix}');
|
|
26
27
|
background-position: center;
|
|
27
28
|
background-repeat: no-repeat;
|
|
28
29
|
background-size: contain;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
$cl-url-prefix: '' !default;
|
|
2
|
+
$cl-url-postfix: '' !default;
|
|
3
|
+
|
|
4
|
+
@mixin DMMono {
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: 'DM Mono';
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 300;
|
|
9
|
+
src: url('#{$cl-url-prefix}DM_Mono_300.woff2#{$cl-url-postfix}') format('woff2');
|
|
10
|
+
}
|
|
11
|
+
@font-face {
|
|
12
|
+
font-family: 'DM Mono';
|
|
13
|
+
font-style: italic;
|
|
14
|
+
font-weight: 300;
|
|
15
|
+
src: url('#{$cl-url-prefix}DM_Mono_300italic.woff2#{$cl-url-postfix}') format('woff2');
|
|
16
|
+
}
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'DM Mono';
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
src: url('#{$cl-url-prefix}DM_Mono_400.woff2#{$cl-url-postfix}') format('woff2');
|
|
22
|
+
}
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'DM Mono';
|
|
25
|
+
font-style: italic;
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
src: url('#{$cl-url-prefix}DM_Mono_400italic.woff2#{$cl-url-postfix}') format('woff2');
|
|
28
|
+
}
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'DM Mono';
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
src: url('#{$cl-url-prefix}DM_Mono_500.woff2#{$cl-url-postfix}') format('woff2');
|
|
34
|
+
}
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: 'DM Mono';
|
|
37
|
+
font-style: italic;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
src: url('#{$cl-url-prefix}DM_Mono_500italic.woff2#{$cl-url-postfix}') format('woff2');
|
|
40
|
+
}
|
|
41
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
$cl-
|
|
1
|
+
$cl-url-prefix: '' !default;
|
|
2
|
+
$cl-url-postfix: '' !default;
|
|
2
3
|
|
|
3
4
|
/*!
|
|
4
5
|
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
|
@@ -6087,8 +6088,7 @@ readers do not read off random characters that represent icons */
|
|
|
6087
6088
|
font-family: 'Font Awesome 5 Brands';
|
|
6088
6089
|
font-style: normal;
|
|
6089
6090
|
font-weight: 400;
|
|
6090
|
-
src: url('#{$cl-
|
|
6091
|
-
format('woff2');
|
|
6091
|
+
src: url('#{$cl-url-prefix}fa-brands-400.woff2#{$cl-url-postfix}') format('woff2');
|
|
6092
6092
|
}
|
|
6093
6093
|
|
|
6094
6094
|
.fab {
|
|
@@ -6101,8 +6101,7 @@ readers do not read off random characters that represent icons */
|
|
|
6101
6101
|
font-family: 'Font Awesome 5 Free';
|
|
6102
6102
|
font-style: normal;
|
|
6103
6103
|
font-weight: 400;
|
|
6104
|
-
src: url('#{$cl-
|
|
6105
|
-
format('woff2');
|
|
6104
|
+
src: url('#{$cl-url-prefix}fa-regular-400.woff2#{$cl-url-postfix}') format('woff2');
|
|
6106
6105
|
}
|
|
6107
6106
|
|
|
6108
6107
|
.far {
|
|
@@ -6115,8 +6114,7 @@ readers do not read off random characters that represent icons */
|
|
|
6115
6114
|
font-family: 'Font Awesome 5 Free';
|
|
6116
6115
|
font-style: normal;
|
|
6117
6116
|
font-weight: 900;
|
|
6118
|
-
src: url('#{$cl-
|
|
6119
|
-
format('woff2');
|
|
6117
|
+
src: url('#{$cl-url-prefix}fa-solid-900.woff2#{$cl-url-postfix}') format('woff2');
|
|
6120
6118
|
}
|
|
6121
6119
|
|
|
6122
6120
|
.fa,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// stylelint-disable at-rule-descriptor-value-no-unknown
|
|
2
2
|
|
|
3
|
-
$cl-
|
|
3
|
+
$cl-url-prefix: '' !default;
|
|
4
|
+
$cl-url-postfix: '' !default;
|
|
4
5
|
|
|
5
6
|
$non-natural-ascent-override: 100%;
|
|
6
7
|
$non-natural-descent-override: 40%;
|
|
@@ -12,7 +13,7 @@ $non-natural-descent-override: 40%;
|
|
|
12
13
|
font-family: NonNaturalGroteskInktrap;
|
|
13
14
|
font-style: normal;
|
|
14
15
|
font-weight: 400;
|
|
15
|
-
src: url('#{$cl-
|
|
16
|
+
src: url('#{$cl-url-prefix}NonNaturalGroteskInktrap-Regular.woff2#{$cl-url-postfix}')
|
|
16
17
|
format('woff2');
|
|
17
18
|
}
|
|
18
19
|
@font-face {
|
|
@@ -21,7 +22,7 @@ $non-natural-descent-override: 40%;
|
|
|
21
22
|
font-family: NonNaturalGroteskInktrap;
|
|
22
23
|
font-style: normal;
|
|
23
24
|
font-weight: 500;
|
|
24
|
-
src: url('#{$cl-
|
|
25
|
+
src: url('#{$cl-url-prefix}NonNaturalGroteskInktrap-Medium.woff2#{$cl-url-postfix}')
|
|
25
26
|
format('woff2');
|
|
26
27
|
}
|
|
27
28
|
@font-face {
|
|
@@ -30,7 +31,7 @@ $non-natural-descent-override: 40%;
|
|
|
30
31
|
font-family: NonNaturalGroteskInktrap;
|
|
31
32
|
font-style: normal;
|
|
32
33
|
font-weight: 700;
|
|
33
|
-
src: url('#{$cl-
|
|
34
|
+
src: url('#{$cl-url-prefix}NonNaturalGroteskInktrap-Bold.woff2#{$cl-url-postfix}')
|
|
34
35
|
format('woff2');
|
|
35
36
|
}
|
|
36
37
|
}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
@extend %cl-color-night-outline;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.cl-color-primary,
|
|
23
22
|
.cl-color-red {
|
|
24
23
|
@extend %cl-color-red;
|
|
25
24
|
}
|
|
@@ -32,6 +31,10 @@
|
|
|
32
31
|
@extend %cl-color-sky;
|
|
33
32
|
}
|
|
34
33
|
|
|
34
|
+
.cl-color-primary {
|
|
35
|
+
@extend %cl-color-sea;
|
|
36
|
+
}
|
|
37
|
+
|
|
35
38
|
.cl-color-secondary,
|
|
36
39
|
.cl-color-black,
|
|
37
40
|
.cl-color-text, // legacy name
|
|
@@ -117,3 +120,22 @@
|
|
|
117
120
|
.cl-color-text-none {
|
|
118
121
|
#{'--cl-color-text'}: transparent;
|
|
119
122
|
}
|
|
123
|
+
|
|
124
|
+
.cl-color-text-brick {
|
|
125
|
+
#{'--cl-color-text'}: $color-ci-brick;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.cl-color-text-sea {
|
|
129
|
+
#{'--cl-color-text'}: $color-ci-sea;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.cl-color-text-steel {
|
|
133
|
+
#{'--cl-color-text'}: $color-ci-steel;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// --- admin/secondary colors -------------------------------------------
|
|
137
|
+
|
|
138
|
+
//
|
|
139
|
+
// .cl-color-haze {
|
|
140
|
+
// @extend %cl-color-haze;
|
|
141
|
+
// }
|
|
@@ -16,6 +16,19 @@
|
|
|
16
16
|
border-radius: $brand-border-radius;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.cl-hidden {
|
|
20
|
+
visibility: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.cl-cursor-pointer,
|
|
24
|
+
.cl-cursor-link {
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cl-cursor-not-allowed {
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
}
|
|
31
|
+
|
|
19
32
|
.cl-faded {
|
|
20
33
|
opacity: 0.5;
|
|
21
34
|
}
|
|
@@ -71,9 +71,12 @@
|
|
|
71
71
|
.cl-section-light,
|
|
72
72
|
.cl-section-alternate {
|
|
73
73
|
@extend %section-padding;
|
|
74
|
+
@extend %cl-color-eggshell-alternate;
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
76
|
+
background-color: var(--cl-color-background);
|
|
77
|
+
color: var(--cl-color-text);
|
|
78
|
+
// border-bottom: $brand-line-width solid $color-ci-clay;
|
|
79
|
+
// border-top: $brand-line-width solid $color-ci-clay;
|
|
77
80
|
}
|
|
78
81
|
|
|
79
82
|
main {
|
|
@@ -5,16 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
// This file defines our basic typography rules.
|
|
7
7
|
|
|
8
|
-
$cl-
|
|
8
|
+
$cl-url-prefix: '' !default;
|
|
9
|
+
$cl-url-postfix: '' !default;
|
|
9
10
|
|
|
10
11
|
@use '../global' as *;
|
|
11
12
|
|
|
12
13
|
// conditionally import fonts so themes can omit them
|
|
13
|
-
@use '
|
|
14
|
-
$cl-
|
|
14
|
+
@use '../fonts/DMMono' with (
|
|
15
|
+
$cl-url-prefix: '#{$cl-url-prefix}DMMono/',
|
|
16
|
+
$cl-url-postfix: $cl-url-postfix
|
|
15
17
|
);
|
|
16
|
-
@use '
|
|
17
|
-
$cl-
|
|
18
|
+
@use '../fonts/NonNaturalGroteskInktrap' with (
|
|
19
|
+
$cl-url-prefix: '#{$cl-url-prefix}NonNaturalGroteskInktrap/',
|
|
20
|
+
$cl-url-postfix: $cl-url-postfix
|
|
18
21
|
);
|
|
19
22
|
$castlabs-ui-fonts: true !default;
|
|
20
23
|
@if $castlabs-ui-fonts {
|