barbican-reset 2.11.0 → 2.13.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.
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.11.0"
57
+ "version": "2.13.0"
58
58
  }
@@ -64,15 +64,15 @@ $brands: ();
64
64
  @return map-get(map-get($brands, $name), $variant);
65
65
  }
66
66
 
67
- $c-brand-cinema-dark: brand(cinema, shade-20); // deprecated
68
- $c-brand-shop-light: brand(shop, tint-85); // deprecated
69
- $c-brand-shop-dark: brand(shop, shade-20); // deprecated
70
- $c-brand-generic-s60-l99: brand(generic, tint-95); // faint deprecated
71
- $c-brand-generic-s100-l95: brand(generic, tint-85); // light deprecated
72
- $c-brand-generic-s50-l90: brand(generic, tint-70); // shade deprecated
73
- $c-brand-generic-s100-l38: brand(generic, shade-10); // dark deprecated
74
- $c-brand-generic-s100-l15: brand(generic, shade-65); // x-dark deprecated
67
+ $c-brand-cinema-dark: color(cinema, shade-20); // deprecated
68
+ $c-brand-shop-light: color(shop, tint-85); // deprecated
69
+ $c-brand-shop-dark: color(shop, shade-20); // deprecated
70
+ $c-brand-generic-s60-l99: color(generic, tint-95); // faint deprecated
71
+ $c-brand-generic-s100-l95: color(generic, tint-85); // light deprecated
72
+ $c-brand-generic-s50-l90: color(generic, tint-70); // shade deprecated
73
+ $c-brand-generic-s100-l38: color(generic, shade-10); // dark deprecated
74
+ $c-brand-generic-s100-l15: color(generic, shade-65); // x-dark deprecated
75
75
 
76
- $c-brand-classical-light: brand(classical-music, tint-95); // deprecated
77
- $c-brand-classical-dark: brand(classical-music, shade-20); // deprecated
76
+ $c-brand-classical-light: color(classical-music, tint-95); // deprecated
77
+ $c-brand-classical-dark: color(classical-music, shade-20); // deprecated
78
78
  $c-brand-membership-dark: hsl(223, 87%, 21%);
@@ -32,17 +32,17 @@ body {
32
32
 
33
33
  @include brand using($color, $variant) {
34
34
  .item.item-palette {
35
- background-color: brand($color);
35
+ background-color: color($color);
36
36
 
37
37
  @each $shade in $shades {
38
38
  &.shade-#{$shade} {
39
- background-color: brand($color, shade-#{$shade});
39
+ background-color: color($color, shade-#{$shade});
40
40
  }
41
41
  }
42
42
 
43
43
  @each $tint in $tints {
44
44
  &.tint-#{$tint} {
45
- background-color: brand($color, tint-#{$tint});
45
+ background-color: color($color, tint-#{$tint});
46
46
  }
47
47
  }
48
48
  }
package/scss/_atomic.scss CHANGED
@@ -83,7 +83,7 @@ $paddings05: 'padding-top', 'padding-bottom', 'padding-right', 'padding-left';
83
83
  }
84
84
 
85
85
  .background-color-alt {
86
- background-color: brand(generic, tint-95);
86
+ background-color: color(generic, tint-95);
87
87
  }
88
88
 
89
89
  .min-width-3 {
package/scss/_btn.scss CHANGED
@@ -6,11 +6,27 @@
6
6
  @include btn-primary;
7
7
  }
8
8
 
9
+ // branded buttons
10
+
11
+ @each $key, $value in $brands {
12
+ &.btn-#{$key} {
13
+ @include solid-button(color($key));
14
+ }
15
+ }
16
+
9
17
  &.btn-outline-primary {
10
18
  // orange outline, fill on focus
11
19
  @include btn-outline-primary;
12
20
  }
13
21
 
22
+ // branded outline buttons
23
+
24
+ @each $key, $value in $brands {
25
+ &.btn-outline-#{$key} {
26
+ @include outline-button(color($key));
27
+ }
28
+ }
29
+
14
30
  &.btn-outline-header {
15
31
  // orange outline, fill on focus
16
32
  @include btn-outline-header;
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .fill {
11
- fill: brand(generic, tint-95);
11
+ fill: color(generic, tint-95);
12
12
  }
13
13
  }
14
14