barbican-reset 2.2.2 → 2.2.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.
@@ -46,12 +46,7 @@
46
46
  z-index: 2;
47
47
  }
48
48
 
49
- @mixin double-box(
50
- $bg: $white,
51
- $col: $black,
52
- $bg_size: 0.25rem,
53
- $col_size: 0.15rem
54
- ) {
49
+ @mixin double-box($bg: $white, $col: $black, $bg_size: 0.25rem, $col_size: 0.15rem) {
55
50
  @include box-setup;
56
51
  box-shadow: 0 0 0 $bg_size $bg, 0 0 0 ($bg_size + $col_size) $col;
57
52
  }
@@ -106,15 +101,9 @@
106
101
 
107
102
  @mixin skip-link {
108
103
  @include focus-visible {
109
- background-color: $c-grey-l21;
110
- border-radius: 0.5rem;
111
104
  position: absolute;
112
- padding: 0.5rem;
113
- margin: 0.5rem;
114
- color: white;
115
- outline: none;
105
+ @content;
116
106
  }
117
-
118
107
  @include not-focus-visible {
119
108
  @include sr-only;
120
109
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "_args": [
3
3
  [
4
- "barbican-reset@2.2.2",
4
+ "barbican-reset@2.2.4",
5
5
  "/Users/pheading/Sites/eticketing-vue"
6
6
  ]
7
7
  ],
8
- "_from": "barbican-reset@2.2.2",
9
- "_id": "barbican-reset@2.2.2",
8
+ "_from": "barbican-reset@2.2.4",
9
+ "_id": "barbican-reset@2.2.4",
10
10
  "_inBundle": false,
11
11
  "_integrity": "sha512-9QMrzuoZ/NZfFlFagC6go3ofn5hBhU9rtSPEeGH0krwY5dBKOlfs8oGIvqUaEGFKI+jQ3spuDOQoeyYK5NRiQw==",
12
12
  "_location": "/barbican-reset",
@@ -35,18 +35,18 @@
35
35
  "_requested": {
36
36
  "type": "version",
37
37
  "registry": true,
38
- "raw": "barbican-reset@2.2.2",
38
+ "raw": "barbican-reset@2.2.4",
39
39
  "name": "barbican-reset",
40
40
  "escapedName": "barbican-reset",
41
- "rawSpec": "2.2.2",
41
+ "rawSpec": "2.2.4",
42
42
  "saveSpec": null,
43
- "fetchSpec": "2.2.2"
43
+ "fetchSpec": "2.2.4"
44
44
  },
45
45
  "_requiredBy": [
46
46
  "/"
47
47
  ],
48
- "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-2.2.2.tgz",
49
- "_spec": "2.2.2",
48
+ "_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-2.2.4.tgz",
49
+ "_spec": "2.2.4",
50
50
  "_where": "/Users/pheading/Sites/eticketing-vue",
51
51
  "author": {
52
52
  "name": "Paul Heading"
@@ -100,5 +100,5 @@
100
100
  "watch:patterns": "cd patterns && gulp watch"
101
101
  },
102
102
  "style": "dist/css/barbican-reset.css",
103
- "version": "2.2.2"
103
+ "version": "2.2.4"
104
104
  }
@@ -19,6 +19,7 @@ $setup : (
19
19
  membership--support : $c-brand-membership,
20
20
  tours--public-spaces : $c-brand-generic,
21
21
  classical-music : $c-brand-classical,
22
+ talks--workshops : $c-brand-talks, // deprecated
22
23
  theatre--dance : $c-brand-theatre,
23
24
  talks--events : $c-brand-talks,
24
25
  art--design : $c-brand-art,
@@ -42,6 +43,7 @@ $brands: ();
42
43
  tint-70: tint($color, 70%),
43
44
  tint-85: tint($color, 85%),
44
45
  tint-95: tint($color, 95%),
46
+ tint-98: tint($color, 98%),
45
47
  );
46
48
  @return $map;
47
49
  }
@@ -65,6 +67,6 @@ $c-brand-generic-s50-l90: brand(generic, tint-70); // shade deprecated
65
67
  $c-brand-generic-s100-l38: brand(generic, shade-10); // dark deprecated
66
68
  $c-brand-generic-s100-l15: brand(generic, shade-65); // x-dark deprecated
67
69
 
68
- $c-brand-classical-light: hsl(38, 53%, 95%);
69
- $c-brand-classical-dark: hsl(38, 53%, 30%);
70
+ $c-brand-classical-light: brand(classical-music, tint-95); // deprecated
71
+ $c-brand-classical-dark: brand(classical-music, shade-20); // deprecated
70
72
  $c-brand-membership-dark: hsl(223, 87%, 21%);
@@ -74,7 +74,7 @@ body {
74
74
 
75
75
  .list.list-palette.sample {
76
76
  .item.item-palette {
77
- background-color: $c-brand-generic-s100-l15;
77
+ background-color: $c-brand-membership-dark;
78
78
  }
79
79
  }
80
80
 
@@ -173,6 +173,30 @@ body {
173
173
  .list.list-palette.brand-classical-music .item.item-palette.tint-95 {
174
174
  background-color: #faf8f5;
175
175
  }
176
+ .list.list-palette.brand-talks--workshops .item.item-palette {
177
+ background-color: hsl(214deg, 30%, 49%);
178
+ }
179
+ .list.list-palette.brand-talks--workshops .item.item-palette.shade-65 {
180
+ background-color: #1e2a39;
181
+ }
182
+ .list.list-palette.brand-talks--workshops .item.item-palette.shade-20 {
183
+ background-color: #466082;
184
+ }
185
+ .list.list-palette.brand-talks--workshops .item.item-palette.shade-10 {
186
+ background-color: #4e6c92;
187
+ }
188
+ .list.list-palette.brand-talks--workshops .item.item-palette.tint-40 {
189
+ background-color: #9aaec7;
190
+ }
191
+ .list.list-palette.brand-talks--workshops .item.item-palette.tint-70 {
192
+ background-color: #cdd7e3;
193
+ }
194
+ .list.list-palette.brand-talks--workshops .item.item-palette.tint-85 {
195
+ background-color: #e6ebf1;
196
+ }
197
+ .list.list-palette.brand-talks--workshops .item.item-palette.tint-95 {
198
+ background-color: #f7f8fa;
199
+ }
176
200
  .list.list-palette.brand-theatre--dance .item.item-palette {
177
201
  background-color: hsl(192deg, 99%, 31%);
178
202
  }
@@ -410,7 +434,7 @@ body {
410
434
  }
411
435
 
412
436
  .list.list-palette.sample .item.item-palette {
413
- background-color: #491a00;
437
+ background-color: hsl(223deg, 87%, 21%);
414
438
  }
415
439
 
416
440
  .item.item-palette {
@@ -15,8 +15,6 @@ block content
15
15
  h2 Brand
16
16
 
17
17
  +Samples('Contemporary','contemporary-music')
18
- +Samples('Membership','membership--support')
19
- +Samples('Classical','classical-music')
20
18
  +Samples('Theatre','theatre--dance')
21
19
  +Samples('Talks','talks--events')
22
20
  +Samples('Art','art--design')
@@ -24,7 +22,9 @@ block content
24
22
  +Samples('Cinema','cinema')
25
23
  +Samples('Shop','shop')
26
24
  +Samples('Generic / Library / Tours / Hire','generic')
27
-
25
+ +Samples('Classical','classical-music')
26
+ +Samples('Membership','membership--support')
27
+
28
28
  h2 Sample
29
29
  ul.list.list-palette.sample
30
30
  li.item.item-palette
@@ -8,4 +8,5 @@ mixin Samples(title, className)
8
8
  li.item.item-palette.tint-40
9
9
  li.item.item-palette.tint-70
10
10
  li.item.item-palette.tint-85
11
- li.item.item-palette.tint-95
11
+ li.item.item-palette.tint-95
12
+ li.item.item-palette.tint-98