barbican-reset 2.28.0 → 2.29.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,22 @@
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);
303
306
  }
304
307
  }
305
308
 
@@ -342,8 +345,6 @@
342
345
  @include flex-button($gap: 0.5rem);
343
346
  }
344
347
 
345
- // Access Overlay Work -- End
346
-
347
348
  @mixin btn-expand {
348
349
  display: block;
349
350
  }
@@ -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.29.0"
107
107
  }