@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.
Files changed (52) hide show
  1. package/dist/assets/bs/checked.svg +1 -0
  2. package/dist/assets/bs/select-disabled.svg +1 -0
  3. package/dist/assets/bs/select.svg +1 -0
  4. package/dist/castlabs-logo-eggshell.23c10525.svg +33 -0
  5. package/dist/castlabs-logo.72b8026b.svg +33 -0
  6. package/dist/castlabs-ui.common.js +1 -1
  7. package/dist/castlabs-ui.css +3 -3
  8. package/dist/castlabs-ui.umd.js +8 -8
  9. package/dist/castlabs-ui.umd.js.map +1 -1
  10. package/dist/checked.f00b2c85.svg +1 -0
  11. package/dist/fonts/DM_Mono_300.46aa9818.woff2 +0 -0
  12. package/dist/fonts/DM_Mono_300italic.d4b24176.woff2 +0 -0
  13. package/dist/fonts/DM_Mono_400.b9b6ac6a.woff2 +0 -0
  14. package/dist/fonts/DM_Mono_400italic.edc76b76.woff2 +0 -0
  15. package/dist/fonts/DM_Mono_500.3f958442.woff2 +0 -0
  16. package/dist/fonts/DM_Mono_500italic.3c62d36e.woff2 +0 -0
  17. package/dist/fonts/NonNaturalGroteskInktrap-Bold.229d19af.woff2 +0 -0
  18. package/dist/fonts/NonNaturalGroteskInktrap-Medium.ae23d3bb.woff2 +0 -0
  19. package/dist/fonts/NonNaturalGroteskInktrap-Regular.1db788b6.woff2 +0 -0
  20. package/dist/select-disabled.c5e07724.svg +1 -0
  21. package/dist/select.10c23108.svg +1 -0
  22. package/package.json +1 -1
  23. package/src/assets/bs/checked.svg +1 -0
  24. package/src/assets/bs/select-disabled.svg +1 -0
  25. package/src/assets/bs/select.svg +1 -0
  26. package/src/components/ClAlert/style.scss +0 -4
  27. package/src/components/ClButton/style.scss +3 -1
  28. package/src/components/ClDropdown/style.scss +1 -1
  29. package/src/components/ClDropzone/style.scss +1 -1
  30. package/src/components/ClFooter/style.scss +1 -0
  31. package/src/components/ClList/style.variables.scss +1 -2
  32. package/src/components/ClTabs/style.scss +1 -1
  33. package/src/components/ClTooltip/style.scss +44 -0
  34. package/src/components/form/ClField/style.scss +1 -2
  35. package/src/components/form/ClFieldCheck/style.scss +3 -4
  36. package/src/components/form/ClFieldFile/style.scss +3 -3
  37. package/src/components/form/ClFieldGroup/style.scss +60 -38
  38. package/src/components/form/ClFieldInput/style.scss +2 -9
  39. package/src/components/form/ClFieldSelect/style.scss +9 -1
  40. package/src/components/navigation/ClNavSide/ClNavDrawer/style.scss +12 -8
  41. package/src/components/table/ClTable/style.variables.scss +2 -14
  42. package/src/components/text/ClLinkExternal/style.scss +2 -0
  43. package/src/components/widget/ClBackCancelOk/style.scss +4 -0
  44. package/src/components/widget/ClCookieBanner/style.scss +0 -5
  45. package/src/fonts/DMMono/DMMono.scss +9 -6
  46. package/src/fonts/NonNaturalGroteskInktrap/NonNaturalGroteskInktrap.scss +3 -3
  47. package/src/styles/assets/logo.scss +2 -14
  48. package/src/styles/components/form.variables.scss +6 -6
  49. package/src/styles/layout/typography.variables.scss +2 -2
  50. package/src/styles/vendors/castlabs.scss +2 -2
  51. package/dist/assets/cookie.svg +0 -1
  52. 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>
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@castlabs/ui",
3
- "version": "7.0.2",
3
+ "version": "7.0.4",
4
4
  "repository": "https://github.com/castlabs/ui-styleguide",
5
5
  "private": false,
6
6
  "description": "A vanilla HTML/CS/JS & Vue.js component library for Castlabs.",
@@ -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>
@@ -36,10 +36,6 @@
36
36
  color: $color-attention;
37
37
  content: '\f057';
38
38
  }
39
-
40
- a {
41
- color: $color-attention;
42
- }
43
39
  }
44
40
 
45
41
  &.cl-alert-warning {
@@ -14,7 +14,7 @@
14
14
  @include cl-button-focus-outline;
15
15
 
16
16
  &.cl-btn-icon {
17
- min-width: 2.1em;
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;
@@ -77,7 +77,7 @@ $dropdown-line-height: 1.25em;
77
77
  padding-bottom: $spacing-tiny;
78
78
 
79
79
  summary {
80
- border-bottom: 2px solid $color-ci-white;
80
+ border-bottom: $brand-line-width solid $color-ci-white;
81
81
  margin-bottom: $spacing-tiny;
82
82
 
83
83
  &::after {
@@ -2,7 +2,7 @@
2
2
  border: px(2) dashed $color-ci-clay;
3
3
  border-radius: $brand-border-radius;
4
4
  cursor: pointer;
5
- padding: $spacing-tiny;
5
+ padding: $spacing-tiny $spacing-small;
6
6
  text-align: center;
7
7
 
8
8
  i {
@@ -13,6 +13,7 @@
13
13
 
14
14
  a {
15
15
  @include typography-link(var(--cl-color-text), $color-ci-red, 0);
16
+ @include cl-color-focus-outline(var(--cl-color-focus), 2px);
16
17
 
17
18
  &:hover {
18
19
  text-decoration: underline;
@@ -94,9 +94,8 @@ $list-dt-width: 14rem;
94
94
 
95
95
  %cl-dl {
96
96
  dt {
97
- @extend %cl-p-form-label;
98
-
99
97
  display: block;
98
+ font-weight: 500;
100
99
  }
101
100
 
102
101
  dd {
@@ -16,7 +16,7 @@
16
16
  text-align: center;
17
17
 
18
18
  li {
19
- border-bottom: $brand-line-width solid $color-line;
19
+ border-bottom: $brand-line-width solid var(--cl-color-text);
20
20
  display: inline-block;
21
21
  flex-grow: 1;
22
22
  margin: 0 $spacing-micro;
@@ -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
  }
@@ -8,8 +8,7 @@
8
8
 
9
9
  [invalid],
10
10
  .invalid {
11
- border-color: $color-attention;
12
- // color: $color-attention;
11
+ border-color: $color-attention !important;
13
12
 
14
13
  + * + .invalid-feedback,
15
14
  + .invalid-feedback {
@@ -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
- &:not(.btn) + * {
34
- // trick to share one ][ border between 2 inputs
35
- &:not(.btn) {
36
- border-left-width: 0;
37
-
38
- &:focus,
39
- &.invalid:focus {
40
- box-shadow: -$brand-line-width 0 0 $color-focus !important; // sass-lint:disable-line no-important
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
- &.invalid {
45
- box-shadow: -$brand-line-width 0 0 $color-attention !important; // sass-lint:disable-line no-important
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
- // --- un-round left sides ------------------------------------------------------
66
- .input-group-text .form-control {
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
- .input-group-text + .form-control,
72
- .form-control + .form-control,
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
- // --- un-round right sides ------------------------------------------------------
80
- .input-group-text:first-child,
81
- .form-control:first-child {
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
- .form-control + .form-control,
87
- .form-control + p + .form-control,
88
- .form-control + p + p + .form-control {
89
- border-bottom-right-radius: 0;
90
- border-top-right-radius: 0;
77
+ &.btn {
78
+ font-size: 0.75em;
79
+ margin-left: 0 !important;
80
+ }
81
+ }
91
82
  }
92
83
 
93
- > .cl-last-child,
94
- > :last-child {
95
- border-bottom-right-radius: $brand-border-radius !important;
96
- border-top-right-radius: $brand-border-radius !important;
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
- &::-webkit-slider-thumb {
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: 2px solid $color-ci-clay;
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-night;
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-tag;
265
+ @extend %cl-p-label;
265
266
 
266
- color: inherit !important; // sass-lint:disable-line no-important
267
- margin-bottom: $spacing-tiny;
268
- margin-left: $spacing-small;
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
- background-color: var(--cl-color-highlight);
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: 1px solid $sidenav-color-separator;
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
- tr {
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
  }
@@ -60,7 +60,9 @@ a.cl-a-none:not(.btn) {
60
60
  .cl-a-quickaction {
61
61
  @extend %cl-a-btn;
62
62
  @extend %cl-a-transparent;
63
+ @include cl-color-focus-outline(var(--cl-color-focus), 2px);
63
64
 
65
+ border-radius: 0;
64
66
  margin-left: $spacing-tiny;
65
67
  text-decoration: none;
66
68
 
@@ -1,3 +1,7 @@
1
1
  .cl-back-cancel-ok {
2
2
  padding-top: 0;
3
+
4
+ + .cl-section {
5
+ margin-top: 0;
6
+ }
3
7
  }
@@ -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') format('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') format('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') format('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
  }