barbican-reset 2.13.0 → 2.14.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 (2) hide show
  1. package/package.json +1 -1
  2. package/scss/_btn.scss +14 -5
package/package.json CHANGED
@@ -54,5 +54,5 @@
54
54
  "watch:patterns": "cd patterns && gulp watch"
55
55
  },
56
56
  "style": "dist/css/barbican-reset.css",
57
- "version": "2.13.0"
57
+ "version": "2.14.0"
58
58
  }
package/scss/_btn.scss CHANGED
@@ -1,3 +1,10 @@
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
+
1
8
  .btn {
2
9
  @include setup-button;
3
10
 
@@ -6,24 +13,26 @@
6
13
  @include btn-primary;
7
14
  }
8
15
 
16
+ &.btn-outline-primary {
17
+ // orange outline, fill on focus
18
+ @include btn-outline-primary;
19
+ }
20
+
9
21
  // branded buttons
10
22
 
11
23
  @each $key, $value in $brands {
12
24
  &.btn-#{$key} {
13
25
  @include solid-button(color($key));
26
+ @include flex-button;
14
27
  }
15
28
  }
16
29
 
17
- &.btn-outline-primary {
18
- // orange outline, fill on focus
19
- @include btn-outline-primary;
20
- }
21
-
22
30
  // branded outline buttons
23
31
 
24
32
  @each $key, $value in $brands {
25
33
  &.btn-outline-#{$key} {
26
34
  @include outline-button(color($key));
35
+ @include flex-button;
27
36
  }
28
37
  }
29
38