barbican-reset 2.28.0 → 2.30.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.
@@ -287,19 +287,27 @@
287
287
  }
288
288
  }
289
289
 
290
- // Access Overlay Work -- Start
291
-
292
290
  @mixin btn-membership-pill {
293
- $colors: black, white;
291
+ @include outline-button($c-grey-l11, white);
294
292
 
295
- @include outline-button($colors...);
293
+ $border: 1px solid $c-grey-l11;
296
294
 
297
- @include focus {
298
- @include outline-button-focus($colors...);
295
+ &:hover {
296
+ @include outline-button-focus($c-grey-l87, $c-grey-l11, $border);
297
+ }
298
+
299
+ @include focus-visible {
300
+ @include outline-button-focus($c-grey-l87, $c-grey-l11, $border);
301
+ outline: $border;
299
302
  }
300
303
 
301
304
  &[data-status="active"] {
302
- @include outline-button-focus($colors...);
305
+ @include outline-button-focus($c-grey-l11, white, $border);
306
+
307
+ @include focus {
308
+ outline: 2px solid $c-grey-l11;
309
+ outline-offset: toRem(2);
310
+ }
303
311
  }
304
312
  }
305
313
 
@@ -342,8 +350,6 @@
342
350
  @include flex-button($gap: 0.5rem);
343
351
  }
344
352
 
345
- // Access Overlay Work -- End
346
-
347
353
  @mixin btn-expand {
348
354
  display: block;
349
355
  }
@@ -30,15 +30,15 @@
30
30
  }
31
31
 
32
32
  @include focus {
33
- @include outline-button-focus($color, $background, $border)
33
+ @include outline-button-focus($color, $background, 1px solid $border)
34
34
  }
35
35
  }
36
36
 
37
- @mixin outline-button-focus($color: $c-brand-generic, $background: white, $border: 1px) {
38
- border: $border solid $color;
37
+ @mixin outline-button-focus($color: $c-brand-generic, $background: white, $border: 1px solid $c-brand-generic) {
39
38
  background-color: $color;
40
39
  color: $background;
41
40
  box-shadow: none;
41
+ border: $border;
42
42
  outline: none;
43
43
 
44
44
  path {
@@ -26,7 +26,7 @@
26
26
  @include btn-outline-secondary;
27
27
 
28
28
  &:focus {
29
- @include outline-button-focus($c-grey-l21);
29
+ @include outline-button-focus($c-grey-l21, white, 1px solid $c-grey-l21);
30
30
  }
31
31
  }
32
32
 
package/package.json CHANGED
@@ -103,5 +103,5 @@
103
103
  "watch:patterns": "cd patterns && gulp watch"
104
104
  },
105
105
  "style": "dist/css/barbican-reset.css",
106
- "version": "2.28.0"
106
+ "version": "2.30.0"
107
107
  }