barbican-reset 2.15.0 → 2.17.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.
Files changed (35) hide show
  1. package/fonts/SupremeLLWeb-Black.woff +0 -0
  2. package/fonts/SupremeLLWeb-Black.woff2 +0 -0
  3. package/fonts/SupremeLLWeb-BlackItalic.woff +0 -0
  4. package/fonts/SupremeLLWeb-BlackItalic.woff2 +0 -0
  5. package/fonts/SupremeLLWeb-Italic.woff +0 -0
  6. package/fonts/SupremeLLWeb-Italic.woff2 +0 -0
  7. package/fonts/SupremeLLWeb-Light.woff +0 -0
  8. package/fonts/SupremeLLWeb-Light.woff2 +0 -0
  9. package/fonts/SupremeLLWeb-LightItalic.woff +0 -0
  10. package/fonts/SupremeLLWeb-LightItalic.woff2 +0 -0
  11. package/fonts/SupremeLLWeb-Regular.woff +0 -0
  12. package/fonts/SupremeLLWeb-Regular.woff2 +0 -0
  13. package/helpers/mixins/_br-alert.scss +24 -10
  14. package/helpers/mixins/_buttons.scss +72 -24
  15. package/package.json +50 -1
  16. package/patterns/scss/colors/_brand.scss +10 -10
  17. package/patterns/scss/colors/_status.scss +15 -14
  18. package/patterns/scss/styles.scss +10 -5
  19. package/scss/_atomic.scss +1 -1
  20. package/scss/_br-alert.scss +23 -27
  21. package/scss/_btn.scss +0 -25
  22. package/scss/_close-icon.scss +1 -1
  23. package/scss/_custom-checkbox.scss +1 -1
  24. package/scss/_custom-radio.scss +5 -5
  25. package/scss/_fonts.scss +30 -22
  26. package/scss/_header.scss +5 -3
  27. package/scss/index.scss +6 -4
  28. package/fonts/FuturaLTPro-Bold.woff +0 -0
  29. package/fonts/FuturaLTPro-Bold.woff2 +0 -0
  30. package/fonts/FuturaLTPro-BoldOblique.woff +0 -0
  31. package/fonts/FuturaLTPro-BoldOblique.woff2 +0 -0
  32. package/fonts/FuturaLTPro-Book.woff +0 -0
  33. package/fonts/FuturaLTPro-Book.woff2 +0 -0
  34. package/fonts/FuturaLTPro-BookOblique.woff +0 -0
  35. package/fonts/FuturaLTPro-BookOblique.woff2 +0 -0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -5,13 +5,13 @@
5
5
  border-style: solid;
6
6
  }
7
7
 
8
- @mixin br-alert-wrap--colors($fade, $light, $base) {
8
+ @mixin br-alert-wrap--colors($main, $fade, $light) {
9
9
  background-color: $fade;
10
10
  border-color: $light;
11
- color: $base;
11
+ color: $main;
12
12
 
13
13
  svg {
14
- fill: $base;
14
+ fill: $main;
15
15
  }
16
16
  }
17
17
 
@@ -26,30 +26,30 @@
26
26
  }
27
27
  }
28
28
 
29
- @mixin br-alert-link($base, $fade) {
29
+ @mixin br-alert-link($main, $fade) {
30
30
  @include focus {
31
- @include single-box($base);
32
- background-color: $base;
31
+ @include single-box($main);
32
+ background-color: $main;
33
33
  color: $fade;
34
34
  }
35
35
  }
36
36
 
37
- @mixin br-alert-exit($base, $fade) {
37
+ @mixin br-alert-exit($main, $fade) {
38
38
  path.cross {
39
- fill: $base;
39
+ fill: $main;
40
40
  }
41
41
  path.tint {
42
42
  fill: $fade;
43
43
  }
44
44
 
45
45
  @include focus {
46
- @include single-box($base, 0.1875rem);
46
+ outline-color: $main;
47
47
 
48
48
  path.cross {
49
49
  fill: $fade;
50
50
  }
51
51
  path.tint {
52
- fill: $base;
52
+ fill: $main;
53
53
  }
54
54
  }
55
55
  }
@@ -84,4 +84,18 @@
84
84
  .flex {
85
85
  @include br-alert--flex;
86
86
  }
87
+
88
+ .btn.btn-exit {
89
+ &.error {
90
+ @include br-alert-exit($error_focus...);
91
+ }
92
+
93
+ &.success {
94
+ @include br-alert-exit($success_focus...);
95
+ }
96
+
97
+ &.neutral {
98
+ @include br-alert-exit($neutral_focus...);
99
+ }
100
+ }
87
101
  }
@@ -1,4 +1,5 @@
1
1
  @mixin disabled {
2
+
2
3
  &:disabled,
3
4
  &.disabled {
4
5
  @content;
@@ -11,15 +12,14 @@
11
12
  }
12
13
 
13
14
  @mixin setup-button {
14
- -webkit-font-smoothing: antialiased;
15
- -moz-osx-font-smoothing: grayscale;
15
+ @include fontfamily-black;
16
16
  border-radius: $border-radius-lg;
17
17
  padding: $padding-button-lg;
18
18
  text-decoration: none;
19
- display: inline-block;
19
+ font-size: 1.0625rem;
20
20
  text-align: center;
21
- font-weight: 700;
22
21
  transition: none;
22
+ cursor: pointer;
23
23
  line-height: 1;
24
24
 
25
25
  &:focus {
@@ -42,23 +42,32 @@
42
42
  }
43
43
  }
44
44
 
45
- @mixin display-button($display: 'ib', $gap: 1) {
46
- @if $display == 'ib' {
45
+ @mixin display-button($display: "ib", $gap: 1) {
46
+ @if $display =="ib" {
47
47
  vertical-align: middle;
48
48
  display: inline-block;
49
49
 
50
- > * {
50
+ >* {
51
51
  vertical-align: middle;
52
52
  display: inline-block;
53
53
  }
54
- } @else if $display == 'flex' {
54
+ }
55
+
56
+ @else if $display =="flex" {
55
57
  display: inline-flex;
56
58
  align-items: center;
57
59
  gap: #{$gap}rem;
58
60
  }
59
61
  }
60
62
 
61
- @mixin solid-button($background: $c-brand-generic, $color: white, $border: 1px, $padding: false, $margin: false, $line-height: false, $display: false, $font-size: false) {
63
+ @mixin solid-button($background: $c-brand-generic,
64
+ $color: white,
65
+ $border: 1px,
66
+ $padding: false,
67
+ $margin: false,
68
+ $line-height: false,
69
+ $display: false,
70
+ $font-size: false) {
62
71
  border: $border solid $background;
63
72
  background-color: $background;
64
73
  color: $color;
@@ -66,7 +75,9 @@
66
75
  @if $display {
67
76
  @if $padding {
68
77
  @include display-button($display, $padding * 0.625);
69
- } @else {
78
+ }
79
+
80
+ @else {
70
81
  @include display-button($display, 0.625);
71
82
  }
72
83
  }
@@ -74,12 +85,15 @@
74
85
  @if $line-height {
75
86
  line-height: $line-height;
76
87
  }
88
+
77
89
  @if $font-size {
78
90
  font-size: $font-size;
79
91
  }
92
+
80
93
  @if $padding {
81
94
  padding: $padding;
82
95
  }
96
+
83
97
  @if $margin {
84
98
  margin: $margin;
85
99
  }
@@ -100,7 +114,14 @@
100
114
  }
101
115
  }
102
116
 
103
- @mixin outline-button($color: $c-brand-generic, $background: white, $border: 1px, $padding: false, $margin: false, $line-height: false, $display: false, $font-size: false) {
117
+ @mixin outline-button($color: $c-brand-generic,
118
+ $background: white,
119
+ $border: 1px,
120
+ $padding: false,
121
+ $margin: false,
122
+ $line-height: false,
123
+ $display: false,
124
+ $font-size: false) {
104
125
  background-color: $background;
105
126
  border: $border solid $color;
106
127
  color: $color;
@@ -108,7 +129,9 @@
108
129
  @if $display {
109
130
  @if $padding {
110
131
  @include display-button($display, $padding * 0.625);
111
- } @else {
132
+ }
133
+
134
+ @else {
112
135
  @include display-button($display, 0.625);
113
136
  }
114
137
  }
@@ -116,18 +139,21 @@
116
139
  @if $line-height {
117
140
  line-height: $line-height;
118
141
  }
142
+
119
143
  @if $font-size {
120
144
  font-size: $font-size;
121
145
  }
146
+
122
147
  @if $padding {
123
148
  padding: $padding;
124
149
  }
150
+
125
151
  @if $margin {
126
152
  margin: $margin;
127
153
  }
128
154
 
129
155
  path {
130
- fill: currentColor;
156
+ fill: $color;
131
157
  }
132
158
 
133
159
  @include focus {
@@ -143,7 +169,10 @@
143
169
  }
144
170
  }
145
171
 
146
- @mixin link-button($color: inherit, $background: transparent, $padding: 0, $line-height: false) {
172
+ @mixin link-button($color: inherit,
173
+ $background: transparent,
174
+ $padding: 0,
175
+ $line-height: false) {
147
176
  background-color: $background;
148
177
  text-decoration: underline;
149
178
  vertical-align: baseline;
@@ -169,7 +198,7 @@
169
198
  @include solid-button;
170
199
  min-width: 8rem;
171
200
 
172
- &[disabled='disabled'] {
201
+ &[disabled="disabled"] {
173
202
  @include solid-button($c-grey-l21);
174
203
  cursor: not-allowed;
175
204
  }
@@ -205,7 +234,11 @@
205
234
  }
206
235
 
207
236
  @mixin btn-outline-header {
208
- @include outline-button($color: white, $background: $c-brand-generic, $border: 0.125rem, $display: 'flex');
237
+ @include outline-button($color: white,
238
+ $background: $c-brand-generic,
239
+ $border: 0.125rem,
240
+ $display: "flex"
241
+ );
209
242
  }
210
243
 
211
244
  @mixin btn-input-edit {
@@ -234,11 +267,14 @@
234
267
  }
235
268
 
236
269
  @mixin btn-remove {
237
- @include solid-button($background: $c-grey-l21, $padding: 0.625em, $line-height: 1.375);
270
+ @include solid-button($background: $c-grey-l21,
271
+ $padding: 0.625em,
272
+ $line-height: 1.375);
238
273
  }
239
274
 
240
275
  @mixin btn-link {
241
276
  @include link-button($line-height: 1.3);
277
+
242
278
  @include focus {
243
279
  @include focus-tabs;
244
280
  }
@@ -263,7 +299,8 @@
263
299
  }
264
300
 
265
301
  @include focus {
266
- @include single-box($c-grey-l21, 0.1875rem); // @BUG: safari outline + border-radius
302
+ @include single-box($c-grey-l21,
303
+ 0.1875rem); // @BUG: safari outline + border-radius
267
304
  border-radius: 50%;
268
305
 
269
306
  path.cross {
@@ -281,6 +318,7 @@
281
318
  @include btn-remove;
282
319
  width: 100%;
283
320
  }
321
+
284
322
  @include media-breakpoint-up(sm) {
285
323
  @include btn-link;
286
324
  }
@@ -291,6 +329,7 @@
291
329
  @include btn-remove;
292
330
  width: 100%;
293
331
  }
332
+
294
333
  @include media-breakpoint-up(xl) {
295
334
  @include btn-link;
296
335
  }
@@ -303,6 +342,7 @@
303
342
  &.member {
304
343
  color: $c-brand-membership;
305
344
  }
345
+
306
346
  &.member-plus {
307
347
  color: $c-brand-membership-dark;
308
348
  }
@@ -314,7 +354,7 @@
314
354
  }
315
355
 
316
356
  @mixin btn-cta {
317
- @include solid-button($background: $c-grey-l21, $display: 'flex');
357
+ @include solid-button($background: $c-grey-l21, $display: "flex");
318
358
  fill: white;
319
359
  }
320
360
 
@@ -351,7 +391,11 @@
351
391
 
352
392
  @mixin btn-menu {
353
393
  @include display-button(flex, 0.75);
354
- @include outline-button($color: white, $background: $c-brand-generic, $padding: 0 0.75rem, $margin: 0.25rem, $line-height: 2.375rem);
394
+ @include outline-button($color: white,
395
+ $background: $c-brand-generic,
396
+ $padding: 0 0.75rem,
397
+ $margin: 0.25rem,
398
+ $line-height: 2.375rem);
355
399
  vertical-align: middle;
356
400
  min-height: 2.5rem;
357
401
 
@@ -359,14 +403,18 @@
359
403
  @include btn-menu-focus;
360
404
  }
361
405
 
362
- @include data('clicked') {
406
+ @include data("clicked") {
363
407
  @include btn-menu-focus;
364
408
  }
365
409
  }
366
410
 
367
411
  @mixin btn-basket {
368
412
  @include display-button(flex, 0.5);
369
- @include solid-button($background: white, $color: $c-brand-generic, $padding: 0 0.75rem, $margin: 0.25rem, $line-height: 2.375rem);
413
+ @include solid-button($background: white,
414
+ $color: $c-brand-generic,
415
+ $padding: 0 0.75rem,
416
+ $margin: 0.25rem,
417
+ $line-height: 2.375rem);
370
418
  vertical-align: middle;
371
419
  min-height: 2.5rem;
372
420
 
@@ -374,7 +422,7 @@
374
422
  @include btn-menu-focus;
375
423
  }
376
424
 
377
- @include data('clicked') {
425
+ @include data("clicked") {
378
426
  @include btn-menu-focus;
379
427
  }
380
428
  }
@@ -400,4 +448,4 @@
400
448
 
401
449
  @mixin btn-expand {
402
450
  display: block;
403
- }
451
+ }
package/package.json CHANGED
@@ -1,4 +1,53 @@
1
1
  {
2
+ "_args": [
3
+ [
4
+ "barbican-reset@2.7.0",
5
+ "/Users/pheading/Sites/eticketing-vue"
6
+ ]
7
+ ],
8
+ "_from": "barbican-reset@2.7.0",
9
+ "_id": "barbican-reset@2.7.0",
10
+ "_inBundle": false,
11
+ "_integrity": "sha512-9QMrzuoZ/NZfFlFagC6go3ofn5hBhU9rtSPEeGH0krwY5dBKOlfs8oGIvqUaEGFKI+jQ3spuDOQoeyYK5NRiQw==",
12
+ "_location": "/barbican-reset",
13
+ "_phantomChildren": {
14
+ "array-flatten": "1.1.1",
15
+ "content-type": "1.0.4",
16
+ "cookie-signature": "1.0.6",
17
+ "ee-first": "1.1.1",
18
+ "encodeurl": "1.0.2",
19
+ "escape-html": "1.0.3",
20
+ "etag": "1.8.1",
21
+ "fresh": "0.5.2",
22
+ "iconv-lite": "0.4.24",
23
+ "inherits": "2.0.4",
24
+ "merge-descriptors": "1.0.1",
25
+ "methods": "1.1.2",
26
+ "parseurl": "1.3.3",
27
+ "path-to-regexp": "0.1.7",
28
+ "range-parser": "1.2.1",
29
+ "side-channel": "1.0.4",
30
+ "type-is": "1.6.18",
31
+ "unpipe": "1.0.0",
32
+ "utils-merge": "1.0.1",
33
+ "vary": "1.1.2"
34
+ },
35
+ "_requested": {
36
+ "type": "version",
37
+ "registry": true,
38
+ "raw": "barbican-reset@2.7.0",
39
+ "name": "barbican-reset",
40
+ "escapedName": "barbican-reset",
41
+ "rawSpec": "2.7.0",
42
+ "saveSpec": null,
43
+ "fetchSpec": "2.7.0"
44
+ },
45
+ "_requiredBy": [
46
+ "/"
47
+ ],
48
+ "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-2.7.0.tgz",
49
+ "_spec": "2.7.0",
50
+ "_where": "/Users/pheading/Sites/eticketing-vue",
2
51
  "author": {
3
52
  "name": "Paul Heading"
4
53
  },
@@ -54,5 +103,5 @@
54
103
  "watch:patterns": "cd patterns && gulp watch"
55
104
  },
56
105
  "style": "dist/css/barbican-reset.css",
57
- "version": "2.15.0"
106
+ "version": "2.17.0"
58
107
  }
@@ -64,15 +64,15 @@ $brands: ();
64
64
  @return map-get(map-get($brands, $name), $variant);
65
65
  }
66
66
 
67
- $c-brand-cinema-dark: color(cinema, shade-20); // deprecated
68
- $c-brand-shop-light: color(shop, tint-85); // deprecated
69
- $c-brand-shop-dark: color(shop, shade-20); // deprecated
70
- $c-brand-generic-s60-l99: color(generic, tint-95); // faint deprecated
71
- $c-brand-generic-s100-l95: color(generic, tint-85); // light deprecated
72
- $c-brand-generic-s50-l90: color(generic, tint-70); // shade deprecated
73
- $c-brand-generic-s100-l38: color(generic, shade-10); // dark deprecated
74
- $c-brand-generic-s100-l15: color(generic, shade-65); // x-dark deprecated
67
+ $c-brand-cinema-dark: brand(cinema, shade-20); // deprecated
68
+ $c-brand-shop-light: brand(shop, tint-85); // deprecated
69
+ $c-brand-shop-dark: brand(shop, shade-20); // deprecated
70
+ $c-brand-generic-s60-l99: brand(generic, tint-95); // faint deprecated
71
+ $c-brand-generic-s100-l95: brand(generic, tint-85); // light deprecated
72
+ $c-brand-generic-s50-l90: brand(generic, tint-70); // shade deprecated
73
+ $c-brand-generic-s100-l38: brand(generic, shade-10); // dark deprecated
74
+ $c-brand-generic-s100-l15: brand(generic, shade-65); // x-dark deprecated
75
75
 
76
- $c-brand-classical-light: color(classical-music, tint-95); // deprecated
77
- $c-brand-classical-dark: color(classical-music, shade-20); // deprecated
76
+ $c-brand-classical-light: brand(classical-music, tint-95); // deprecated
77
+ $c-brand-classical-dark: brand(classical-music, shade-20); // deprecated
78
78
  $c-brand-membership-dark: hsl(223, 87%, 21%);
@@ -1,3 +1,4 @@
1
+
1
2
  $c-status-neutral-fade: hsl(205, 100%, 95%);
2
3
  $c-status-neutral-light: hsl(205, 100%, 75%);
3
4
  $c-status-neutral: hsl(205, 100%, 37%);
@@ -10,20 +11,20 @@ $c-status-success-fade: hsl(120, 30%, 95%);
10
11
  $c-status-success-light: hsl(120, 30%, 75%);
11
12
  $c-status-success: hsl(120, 30%, 37%);
12
13
 
13
- $statuses: (
14
- neutral: (
15
- base: $c-status-neutral,
16
- fade: $c-status-neutral-fade,
17
- light: $c-status-neutral-light,
14
+ $statees : (
15
+ neutral : (
16
+ base : $c-status-neutral,
17
+ fade : $c-status-neutral-fade,
18
+ light : $c-status-neutral-light
18
19
  ),
19
- success: (
20
- base: $c-status-success,
21
- fade: $c-status-success-fade,
22
- light: $c-status-success-light,
20
+ success : (
21
+ base : $c-status-success,
22
+ fade : $c-status-success-fade,
23
+ light : $c-status-success-light
23
24
  ),
24
- error: (
25
- base: $c-status-error,
26
- fade: $c-status-error-fade,
27
- light: $c-status-error-light,
25
+ error : (
26
+ base : $c-status-error,
27
+ fade : $c-status-error-fade,
28
+ light : $c-status-error-light
28
29
  ),
29
- );
30
+ );
@@ -18,8 +18,8 @@ $tints: "40", "70", "85", "95";
18
18
  }
19
19
 
20
20
  body {
21
+ @include fontfamily-light;
21
22
  line-height: $line-height-md;
22
- font-family: $font-family;
23
23
  color: $c-grey-l21;
24
24
  }
25
25
 
@@ -32,17 +32,17 @@ body {
32
32
 
33
33
  @include brand using($color, $variant) {
34
34
  .item.item-palette {
35
- background-color: color($color);
35
+ background-color: brand($color);
36
36
 
37
37
  @each $shade in $shades {
38
38
  &.shade-#{$shade} {
39
- background-color: color($color, shade-#{$shade});
39
+ background-color: brand($color, shade-#{$shade});
40
40
  }
41
41
  }
42
42
 
43
43
  @each $tint in $tints {
44
44
  &.tint-#{$tint} {
45
- background-color: color($color, tint-#{$tint});
45
+ background-color: brand($color, tint-#{$tint});
46
46
  }
47
47
  }
48
48
  }
@@ -54,18 +54,23 @@ body {
54
54
  &.l11 {
55
55
  background-color: $c-grey-l11;
56
56
  }
57
+
57
58
  &.l21 {
58
59
  background-color: $c-grey-l21;
59
60
  }
61
+
60
62
  &.l44 {
61
63
  background-color: $c-grey-l44;
62
64
  }
65
+
63
66
  &.l65 {
64
67
  background-color: $c-grey-l65;
65
68
  }
69
+
66
70
  &.l87 {
67
71
  background-color: $c-grey-l87;
68
72
  }
73
+
69
74
  &.l96 {
70
75
  background-color: $c-grey-l96;
71
76
  }
@@ -96,4 +101,4 @@ h2 {
96
101
 
97
102
  h3 {
98
103
  margin: 0 0 0.5rem;
99
- }
104
+ }
package/scss/_atomic.scss CHANGED
@@ -83,7 +83,7 @@ $paddings05: 'padding-top', 'padding-bottom', 'padding-right', 'padding-left';
83
83
  }
84
84
 
85
85
  .background-color-alt {
86
- background-color: color(generic, tint-95);
86
+ background-color: brand(generic, tint-95);
87
87
  }
88
88
 
89
89
  .min-width-3 {
@@ -1,3 +1,4 @@
1
+
1
2
  .br-alert {
2
3
  @include br-alert--setup;
3
4
 
@@ -5,14 +6,30 @@
5
6
  @include br-alert--center;
6
7
  }
7
8
 
8
- .btn.btn-exit svg {
9
- height: 1.5rem;
10
- width: 1.5rem;
11
- }
12
-
13
9
  .wrap {
10
+ @include br-alert-wrap--colors($neutral_wrap...);
14
11
  @include br-alert-wrap--setup;
15
12
 
13
+ .btn.btn-link, a {
14
+ @include br-alert-link($neutral_focus...);
15
+ }
16
+
17
+ &.error {
18
+ @include br-alert-wrap--colors($error_wrap...);
19
+
20
+ .btn.btn-link, a {
21
+ @include br-alert-link($error_focus...);
22
+ }
23
+ }
24
+
25
+ &.success {
26
+ @include br-alert-wrap--colors($success_wrap...);
27
+
28
+ .btn.btn-link, a {
29
+ @include br-alert-link($success_focus...);
30
+ }
31
+ }
32
+
16
33
  &.inline {
17
34
  @include inline-block;
18
35
  }
@@ -29,25 +46,4 @@
29
46
  }
30
47
  }
31
48
  }
32
- }
33
-
34
- .br-alert {
35
- @each $status, $color in $statuses {
36
- $fade: map-get($color, fade);
37
- $light: map-get($color, light);
38
- $base: map-get($color, base);
39
-
40
- .btn.btn-exit.#{$status} {
41
- @include br-alert-exit($base, $fade);
42
- }
43
-
44
- .wrap.#{$status} {
45
- @include br-alert-wrap--colors($fade, $light, $base);
46
-
47
- .btn.btn-link,
48
- a {
49
- @include br-alert-link($base, $fade);
50
- }
51
- }
52
- }
53
- }
49
+ }
package/scss/_btn.scss CHANGED
@@ -1,10 +1,3 @@
1
- @mixin flex-button {
2
- // @TODO: move this to core button functionality. once I have time.
3
- display: inline-flex;
4
- align-items: center;
5
- gap: 0.5rem;
6
- }
7
-
8
1
  .btn {
9
2
  @include setup-button;
10
3
 
@@ -18,24 +11,6 @@
18
11
  @include btn-outline-primary;
19
12
  }
20
13
 
21
- // branded buttons
22
-
23
- @each $key, $value in $brands {
24
- &.btn-#{$key} {
25
- @include solid-button(color($key));
26
- @include flex-button;
27
- }
28
- }
29
-
30
- // branded outline buttons
31
-
32
- @each $key, $value in $brands {
33
- &.btn-outline-#{$key} {
34
- @include outline-button(color($key));
35
- @include flex-button;
36
- }
37
- }
38
-
39
14
  &.btn-outline-header {
40
15
  // orange outline, fill on focus
41
16
  @include btn-outline-header;
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .fill {
11
- fill: color(generic, tint-95);
11
+ fill: brand(generic, tint-95);
12
12
  }
13
13
  }
14
14
 
@@ -33,7 +33,7 @@
33
33
  }
34
34
  }
35
35
 
36
- @each $status, $color in $statuses {
36
+ @each $status, $color in $statees {
37
37
  @if $status != 'neutral' {
38
38
  [role='group'][#{$status}] input[type='checkbox'],
39
39
  input[type='checkbox'][#{$status}] {
@@ -1,4 +1,4 @@
1
- [role='radiogroup'] {
1
+ [role="radiogroup"] {
2
2
  margin: -0.25rem;
3
3
  }
4
4
 
@@ -6,10 +6,10 @@
6
6
  @include radio-input;
7
7
  }
8
8
 
9
- @each $status, $color in $statuses {
10
- @if $status != 'neutral' {
11
- [role='radiogroup'][#{$status}] input[type='radio'],
12
- input[type='radio'][#{$status}] {
9
+ @each $status, $color in $statees {
10
+ @if $status != "neutral" {
11
+ [role="radiogroup"][#{$status}] input[type="radio"],
12
+ input[type="radio"][#{$status}] {
13
13
  @include status-input($color);
14
14
  }
15
15
  }
package/scss/_fonts.scss CHANGED
@@ -1,34 +1,42 @@
1
-
2
- $futura: "FuturaLTPro";
3
- $font-family: #{$futura}, "Helvetica", "Arial", sans-serif;
1
+ $supreme: "SupremeLLWeb";
2
+ $font-family: #{$supreme}, "Helvetica", "Arial", sans-serif;
4
3
  $font-file-path: "../fonts/";
5
4
 
6
5
  @font-face {
7
- font-family: "#{$futura}";
8
- src: url("#{$font-file-path}#{$futura}-Book.woff") format("woff"),
9
- url("#{$font-file-path}#{$futura}-Book.woff2") format("woff2");
10
- font-style: normal;
6
+ font-family: "Supreme-Light";
7
+ src: url("#{$font-file-path}#{$supreme}-Light.woff") format("woff"),
8
+ url("#{$font-file-path}#{$supreme}-Light.woff2") format("woff2");
11
9
  }
12
10
 
13
11
  @font-face {
14
- font-family: "#{$futura}";
15
- src: url("#{$font-file-path}#{$futura}-BookOblique.woff") format("woff"),
16
- url("#{$font-file-path}#{$futura}-BookOblique.woff2") format("woff2");
17
- font-style: italic;
12
+ font-family: "Supreme-LightItalic";
13
+ src: url("#{$font-file-path}#{$supreme}-LightItalic.woff") format("woff"),
14
+ url("#{$font-file-path}#{$supreme}-LightItalic.woff2") format("woff2");
18
15
  }
19
16
 
20
17
  @font-face {
21
- font-family: "#{$futura}";
22
- src: url("#{$font-file-path}#{$futura}-Bold.woff") format("woff"),
23
- url("#{$font-file-path}#{$futura}-Bold.woff2") format("woff2");
24
- font-style: normal;
25
- font-weight: bold;
18
+ font-family: "Supreme-Black";
19
+ src: url("#{$font-file-path}#{$supreme}-Black.woff") format("woff"),
20
+ url("#{$font-file-path}#{$supreme}-Black.woff2") format("woff2");
26
21
  }
27
22
 
28
23
  @font-face {
29
- font-family: "#{$futura}";
30
- src: url("#{$font-file-path}#{$futura}-BoldOblique.woff") format("woff"),
31
- url("#{$font-file-path}#{$futura}-BoldOblique.woff2") format("woff2");
32
- font-style: italic;
33
- font-weight: bold;
34
- }
24
+ font-family: "Supreme-BlackItalic";
25
+ src: url("#{$font-file-path}#{$supreme}-BlackItalic.woff") format("woff"),
26
+ url("#{$font-file-path}#{$supreme}-BlackItalic.woff2") format("woff2");
27
+ }
28
+
29
+ $fontfamily-light: Supreme-Light, Arial, Helvetica, sans-serif;
30
+ $fontfamily-light-italic: Supreme-LightItalic, Arial, Helvetica, sans-serif;
31
+ $fontfamily-black: Supreme-Black, Arial, Helvetica, sans-serif;
32
+ $fontfamily-black-italic: Supreme-BlackItalic, Arial, Helvetica, sans-serif;
33
+
34
+ @mixin fontfamily-light {
35
+ font-family: $fontfamily-light;
36
+ }
37
+
38
+ @mixin fontfamily-black {
39
+ font-family: $fontfamily-black;
40
+ }
41
+
42
+ // letter-spacing: 0.03em;
package/scss/_header.scss CHANGED
@@ -1,9 +1,11 @@
1
-
2
1
  .header {
3
2
  background-color: $c-brand-generic;
4
3
  color: white;
5
4
 
6
- &.videoSplash, &.cinemaSplash, &.concertSplash, &.theatreSplash {
5
+ &.videoSplash,
6
+ &.cinemaSplash,
7
+ &.concertSplash,
8
+ &.theatreSplash {
7
9
  display: none;
8
10
  }
9
- }
11
+ }
package/scss/index.scss CHANGED
@@ -48,8 +48,10 @@ html {
48
48
  }
49
49
 
50
50
  body {
51
+ @include fontfamily-light;
52
+ -webkit-font-smoothing: antialiased;
53
+ -moz-osx-font-smoothing: grayscale;
51
54
  line-height: $line-height-md;
52
- font-family: $font-family;
53
55
  color: $c-grey-l21;
54
56
  }
55
57
 
@@ -65,7 +67,7 @@ h2,
65
67
  .h2,
66
68
  h1,
67
69
  .h1 {
68
- font-weight: 700;
70
+ @include fontfamily-black;
69
71
  }
70
72
 
71
73
  a,
@@ -77,6 +79,6 @@ p {
77
79
  margin-bottom: 0;
78
80
  }
79
81
 
80
- p + p {
82
+ p+p {
81
83
  margin-top: 1rem;
82
- }
84
+ }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file