@castlabs/ui 7.0.2 → 7.0.4
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/assets/bs/checked.svg +1 -0
- package/dist/assets/bs/select-disabled.svg +1 -0
- package/dist/assets/bs/select.svg +1 -0
- package/dist/castlabs-logo-eggshell.23c10525.svg +33 -0
- package/dist/castlabs-logo.72b8026b.svg +33 -0
- package/dist/castlabs-ui.common.js +1 -1
- package/dist/castlabs-ui.css +3 -3
- package/dist/castlabs-ui.umd.js +8 -8
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/checked.f00b2c85.svg +1 -0
- package/dist/fonts/DM_Mono_300.46aa9818.woff2 +0 -0
- package/dist/fonts/DM_Mono_300italic.d4b24176.woff2 +0 -0
- package/dist/fonts/DM_Mono_400.b9b6ac6a.woff2 +0 -0
- package/dist/fonts/DM_Mono_400italic.edc76b76.woff2 +0 -0
- package/dist/fonts/DM_Mono_500.3f958442.woff2 +0 -0
- package/dist/fonts/DM_Mono_500italic.3c62d36e.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Bold.229d19af.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Medium.ae23d3bb.woff2 +0 -0
- package/dist/fonts/NonNaturalGroteskInktrap-Regular.1db788b6.woff2 +0 -0
- package/dist/select-disabled.c5e07724.svg +1 -0
- package/dist/select.10c23108.svg +1 -0
- package/package.json +1 -1
- package/src/assets/bs/checked.svg +1 -0
- package/src/assets/bs/select-disabled.svg +1 -0
- package/src/assets/bs/select.svg +1 -0
- package/src/components/ClAlert/style.scss +0 -4
- package/src/components/ClButton/style.scss +3 -1
- package/src/components/ClDropdown/style.scss +1 -1
- package/src/components/ClDropzone/style.scss +1 -1
- package/src/components/ClFooter/style.scss +1 -0
- package/src/components/ClList/style.variables.scss +1 -2
- package/src/components/ClTabs/style.scss +1 -1
- package/src/components/ClTooltip/style.scss +44 -0
- package/src/components/form/ClField/style.scss +1 -2
- package/src/components/form/ClFieldCheck/style.scss +3 -4
- package/src/components/form/ClFieldFile/style.scss +3 -3
- package/src/components/form/ClFieldGroup/style.scss +60 -38
- package/src/components/form/ClFieldInput/style.scss +2 -9
- package/src/components/form/ClFieldSelect/style.scss +9 -1
- package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +12 -8
- package/src/components/table/ClTable/style.variables.scss +2 -14
- package/src/components/text/ClLinkExternal/style.scss +2 -0
- package/src/components/widget/ClBackCancelOk/style.scss +4 -0
- package/src/components/widget/ClCookieBanner/style.scss +0 -5
- package/src/fonts/DMMono/DMMono.scss +9 -6
- package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +3 -3
- package/src/styles/assets/logo.scss +2 -14
- package/src/styles/components/form.variables.scss +6 -6
- package/src/styles/layout/typography.variables.scss +2 -2
- package/src/styles/vendors/castlabs.scss +2 -2
- package/dist/assets/cookie.svg +0 -1
- package/src/assets/cookie.svg +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#fbf9f2' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#cfc8c8' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#262a35' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#fbf9f2' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#cfc8c8' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#262a35' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@include cl-button-focus-outline;
|
|
15
15
|
|
|
16
16
|
&.cl-btn-icon {
|
|
17
|
-
min-width:
|
|
17
|
+
min-width: 2em;
|
|
18
18
|
padding-left: 0;
|
|
19
19
|
padding-right: 0;
|
|
20
20
|
}
|
|
@@ -48,8 +48,10 @@
|
|
|
48
48
|
@extend %cl-a-btn;
|
|
49
49
|
|
|
50
50
|
@include typography-link($color-text, $color-ci-red, 0);
|
|
51
|
+
@include cl-color-focus-outline(var(--cl-color-focus), 2px);
|
|
51
52
|
|
|
52
53
|
border: 0;
|
|
54
|
+
border-radius: 0;
|
|
53
55
|
font-weight: 500;
|
|
54
56
|
line-height: 1;
|
|
55
57
|
margin-left: $spacing-tiny;
|
|
@@ -28,4 +28,48 @@
|
|
|
28
28
|
color: var(--cl-color-text);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
&.cl-tooltip-primary, // deprecated legacy name
|
|
33
|
+
&.cl-tooltip-red {
|
|
34
|
+
#{'--cl-color-background'}: $color-ci-red;
|
|
35
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.cl-tooltip-secondary, // deprecated legacy name
|
|
39
|
+
&.cl-tooltip-sky {
|
|
40
|
+
#{'--cl-color-background'}: $color-ci-sky;
|
|
41
|
+
#{'--cl-color-text'}: $color-ci-night;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.cl-tooltip-dark, // deprecated legacy name
|
|
45
|
+
&.cl-tooltip-night {
|
|
46
|
+
#{'--cl-color-background'}: $color-ci-night;
|
|
47
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.cl-tooltip-light, // deprecated legacy name
|
|
51
|
+
&.cl-tooltip-clay {
|
|
52
|
+
#{'--cl-color-background'}: $color-ci-clay;
|
|
53
|
+
#{'--cl-color-text'}: $color-ci-night;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.cl-tooltip-eggshell {
|
|
57
|
+
#{'--cl-color-background'}: $color-ci-eggshell;
|
|
58
|
+
#{'--cl-color-text'}: $color-ci-night;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.cl-tooltip-ash {
|
|
62
|
+
#{'--cl-color-background'}: $color-ci-ash;
|
|
63
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.cl-tooltip-berry {
|
|
67
|
+
#{'--cl-color-background'}: $color-ci-berry;
|
|
68
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.cl-tooltip-petrol {
|
|
72
|
+
#{'--cl-color-background'}: $color-ci-petrol;
|
|
73
|
+
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
74
|
+
}
|
|
31
75
|
}
|
|
@@ -17,10 +17,6 @@ $form-check-background: $color-ci-eggshell;
|
|
|
17
17
|
margin-top: $spacing-tiny + $spacing-micro;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.form-check-label {
|
|
21
|
-
padding-top: px(1);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
20
|
.form-check-input {
|
|
25
21
|
margin-left: -$spacing-medium;
|
|
26
22
|
margin-right: $spacing-micro;
|
|
@@ -29,9 +25,11 @@ $form-check-background: $color-ci-eggshell;
|
|
|
29
25
|
&[type='checkbox'] {
|
|
30
26
|
border: $form-field-border;
|
|
31
27
|
border-radius: px(4);
|
|
28
|
+
margin-top: 0.2em;
|
|
32
29
|
|
|
33
30
|
&:checked {
|
|
34
31
|
background-color: $color-selected;
|
|
32
|
+
background-image: url('#{$castlabs-ui-asset-prefix}/assets/bs/checked.svg?no-inline');
|
|
35
33
|
border: 0;
|
|
36
34
|
}
|
|
37
35
|
|
|
@@ -52,6 +50,7 @@ $form-check-background: $color-ci-eggshell;
|
|
|
52
50
|
|
|
53
51
|
&[type='radio'] {
|
|
54
52
|
border: $form-field-border;
|
|
53
|
+
margin-top: 0.2em;
|
|
55
54
|
|
|
56
55
|
&:checked {
|
|
57
56
|
background-color: $color-selected;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@extend %form-field-box;
|
|
11
11
|
@extend %form-field-typography-sans;
|
|
12
12
|
|
|
13
|
-
@include form-focus;
|
|
13
|
+
@include cl-form-focus;
|
|
14
14
|
|
|
15
15
|
&.cl-file {
|
|
16
16
|
border: 0;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
&:focus + .cl-file-companion {
|
|
25
|
-
@include form-focus-embed();
|
|
25
|
+
@include cl-form-focus-embed();
|
|
26
26
|
@include cl-color-focus-outline-raw;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
@extend %form-field-box;
|
|
63
63
|
@extend %form-field-typography-sans;
|
|
64
64
|
|
|
65
|
-
@include form-focus;
|
|
65
|
+
@include cl-form-focus;
|
|
66
66
|
|
|
67
67
|
letter-spacing: 0;
|
|
68
68
|
text-transform: none;
|
|
@@ -30,19 +30,21 @@
|
|
|
30
30
|
z-index: 1; // needed so the focused element's border is always on top
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
33
|
+
@include media-breakpoint-up(sm) {
|
|
34
|
+
&:not(.btn) + * {
|
|
35
|
+
// trick to share one ][ border between 2 inputs
|
|
36
|
+
&:not(.btn) {
|
|
37
|
+
border-left-width: 0;
|
|
38
|
+
|
|
39
|
+
&:focus,
|
|
40
|
+
&.invalid:focus {
|
|
41
|
+
box-shadow: -$brand-line-width 0 0 $color-focus !important; // sass-lint:disable-line no-important
|
|
42
|
+
}
|
|
41
43
|
}
|
|
42
|
-
}
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
&.invalid {
|
|
46
|
+
box-shadow: -$brand-line-width 0 0 $color-attention !important; // sass-lint:disable-line no-important
|
|
47
|
+
}
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
}
|
|
@@ -62,38 +64,58 @@
|
|
|
62
64
|
width: auto;
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
border-bottom-left-radius: $brand-border-radius;
|
|
68
|
-
border-top-left-radius: $brand-border-radius;
|
|
69
|
-
}
|
|
67
|
+
@include media-breakpoint-down(sm) {
|
|
68
|
+
flex-direction: column;
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.form-control + p + .form-control,
|
|
74
|
-
.form-control + p + p + .form-control {
|
|
75
|
-
border-bottom-left-radius: 0;
|
|
76
|
-
border-top-left-radius: 0;
|
|
77
|
-
}
|
|
70
|
+
> * {
|
|
71
|
+
width: 100% !important;
|
|
78
72
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
border-bottom-right-radius: 0;
|
|
83
|
-
border-top-right-radius: 0;
|
|
84
|
-
}
|
|
73
|
+
&:not(:first-child) {
|
|
74
|
+
margin-top: $spacing-tiny;
|
|
75
|
+
}
|
|
85
76
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
77
|
+
&.btn {
|
|
78
|
+
font-size: 0.75em;
|
|
79
|
+
margin-left: 0 !important;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
91
82
|
}
|
|
92
83
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
84
|
+
@include media-breakpoint-up(sm) {
|
|
85
|
+
> .input-group-text,
|
|
86
|
+
> .form-control {
|
|
87
|
+
border-radius: 0;
|
|
88
|
+
|
|
89
|
+
&:first-of-type {
|
|
90
|
+
border-bottom-left-radius: $brand-border-radius;
|
|
91
|
+
border-top-left-radius: $brand-border-radius;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:last-of-type {
|
|
95
|
+
border-bottom-right-radius: $brand-border-radius;
|
|
96
|
+
border-top-right-radius: $brand-border-radius;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.input-group-text + .form-control,
|
|
101
|
+
.form-control + .form-control,
|
|
102
|
+
.form-control + p + .form-control,
|
|
103
|
+
.form-control + p + p + .form-control {
|
|
104
|
+
border-bottom-left-radius: 0;
|
|
105
|
+
border-top-left-radius: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.input-group-text:has(+ .form-control),
|
|
109
|
+
.form-control:has(+ .form-control),
|
|
110
|
+
.form-control:has(+ p + .form-control),
|
|
111
|
+
.form-control:has(+ p + p + .form-control) {
|
|
112
|
+
border-bottom-right-radius: 0;
|
|
113
|
+
border-top-right-radius: 0;
|
|
114
|
+
|
|
115
|
+
&:not(.btn) {
|
|
116
|
+
border-right-color: $color-ci-clay;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
97
119
|
}
|
|
98
120
|
}
|
|
99
121
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@extend %form-field-box;
|
|
37
37
|
@extend %form-field-typography-monospace;
|
|
38
38
|
|
|
39
|
-
@include form-focus;
|
|
39
|
+
@include cl-form-focus;
|
|
40
40
|
|
|
41
41
|
&.form-control-plaintext {
|
|
42
42
|
background-color: transparent;
|
|
@@ -79,7 +79,6 @@
|
|
|
79
79
|
|
|
80
80
|
[type='range'] {
|
|
81
81
|
$color-bullet: $color-ci-night;
|
|
82
|
-
$color-bullet-focus: $color-ci-berry;
|
|
83
82
|
|
|
84
83
|
appearance: none;
|
|
85
84
|
background: $color-ci-clay;
|
|
@@ -110,13 +109,7 @@
|
|
|
110
109
|
}
|
|
111
110
|
|
|
112
111
|
&:focus {
|
|
113
|
-
|
|
114
|
-
background: $color-bullet-focus;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&::-moz-range-thumb {
|
|
118
|
-
background: $color-bullet-focus;
|
|
119
|
-
}
|
|
112
|
+
@include cl-color-focus-outline(var(--cl-color-focus), 2px);
|
|
120
113
|
}
|
|
121
114
|
}
|
|
122
115
|
}
|
|
@@ -16,8 +16,10 @@
|
|
|
16
16
|
@extend %form-field-box;
|
|
17
17
|
@extend %form-field-typography-monospace;
|
|
18
18
|
|
|
19
|
-
@include form-focus;
|
|
19
|
+
@include cl-form-focus;
|
|
20
20
|
|
|
21
|
+
background-image:
|
|
22
|
+
url('#{$castlabs-ui-asset-prefix}/assets/bs/select.svg?no-inline'), none, none;
|
|
21
23
|
display: block;
|
|
22
24
|
|
|
23
25
|
&.cl-field-sans {
|
|
@@ -27,6 +29,12 @@
|
|
|
27
29
|
&.cl-field-monospace {
|
|
28
30
|
@extend %form-field-typography-monospace;
|
|
29
31
|
}
|
|
32
|
+
|
|
33
|
+
&:disabled,
|
|
34
|
+
&.disabled {
|
|
35
|
+
background-image:
|
|
36
|
+
url('#{$castlabs-ui-asset-prefix}/assets/bs/select-disabled.svg?no-inline'), none, none;
|
|
37
|
+
}
|
|
30
38
|
}
|
|
31
39
|
|
|
32
40
|
.input-group {
|
|
@@ -217,7 +217,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
217
217
|
padding-bottom: $spacing-tiny;
|
|
218
218
|
|
|
219
219
|
summary {
|
|
220
|
-
border-bottom:
|
|
220
|
+
border-bottom: $brand-line-width solid $sidenav-color-separator;
|
|
221
221
|
margin-bottom: $spacing-tiny;
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -230,6 +230,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
230
230
|
.cl-dropdown-item {
|
|
231
231
|
@include cl-color-focus-outline(var(--cl-color-text));
|
|
232
232
|
|
|
233
|
+
color: var(--cl-color-text);
|
|
233
234
|
line-height: 1;
|
|
234
235
|
padding: $spacing-small;
|
|
235
236
|
|
|
@@ -248,7 +249,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
248
249
|
}
|
|
249
250
|
|
|
250
251
|
&:hover:not(.active) {
|
|
251
|
-
background-color: $color-ci-
|
|
252
|
+
background-color: $color-ci-red;
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
255
|
|
|
@@ -261,11 +262,14 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
261
262
|
|
|
262
263
|
.cl-nav-label {
|
|
263
264
|
// -----------------------------------------------------------
|
|
264
|
-
@extend %cl-p-
|
|
265
|
+
@extend %cl-p-label;
|
|
265
266
|
|
|
266
|
-
color:
|
|
267
|
-
margin
|
|
268
|
-
|
|
267
|
+
color: var(--cl-color-accent);
|
|
268
|
+
margin: $spacing-medium $spacing-small $spacing-tiny;
|
|
269
|
+
|
|
270
|
+
hr + & {
|
|
271
|
+
margin-top: $spacing-tiny;
|
|
272
|
+
}
|
|
269
273
|
}
|
|
270
274
|
|
|
271
275
|
.cl-nav-item {
|
|
@@ -303,7 +307,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
303
307
|
}
|
|
304
308
|
|
|
305
309
|
&:hover {
|
|
306
|
-
|
|
310
|
+
color: $color-ci-red;
|
|
307
311
|
}
|
|
308
312
|
|
|
309
313
|
&.active {
|
|
@@ -348,7 +352,7 @@ $sidenav-color-app: #3b4253; // color.adjust($sidenav-color-account, $lightness:
|
|
|
348
352
|
|
|
349
353
|
&[open] {
|
|
350
354
|
summary {
|
|
351
|
-
border-bottom:
|
|
355
|
+
border-bottom: $brand-line-width solid $sidenav-color-separator;
|
|
352
356
|
}
|
|
353
357
|
}
|
|
354
358
|
|
|
@@ -136,19 +136,7 @@ $table-lineheight: 1.2em;
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
%cl-table-data-light {
|
|
139
|
-
tbody {
|
|
140
|
-
|
|
141
|
-
&:nth-child(odd) td {
|
|
142
|
-
background-color: $color-ci-eggshell;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
tr:nth-child(odd) .cl-td-links {
|
|
148
|
-
background-color: $color-ci-eggshell;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
tr:nth-child(even) .cl-td-links {
|
|
152
|
-
background-color: var(--cl-color-highlight);
|
|
139
|
+
tbody tr td {
|
|
140
|
+
background-color: var(--cl-color-background);
|
|
153
141
|
}
|
|
154
142
|
}
|
|
@@ -7,11 +7,6 @@
|
|
|
7
7
|
transform: translate(-50%);
|
|
8
8
|
z-index: $layer-z-sidenav;
|
|
9
9
|
|
|
10
|
-
.cl-asset-cookie {
|
|
11
|
-
font-size: 2em;
|
|
12
|
-
margin-top: $spacing-small;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
10
|
.btn {
|
|
16
11
|
display: inline !important; // sass-lint:disable-line no-important
|
|
17
12
|
width: 8rem !important; // sass-lint:disable-line no-important
|
|
@@ -2,35 +2,38 @@
|
|
|
2
2
|
font-family: 'DM Mono';
|
|
3
3
|
font-style: normal;
|
|
4
4
|
font-weight: 300;
|
|
5
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_300.woff2') format('woff2');
|
|
5
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_300.woff2?no-inline') format('woff2');
|
|
6
6
|
}
|
|
7
7
|
@font-face {
|
|
8
8
|
font-family: 'DM Mono';
|
|
9
9
|
font-style: italic;
|
|
10
10
|
font-weight: 300;
|
|
11
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_300italic.woff2')
|
|
11
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_300italic.woff2?no-inline')
|
|
12
|
+
format('woff2');
|
|
12
13
|
}
|
|
13
14
|
@font-face {
|
|
14
15
|
font-family: 'DM Mono';
|
|
15
16
|
font-style: normal;
|
|
16
17
|
font-weight: 400;
|
|
17
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_400.woff2') format('woff2');
|
|
18
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_400.woff2?no-inline') format('woff2');
|
|
18
19
|
}
|
|
19
20
|
@font-face {
|
|
20
21
|
font-family: 'DM Mono';
|
|
21
22
|
font-style: italic;
|
|
22
23
|
font-weight: 400;
|
|
23
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_400italic.woff2')
|
|
24
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_400italic.woff2?no-inline')
|
|
25
|
+
format('woff2');
|
|
24
26
|
}
|
|
25
27
|
@font-face {
|
|
26
28
|
font-family: 'DM Mono';
|
|
27
29
|
font-style: normal;
|
|
28
30
|
font-weight: 500;
|
|
29
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_500.woff2') format('woff2');
|
|
31
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_500.woff2?no-inline') format('woff2');
|
|
30
32
|
}
|
|
31
33
|
@font-face {
|
|
32
34
|
font-family: 'DM Mono';
|
|
33
35
|
font-style: italic;
|
|
34
36
|
font-weight: 500;
|
|
35
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_500italic.woff2')
|
|
37
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/DMMono/DM_Mono_500italic.woff2?no-inline')
|
|
38
|
+
format('woff2');
|
|
36
39
|
}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
font-family: NonNaturalGroteskInktrap;
|
|
3
3
|
font-style: normal;
|
|
4
4
|
font-weight: 400;
|
|
5
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2')
|
|
5
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Regular.woff2?no-inline')
|
|
6
6
|
format('woff2');
|
|
7
7
|
}
|
|
8
8
|
@font-face {
|
|
9
9
|
font-family: NonNaturalGroteskInktrap;
|
|
10
10
|
font-style: normal;
|
|
11
11
|
font-weight: 500;
|
|
12
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2')
|
|
12
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Medium.woff2?no-inline')
|
|
13
13
|
format('woff2');
|
|
14
14
|
}
|
|
15
15
|
@font-face {
|
|
16
16
|
font-family: NonNaturalGroteskInktrap;
|
|
17
17
|
font-style: normal;
|
|
18
18
|
font-weight: 700;
|
|
19
|
-
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2')
|
|
19
|
+
src: url('#{$castlabs-ui-asset-prefix}/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap-Bold.woff2?no-inline')
|
|
20
20
|
format('woff2');
|
|
21
21
|
}
|