barbican-reset 1.8.7 → 1.9.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 (40) hide show
  1. package/components/br_form_block.vue +1 -1
  2. package/components/card_display.vue +1 -1
  3. package/components/event_summary.vue +1 -1
  4. package/components/payment_logo.vue +1 -1
  5. package/components/related_title.vue +2 -2
  6. package/components/skip_link.vue +2 -2
  7. package/helpers/mixins/_br-footer.scss +1 -1
  8. package/helpers/mixins/_buttons.scss +18 -18
  9. package/helpers/mixins/_card.scss +5 -12
  10. package/helpers/mixins/_festival.scss +2 -2
  11. package/helpers/mixins/_focus.scss +4 -4
  12. package/helpers/mixins/_table.scss +4 -4
  13. package/helpers/mixins/input/_dropdown.scss +3 -3
  14. package/helpers/mixins/input/_generic.scss +6 -6
  15. package/helpers/mixins/input/_text.scss +18 -18
  16. package/helpers/mixins/table/_details.scss +4 -4
  17. package/helpers/mixins/table/_etickets.scss +3 -3
  18. package/helpers/mixins/table/_gifts.scss +2 -2
  19. package/helpers/mixins/table/_orders.scss +2 -2
  20. package/helpers/mixins/table/_preferences.scss +3 -3
  21. package/helpers/mixins/table/_resale.scss +1 -1
  22. package/helpers/mixins/table/_tickets.scss +2 -2
  23. package/helpers/variables/colors/_borders.scss +2 -2
  24. package/helpers/variables/colors/_grey.scss +6 -6
  25. package/helpers/variables/colors/brand/_membership.scss +1 -1
  26. package/helpers/variables/colors/brand/_programme.scss +1 -1
  27. package/library/scss/colors/grey.scss +9 -0
  28. package/library/scss/styles.scss +18 -3
  29. package/library/static/styles.css +34 -2
  30. package/library/views/index.pug +11 -0
  31. package/package.json +1 -1
  32. package/scss/_atomic.scss +4 -0
  33. package/scss/_close-icon.scss +3 -3
  34. package/scss/_footer.scss +1 -1
  35. package/scss/_input.scss +9 -1
  36. package/scss/_klaro.scss +21 -21
  37. package/scss/card/_membership.scss +2 -2
  38. package/scss/card/_related.scss +1 -1
  39. package/scss/card/_video-help.scss +1 -1
  40. package/scss/index.scss +1 -1
@@ -15,7 +15,7 @@
15
15
  .container {
16
16
  padding: 0.875rem 0.75rem 0.625rem 0.75rem;
17
17
  border-left: 0.25rem solid;
18
- background: $c-grey-alpine;
18
+ background: $c-grey-l96;
19
19
  margin-bottom: 1rem;
20
20
  font-weight: 700;
21
21
  }
@@ -101,7 +101,7 @@ export default {
101
101
 
102
102
  .title {
103
103
  @include inset(0);
104
- background-color: rgba($c-grey-midnight, 0.85);
104
+ background-color: rgba($c-grey-l11, 0.85);
105
105
  place-items: center;
106
106
  position: absolute;
107
107
  display: grid;
@@ -43,7 +43,7 @@ export default {
43
43
  @mixin subtitle {
44
44
  @include title;
45
45
  font-size: $h5-font-size;
46
- color: $c-grey-steel;
46
+ color: $c-grey-l44;
47
47
  font-weight: normal;
48
48
 
49
49
  @include media-breakpoint-up(md) {
@@ -22,7 +22,7 @@ export default {
22
22
  <style lang="scss" module>
23
23
 
24
24
  .label {
25
- @include hide-text;
25
+ @include sr-only;
26
26
  text-transform: uppercase;
27
27
  height: 0;
28
28
  width: 0;
@@ -55,7 +55,7 @@ export default {
55
55
  }
56
56
 
57
57
  .line {
58
- background-color: $c-grey-concrete;
58
+ background-color: $c-grey-l65;
59
59
  height: 1px;
60
60
 
61
61
  @include media-breakpoint-up(md) {
@@ -80,7 +80,7 @@ export default {
80
80
  }
81
81
 
82
82
  @include focus() {
83
- @include double-box($white, $c-grey-night);
83
+ @include double-box($white, $c-grey-l21);
84
84
  border-radius: $border-radius;
85
85
  outline: none;
86
86
 
@@ -19,10 +19,10 @@ export default {
19
19
  <style lang="scss" module>
20
20
 
21
21
  .skiplink {
22
- border: 0.25rem solid $c-grey-night;
22
+ border: 0.25rem solid $c-grey-l21;
23
23
  border-radius: $border-radius-lg;
24
24
  background-color: $white;
25
- color: $c-grey-night;
25
+ color: $c-grey-l21;
26
26
  position: absolute;
27
27
  padding: 0.5rem;
28
28
  z-index: -1;
@@ -15,7 +15,7 @@
15
15
  padding-bottom: 3.75rem;
16
16
  }
17
17
 
18
- nav a {
18
+ a:not(.link-col) {
19
19
  @include focus {
20
20
  @include single-box($white);
21
21
  background-color: $white;
@@ -21,7 +21,7 @@
21
21
  }
22
22
  }
23
23
 
24
- @mixin button-display($display:'ib',$gap:1em) {
24
+ @mixin button-display($display:'ib',$gap:1) {
25
25
  @if $display == 'ib' {
26
26
  vertical-align: middle;
27
27
  display: inline-block;
@@ -34,7 +34,7 @@
34
34
  @else if $display == 'flex' {
35
35
  display: inline-flex;
36
36
  align-items: center;
37
- gap: $gap;
37
+ gap: #{$gap}rem;
38
38
  }
39
39
  }
40
40
 
@@ -133,7 +133,7 @@
133
133
  min-width: 8rem;
134
134
 
135
135
  &[disabled=disabled] {
136
- @include button-solid($c-grey-night);
136
+ @include button-solid($c-grey-l21);
137
137
  cursor: not-allowed;
138
138
  }
139
139
  }
@@ -157,11 +157,11 @@
157
157
  }
158
158
 
159
159
  @mixin btn-secondary {
160
- @include button-solid($c-grey-night);
160
+ @include button-solid($c-grey-l21);
161
161
  }
162
162
 
163
163
  @mixin btn-outline-secondary {
164
- @include button-outline($c-grey-night);
164
+ @include button-outline($c-grey-l21);
165
165
  }
166
166
 
167
167
  @mixin btn-outline-header {
@@ -173,8 +173,8 @@
173
173
  }
174
174
 
175
175
  @mixin btn-input-edit {
176
- @include button-outline($c-grey-steel);
177
- background-color: $c-grey-pearl;
176
+ @include button-outline($c-grey-l44);
177
+ background-color: $c-grey-l87;
178
178
  border-color: $c-border-strong;
179
179
  border-bottom-left-radius: 0;
180
180
  border-top-left-radius: 0;
@@ -206,7 +206,7 @@
206
206
 
207
207
  @mixin btn-remove {
208
208
  @include button-solid(
209
- $background: $c-grey-night,
209
+ $background: $c-grey-l21,
210
210
  $padding: 0.625em,
211
211
  $line-height: 1.375);
212
212
  }
@@ -214,8 +214,8 @@
214
214
  @mixin btn-link {
215
215
  @include button-link;
216
216
  @include focus {
217
- @include single-box($c-grey-night);
218
- background-color: $c-grey-night;
217
+ @include single-box($c-grey-l21);
218
+ background-color: $c-grey-l21;
219
219
  color: $white;
220
220
  }
221
221
  }
@@ -223,13 +223,13 @@
223
223
  @mixin btn-video-help {
224
224
  @include button-link(
225
225
  $padding: 1.25em,
226
- $background: $c-grey-alpine);
226
+ $background: $c-grey-l96);
227
227
  font-weight: 700;
228
228
  text-align: left;
229
229
  width: 100%;
230
230
 
231
231
  @include focus {
232
- background-color: $c-grey-steel;
232
+ background-color: $c-grey-l44;
233
233
  color: $white;
234
234
  }
235
235
  }
@@ -237,7 +237,7 @@
237
237
  @mixin btn-exit {
238
238
  @include button-link;
239
239
  @include focus {
240
- outline: 0.1875rem solid $c-grey-night;
240
+ outline: 0.1875rem solid $c-grey-l21;
241
241
  border-radius: 50%;
242
242
  box-shadow: none;
243
243
 
@@ -246,7 +246,7 @@
246
246
  }
247
247
 
248
248
  path.tint {
249
- fill: $c-grey-night;
249
+ fill: $c-grey-l21;
250
250
  }
251
251
  }
252
252
  }
@@ -296,13 +296,13 @@
296
296
 
297
297
  @mixin btn-cta {
298
298
  @include button-solid(
299
- $background: $c-grey-night,
299
+ $background: $c-grey-l21,
300
300
  $display: 'flex');
301
301
  fill: $white;
302
302
  }
303
303
 
304
304
  @mixin btn-carousel {
305
- @include button-solid($c-grey-night);
305
+ @include button-solid($c-grey-l21);
306
306
  @include single-box($white);
307
307
  border-radius: 50%;
308
308
  font-size: 0;
@@ -313,8 +313,8 @@
313
313
  }
314
314
 
315
315
  &:disabled {
316
- background-color: $c-grey-pearl;
317
- border-color: $c-grey-pearl;
316
+ background-color: $c-grey-l87;
317
+ border-color: $c-grey-l87;
318
318
  opacity: 1;
319
319
  }
320
320
 
@@ -1,22 +1,18 @@
1
1
 
2
2
  @mixin card {
3
- border: 1px solid $c-grey-pearl;
3
+ border: 1px solid $c-grey-l87;
4
4
  border-radius: $border-radius-lg;
5
5
  background-color: white;
6
-
7
- &:not(:first-child) {
8
- margin-top: 1.25rem;
9
- }
10
6
  }
11
7
 
12
8
  @mixin card-header {
13
- border-bottom: 1px solid $c-grey-pearl;
9
+ border-bottom: 1px solid $c-grey-l87;
14
10
  padding: 1.5rem 1.75rem 1.25rem;
15
11
  background-color: transparent;
16
12
  }
17
13
 
18
14
  @mixin card-subtitle {
19
- color: $c-grey-steel !important;
15
+ color: $c-grey-l44 !important;
20
16
  font-size: $font-size-sm;
21
17
  font-weight: 400;
22
18
  margin: 0;
@@ -24,19 +20,18 @@
24
20
 
25
21
  @mixin card-body {
26
22
  padding: 1.75rem 1.75rem 1.5rem;
27
- // padding: 1.5rem;
28
23
  }
29
24
 
30
25
  @mixin card-footer {
31
26
  padding: 1rem;
32
27
 
33
28
  @include media-breakpoint-up(md) {
34
- border-top: 1px solid $c-grey-concrete;
29
+ border-top: 1px solid $c-grey-l65;
35
30
  }
36
31
  }
37
32
 
38
33
  @mixin card-img {
39
- border: 1px solid $c-grey-concrete;
34
+ border: 1px solid $c-grey-l65;
40
35
  margin-bottom: 1rem;
41
36
  max-width: 100%;
42
37
  }
@@ -44,10 +39,8 @@
44
39
  @mixin form-card {
45
40
  .card-header {
46
41
  @include card-header;
47
- // padding: 1.5rem 1.75rem 1.25rem;
48
42
  }
49
43
  .card-body {
50
44
  @include card-body;
51
- // padding: 1.75rem 1.75rem 1.5rem;
52
45
  }
53
46
  }
@@ -18,8 +18,8 @@
18
18
  }
19
19
 
20
20
  @mixin welcome($max-width: 23rem) {
21
- box-shadow: 0 0 0.3125rem rgba($c-grey-night, 0.1);
22
- border: 1px solid $c-grey-pearl;
21
+ box-shadow: 0 0 0.3125rem rgba($c-grey-l21, 0.1);
22
+ border: 1px solid $c-grey-l87;
23
23
  border-radius: $border-radius;
24
24
  margin-bottom: 1.5rem;
25
25
  max-width: $max-width;
@@ -25,7 +25,7 @@
25
25
  box-shadow: 0 0 0 $size $bg;
26
26
  }
27
27
 
28
- @mixin link-focus($color: $c-grey-midnight, $border: $white) {
28
+ @mixin link-focus($color: $c-grey-l11, $border: $white) {
29
29
  @include focus {
30
30
  @include double-box($color, $border);
31
31
  background-color: $color;
@@ -34,9 +34,9 @@
34
34
  }
35
35
 
36
36
  @mixin input-focus-defaults {
37
- @include single-box($c-grey-steel, 0.0625rem);
38
- border: 1px solid $c-grey-steel;
39
- background-color: $c-grey-alpine;
37
+ @include single-box($c-grey-l44, 0.0625rem);
38
+ border: 1px solid $c-grey-l44;
39
+ background-color: $c-grey-l96;
40
40
  }
41
41
 
42
42
  @mixin neutral-status-colors {
@@ -1,13 +1,13 @@
1
1
 
2
2
  @mixin table-row($gap: 0.75rem) {
3
- border-bottom: 1px solid $c-grey-pearl;
3
+ border-bottom: 1px solid $c-grey-l87;
4
4
  padding-bottom: $gap;
5
5
  padding-top: $gap;
6
6
  }
7
7
 
8
8
  @mixin table-link--focus {
9
- @include single-box($c-grey-night);
10
- background-color: $c-grey-night;
9
+ @include single-box($c-grey-l21);
10
+ background-color: $c-grey-l21;
11
11
  color: $white;
12
12
  }
13
13
 
@@ -23,7 +23,7 @@
23
23
  th, td {
24
24
  @include media-breakpoint-up(md) {
25
25
  &:not(:last-of-type) {
26
- border-right: 1px solid $c-grey-pearl;
26
+ border-right: 1px solid $c-grey-l87;
27
27
  }
28
28
 
29
29
  &:last-of-type {
@@ -3,13 +3,13 @@
3
3
  padding: 0.8125rem 2.5rem 0.8125rem 0.8125rem;
4
4
  background-position: right 0.75rem center;
5
5
  background-image: url($select-arrow);
6
- border: 1px solid $c-grey-concrete;
7
- background-color: $c-grey-alpine;
6
+ border: 1px solid $c-grey-l65;
7
+ background-color: $c-grey-l96;
8
8
  border-radius: $border-radius-lg;
9
9
  background-size: 1rem 0.75rem;
10
10
  background-repeat: no-repeat;
11
11
  line-height: 1.375rem;
12
- color: $c-grey-night;
12
+ color: $c-grey-l21;
13
13
  font-size: inherit;
14
14
  font-weight: 400;
15
15
  transition: none;
@@ -24,9 +24,9 @@
24
24
  outline: none;
25
25
 
26
26
  ~ label {
27
- @include single-box($c-grey-steel, 0.0625rem);
28
- border: 1px solid $c-grey-steel;
29
- background-color: $c-grey-alpine;
27
+ @include single-box($c-grey-l44, 0.0625rem);
28
+ border: 1px solid $c-grey-l44;
29
+ background-color: $c-grey-l96;
30
30
  }
31
31
 
32
32
  &:checked ~ label {
@@ -43,19 +43,19 @@
43
43
 
44
44
  @mixin generic-input-label($state: neutral) {
45
45
  padding: 0.75rem 0.75rem 0.625rem 2.75rem;
46
- border: 1px solid $c-grey-concrete;
46
+ border: 1px solid $c-grey-l65;
47
47
  border-radius: $border-radius-lg;
48
48
  background-color: $white;
49
49
  font-weight: 400;
50
50
  display: block;
51
51
 
52
52
  @if $state != disabled {
53
- color: $c-grey-night;
53
+ color: $c-grey-l21;
54
54
  cursor: pointer;
55
55
  }
56
56
 
57
57
  @if $state == disabled {
58
- color: $c-grey-steel;
58
+ color: $c-grey-l44;
59
59
  cursor: not-allowed;
60
60
 
61
61
  &.spx-label-field__checkout,
@@ -1,19 +1,19 @@
1
1
 
2
2
  @mixin all-text-inputs {
3
- [type='color'],
4
- [type='date'],
5
- [type='datetime'],
6
- [type='datetime-local'],
7
- [type='email'],
8
- [type='month'],
9
- [type='number'],
10
- [type='password'],
11
- [type='search'],
12
- [type='tel'],
13
- [type='text'],
14
- [type='time'],
15
- [type='url'],
16
- [type='week'],
3
+ [type=color],
4
+ [type=date],
5
+ [type=datetime],
6
+ [type=datetime-local],
7
+ [type=email],
8
+ [type=month],
9
+ [type=number],
10
+ [type=password],
11
+ [type=search],
12
+ [type=tel],
13
+ [type=text],
14
+ [type=time],
15
+ [type=url],
16
+ [type=week],
17
17
  input:not([type]),
18
18
  textarea {
19
19
  @content;
@@ -23,13 +23,13 @@
23
23
  @mixin text-input-defaults {
24
24
  border: solid $border-width $c-border-strong;
25
25
  padding: 0.875rem 0.875rem 0.75rem;
26
- background-color: $c-grey-alpine;
26
+ background-color: $c-grey-l96;
27
27
  border-radius: $border-radius-lg;
28
28
  line-height: 1.375rem;
29
- color: $c-grey-night;
29
+ color: $c-grey-l21;
30
30
 
31
31
  &:disabled, &[readonly] {
32
- background-color: $c-grey-alpine;
33
- color: $c-grey-steel;
32
+ background-color: $c-grey-l96;
33
+ color: $c-grey-l44;
34
34
  }
35
35
  }
@@ -3,7 +3,7 @@
3
3
  $mq: md;
4
4
 
5
5
  thead {
6
- background-color: $c-grey-alpine;
6
+ background-color: $c-grey-l96;
7
7
  margin-bottom: 1rem;
8
8
  font-weight: 700;
9
9
  display: block;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  thead tr {
17
- border: 1px solid $c-grey-pearl;
17
+ border: 1px solid $c-grey-l87;
18
18
  }
19
19
 
20
20
  tr {
@@ -30,7 +30,7 @@
30
30
  }
31
31
 
32
32
  tbody tr {
33
- border: 1px solid $c-grey-pearl;
33
+ border: 1px solid $c-grey-l87;
34
34
 
35
35
  &:not(:last-of-type) {
36
36
  margin-bottom: 1rem;
@@ -42,7 +42,7 @@
42
42
 
43
43
  @include media-breakpoint-up($mq) {
44
44
  &:not(:last-of-type) {
45
- border-right: 1px solid $c-grey-pearl;
45
+ border-right: 1px solid $c-grey-l87;
46
46
  }
47
47
 
48
48
  &:last-of-type {
@@ -3,7 +3,7 @@
3
3
  $mq: md;
4
4
 
5
5
  thead {
6
- background-color: $c-grey-alpine;
6
+ background-color: $c-grey-l96;
7
7
  margin-bottom: 1rem;
8
8
  font-weight: 700;
9
9
  display: block;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  thead tr, tbody tr.active {
17
- border: 1px solid $c-grey-pearl;
17
+ border: 1px solid $c-grey-l87;
18
18
  display: grid;
19
19
 
20
20
  &:not(:last-of-type) {
@@ -35,7 +35,7 @@
35
35
 
36
36
  @include media-breakpoint-up($mq) {
37
37
  &:not(:last-of-type) {
38
- border-right: 1px solid $c-grey-pearl;
38
+ border-right: 1px solid $c-grey-l87;
39
39
  }
40
40
 
41
41
  &:last-of-type {
@@ -26,7 +26,7 @@
26
26
 
27
27
  @include media-breakpoint-down($mq) {
28
28
  border-radius: $border-radius-lg;
29
- border: 1px solid $c-grey-pearl;
29
+ border: 1px solid $c-grey-l87;
30
30
  display: block;
31
31
  padding: 1rem;
32
32
 
@@ -44,7 +44,7 @@
44
44
  }
45
45
 
46
46
  &:not(:first-of-type):not(:last-of-type) {
47
- border-top: 1px solid $c-grey-pearl;
47
+ border-top: 1px solid $c-grey-l87;
48
48
  }
49
49
 
50
50
  &:last-of-type {
@@ -3,7 +3,7 @@
3
3
  $mq: md;
4
4
 
5
5
  thead {
6
- background-color: $c-grey-alpine;
6
+ background-color: $c-grey-l96;
7
7
  margin-bottom: 1rem;
8
8
  font-weight: 700;
9
9
  display: block;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  thead tr, tbody tr {
17
- border: 1px solid $c-grey-pearl;
17
+ border: 1px solid $c-grey-l87;
18
18
  display: grid;
19
19
 
20
20
  &:not(:last-of-type) {
@@ -3,7 +3,7 @@
3
3
  $mq: md;
4
4
 
5
5
  thead {
6
- background-color: $c-grey-alpine;
6
+ background-color: $c-grey-l96;
7
7
  margin-bottom: 1rem;
8
8
  font-weight: 700;
9
9
  display: block;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  tr {
17
- border: 1px solid $c-grey-pearl;
17
+ border: 1px solid $c-grey-l87;
18
18
  display: grid;
19
19
 
20
20
  &:not(:last-of-type) {
@@ -37,7 +37,7 @@
37
37
  text-align: center;
38
38
 
39
39
  &:not(:last-of-type) {
40
- border-right: 1px solid $c-grey-pearl;
40
+ border-right: 1px solid $c-grey-l87;
41
41
  }
42
42
 
43
43
  &:first-of-type {
@@ -7,7 +7,7 @@
7
7
  $mq: md;
8
8
 
9
9
  tbody tr {
10
- border: 1px solid $c-grey-pearl;
10
+ border: 1px solid $c-grey-l87;
11
11
  }
12
12
 
13
13
  td {
@@ -20,7 +20,7 @@
20
20
 
21
21
  @include media-breakpoint-down($mq) {
22
22
  border-radius: $border-radius-lg;
23
- border: 1px solid $c-grey-pearl;
23
+ border: 1px solid $c-grey-l87;
24
24
  display: block;
25
25
  padding: 1rem;
26
26
 
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  &:not(:first-of-type):not(:last-of-type) {
45
- border-top: 1px solid $c-grey-pearl;
45
+ border-top: 1px solid $c-grey-l87;
46
46
  }
47
47
 
48
48
  &:last-of-type {
@@ -1,3 +1,3 @@
1
1
 
2
- $c-border-faint: $c-grey-pearl;
3
- $c-border-strong: $c-grey-concrete;
2
+ $c-border-faint: $c-grey-l87;
3
+ $c-border-strong: $c-grey-l65;
@@ -1,7 +1,7 @@
1
1
 
2
- $c-grey-midnight: #1d1d1d;
3
- $c-grey-night: #353535;
4
- $c-grey-steel: #707070;
5
- $c-grey-concrete:#a5a5a5;
6
- $c-grey-pearl: #ddd;
7
- $c-grey-alpine: #f6f6f6;
2
+ $c-grey-l11: hsl(0, 0%, 11%); // midnight
3
+ $c-grey-l21: hsl(0, 0%, 21%); // night
4
+ $c-grey-l44: hsl(0, 0%, 44%); // steel
5
+ $c-grey-l65:hsl(0, 0%, 65%); // concrete
6
+ $c-grey-l87: hsl(0, 0%, 87%); // pearl
7
+ $c-grey-l96: hsl(0, 0%, 96%); // alpine
@@ -9,7 +9,7 @@ $c-brand-membership-dark: hsl(223, 87%, 21%);
9
9
 
10
10
  // ------------------------------
11
11
 
12
- $c-patron: $c-grey-steel;
12
+ $c-patron: $c-grey-l44;
13
13
  $c-patron-light: hsl(0, 0%, 60%);
14
14
 
15
15
  $c-principle: $c-brand-classical;
@@ -1,5 +1,5 @@
1
1
 
2
- $c-brand-programme: $c-grey-night;
2
+ $c-brand-programme: $c-grey-l21;
3
3
 
4
4
  $c-brand-programme-tint-98: tint($c-brand-programme, 98%);
5
5
  $c-brand-programme-tint-70: tint($c-brand-programme, 70%);
@@ -0,0 +1,9 @@
1
+
2
+ > li {
3
+ &.l11 { background-color: $c-grey-l11; }
4
+ &.l21 { background-color: $c-grey-l21; }
5
+ &.l44 { background-color: $c-grey-l44; }
6
+ &.l65 { background-color: $c-grey-l65; }
7
+ &.l87 { background-color: $c-grey-l87; }
8
+ &.l96 { background-color: $c-grey-l96; }
9
+ }
@@ -9,17 +9,18 @@
9
9
  body {
10
10
  line-height: $line-height-md;
11
11
  font-family: $font-family;
12
- color: $c-grey-night;
13
- }
12
+ color: $c-grey-l21;
13
+ }
14
14
 
15
15
  .br-color--palette {
16
16
  list-style: none;
17
+ margin: 0 0 2rem;
17
18
  display: flex;
18
19
  gap: 0.125rem;
19
20
  padding: 0;
20
- margin: 0;
21
21
 
22
22
  &.generic { @import "scss/colors/generic"; }
23
+ &.grey { @import "scss/colors/grey"; }
23
24
  }
24
25
 
25
26
  .br-color--sample {
@@ -36,3 +37,17 @@ body {
36
37
  }
37
38
  }
38
39
 
40
+ h1 {
41
+ border-bottom: 1px solid grey;
42
+ padding-bottom: 0.25rem;
43
+ margin: 0 0 2rem;
44
+ }
45
+
46
+ h2 {
47
+ margin: 0 0 1rem;
48
+ }
49
+
50
+ h3 {
51
+ margin: 0 0 0.5rem;
52
+ }
53
+
@@ -67,15 +67,15 @@
67
67
  body {
68
68
  line-height: 1.4;
69
69
  font-family: FuturaLTPro, "Helvetica", "Arial", sans-serif;
70
- color: #353535;
70
+ color: hsl(0deg, 0%, 21%);
71
71
  }
72
72
 
73
73
  .br-color--palette {
74
74
  list-style: none;
75
+ margin: 0 0 2rem;
75
76
  display: flex;
76
77
  gap: 0.125rem;
77
78
  padding: 0;
78
- margin: 0;
79
79
  }
80
80
  .br-color--palette.generic > li {
81
81
  background-color: hsl(21deg, 100%, 41%);
@@ -104,6 +104,24 @@ body {
104
104
  .br-color--palette.generic > li.s100-l15 {
105
105
  background-color: hsl(21deg, 100%, 15%);
106
106
  }
107
+ .br-color--palette.grey > li.l11 {
108
+ background-color: hsl(0deg, 0%, 11%);
109
+ }
110
+ .br-color--palette.grey > li.l21 {
111
+ background-color: hsl(0deg, 0%, 21%);
112
+ }
113
+ .br-color--palette.grey > li.l44 {
114
+ background-color: hsl(0deg, 0%, 44%);
115
+ }
116
+ .br-color--palette.grey > li.l65 {
117
+ background-color: hsl(0deg, 0%, 65%);
118
+ }
119
+ .br-color--palette.grey > li.l87 {
120
+ background-color: hsl(0deg, 0%, 87%);
121
+ }
122
+ .br-color--palette.grey > li.l96 {
123
+ background-color: hsl(0deg, 0%, 96%);
124
+ }
107
125
 
108
126
  .br-color--sample {
109
127
  background: grey;
@@ -116,4 +134,18 @@ body {
116
134
  font-weight: bold;
117
135
  color: grey;
118
136
  display: grid;
137
+ }
138
+
139
+ h1 {
140
+ border-bottom: 1px solid grey;
141
+ padding-bottom: 0.25rem;
142
+ margin: 0 0 2rem;
143
+ }
144
+
145
+ h2 {
146
+ margin: 0 0 1rem;
147
+ }
148
+
149
+ h3 {
150
+ margin: 0 0 0.5rem;
119
151
  }
@@ -1,7 +1,18 @@
1
1
  extends layout
2
2
  block content
3
3
  h1 Color Palettes
4
+
5
+ h2 Grey
6
+ ul.br-color--palette.grey
7
+ li.br-color--sample.l11
8
+ li.br-color--sample.l21
9
+ li.br-color--sample.l44
10
+ li.br-color--sample.l65
11
+ li.br-color--sample.l87
12
+ li.br-color--sample.l96
13
+
4
14
  h2 Brand
15
+
5
16
  h3 Generic
6
17
  ul.br-color--palette.generic
7
18
  li.br-color--sample
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.8.7",
3
+ "version": "1.9.0",
4
4
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/scss/_atomic.scss CHANGED
@@ -77,4 +77,8 @@ $paddings05: "padding-top", "padding-bottom", "padding-right", "padding-left";
77
77
 
78
78
  .background-color-alt {
79
79
  background-color: $c-brand-generic-tint-98;
80
+ }
81
+
82
+ .min-width-3 {
83
+ min-width: 3rem;
80
84
  }
@@ -4,7 +4,7 @@
4
4
  width: 1.875rem;
5
5
 
6
6
  .outline, .cross {
7
- fill: $c-grey-night;
7
+ fill: $c-grey-l21;
8
8
  }
9
9
 
10
10
  .fill {
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  &.focus-visible {
25
- @include single-box($c-grey-night);
25
+ @include single-box($c-grey-l21);
26
26
  background-color: $white;
27
27
  border-radius: 50%;
28
28
 
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  .fill {
34
- fill: $c-grey-night;
34
+ fill: $c-grey-l21;
35
35
  }
36
36
  }
37
37
  }
package/scss/_footer.scss CHANGED
@@ -2,7 +2,7 @@ footer {
2
2
  color: $white;
3
3
 
4
4
  &:not(.splash) {
5
- background-color: $c-grey-midnight;
5
+ background-color: $c-grey-l11;
6
6
  }
7
7
  }
8
8
 
package/scss/_input.scss CHANGED
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  input::placeholder {
9
- color: $c-grey-concrete;
9
+ color: $c-grey-l65;
10
10
  }
11
11
 
12
12
  input[type=checkbox],
@@ -27,6 +27,14 @@ input[type=number] {
27
27
  }
28
28
  }
29
29
 
30
+ input[type=file] {
31
+ @include focus {
32
+ @include double-box($c-grey-l96, $c-grey-l44);
33
+ background-color: $c-grey-l96;
34
+ outline: none;
35
+ }
36
+ }
37
+
30
38
  @include all-text-inputs {
31
39
  @include text-input-defaults;
32
40
  @include focus {
package/scss/_klaro.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  @mixin cm-button {
2
- background: $c-grey-steel;
2
+ background: $c-grey-l44;
3
3
  border-radius: $border-radius;
4
4
  font-size: $font-size-sm;
5
5
  padding: 0.5em 0.75em;
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &.focus-visible {
21
- @include double-box($c-grey-night, $white, md);
21
+ @include double-box($c-grey-l21, $white, md);
22
22
  }
23
23
 
24
24
  &.cm-btn-success {
@@ -68,8 +68,8 @@
68
68
  color: inherit;
69
69
 
70
70
  &.focus-visible {
71
- @include double-box($c-grey-night, $c-grey-alpine, md);
72
- background-color: $c-grey-night;
71
+ @include double-box($c-grey-l21, $c-grey-l96, md);
72
+ background-color: $c-grey-l21;
73
73
  outline: none;
74
74
  }
75
75
  }
@@ -90,7 +90,7 @@
90
90
  }
91
91
 
92
92
  .cm-list-description {
93
- color: $c-grey-concrete;
93
+ color: $c-grey-l65;
94
94
  font-size: $font-size-sm;
95
95
  padding-top: 0.25rem;
96
96
  }
@@ -104,7 +104,7 @@
104
104
  top: 0;
105
105
 
106
106
  &:focus + .cm-list-label .slider {
107
- @include double-box($c-grey-night, $white);
107
+ @include double-box($c-grey-l21, $white);
108
108
  }
109
109
 
110
110
  &:checked + .cm-list-label .slider {
@@ -124,7 +124,7 @@
124
124
  }
125
125
 
126
126
  .slider {
127
- background-color: $c-grey-steel;
127
+ background-color: $c-grey-l44;
128
128
  display: inline-block;
129
129
  position: absolute;
130
130
  cursor: pointer;
@@ -161,7 +161,7 @@
161
161
  }
162
162
 
163
163
  .klaro {
164
- color: $c-grey-alpine;
164
+ color: $c-grey-l96;
165
165
 
166
166
  label {
167
167
  margin-bottom: 0.25rem;
@@ -193,7 +193,7 @@
193
193
  }
194
194
 
195
195
  &.focus-visible {
196
- @include double-box($c-grey-night, $c-grey-pearl);
196
+ @include double-box($c-grey-l21, $c-grey-l87);
197
197
  }
198
198
  }
199
199
 
@@ -223,8 +223,8 @@
223
223
 
224
224
  .cm-modal {
225
225
  &.cm-klaro {
226
- background: $c-grey-night;
227
- color: $c-grey-pearl;
226
+ background: $c-grey-l21;
227
+ color: $c-grey-l87;
228
228
  box-shadow: 0 4px 6px 0 rgba($black, 0.2),
229
229
  5px 5px 10px 0 rgba($black, 0.2);
230
230
  transform: translateY(-50%);
@@ -246,7 +246,7 @@
246
246
  }
247
247
 
248
248
  .cm-header {
249
- border-bottom: 1px solid $c-grey-steel;
249
+ border-bottom: 1px solid $c-grey-l44;
250
250
  padding: 1rem 3.15rem 1rem 1rem;
251
251
  font-size: $font-size-sm;
252
252
 
@@ -255,7 +255,7 @@
255
255
  }
256
256
 
257
257
  p {
258
- color: $c-grey-concrete;
258
+ color: $c-grey-l65;
259
259
  }
260
260
  }
261
261
 
@@ -302,7 +302,7 @@
302
302
  }
303
303
 
304
304
  &.cm-toggle-all {
305
- border-top: 1px solid $c-grey-steel;
305
+ border-top: 1px solid $c-grey-l44;
306
306
  padding-top: 1rem;
307
307
  }
308
308
  }
@@ -321,7 +321,7 @@
321
321
  }
322
322
 
323
323
  .cm-footer {
324
- border-top: 1px solid $c-grey-steel;
324
+ border-top: 1px solid $c-grey-l44;
325
325
  padding: 1rem;
326
326
 
327
327
  .cm-powered-by {
@@ -337,7 +337,7 @@
337
337
 
338
338
  .cm-list-label {
339
339
  &.focus-visible {
340
- @include double-box($c-grey-night, $c-grey-alpine);
340
+ @include double-box($c-grey-l21, $c-grey-l96);
341
341
  outline: none;
342
342
  }
343
343
  }
@@ -365,12 +365,12 @@
365
365
  outline: none;
366
366
 
367
367
  svg {
368
- @include double-box($c-grey-night, $white, md);
368
+ @include double-box($c-grey-l21, $white, md);
369
369
  }
370
370
  }
371
371
 
372
372
  svg {
373
- stroke: $c-grey-pearl;
373
+ stroke: $c-grey-l87;
374
374
  }
375
375
  }
376
376
  }
@@ -381,7 +381,7 @@
381
381
 
382
382
  &:not(.cookie-modal-notice) {
383
383
  @include cookie-position;
384
- background: $c-grey-night;
384
+ background: $c-grey-l21;
385
385
 
386
386
  .cn-body {
387
387
  padding: 1.25rem;
@@ -399,7 +399,7 @@
399
399
  }
400
400
 
401
401
  p {
402
- color: $c-grey-concrete;
402
+ color: $c-grey-l65;
403
403
  }
404
404
 
405
405
  &.cn-changes {
@@ -420,7 +420,7 @@
420
420
  }
421
421
 
422
422
  .cn-learn-more {
423
- background: $c-grey-steel;
423
+ background: $c-grey-l44;
424
424
  border-radius: $border-radius;
425
425
  text-decoration: none;
426
426
  display: inline-block;
@@ -2,8 +2,8 @@
2
2
  $angle: 120deg;
3
3
 
4
4
  .card[membership] {
5
- box-shadow: 0 0 0.375rem rgba($c-grey-steel, 0.5);
6
- background: $c-grey-night;
5
+ box-shadow: 0 0 0.375rem rgba($c-grey-l44, 0.5);
6
+ background: $c-grey-l21;
7
7
  width: calc(100% - 1rem);
8
8
  display: inline-block;
9
9
  margin: 0.5rem;
@@ -1,6 +1,6 @@
1
1
 
2
2
  .card[related] {
3
- border: 1px solid $c-grey-pearl;
3
+ border: 1px solid $c-grey-l87;
4
4
  overflow: hidden;
5
5
 
6
6
  + .card {
@@ -1,5 +1,5 @@
1
1
 
2
- $border: 1px solid $c-grey-pearl;
2
+ $border: 1px solid $c-grey-l87;
3
3
 
4
4
  .card[video-help] {
5
5
  overflow: hidden;
package/scss/index.scss CHANGED
@@ -39,7 +39,7 @@
39
39
  body {
40
40
  line-height: $line-height-md;
41
41
  font-family: $font-family;
42
- color: $c-grey-night;
42
+ color: $c-grey-l21;
43
43
  }
44
44
 
45
45
  h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {