barbican-reset 2.5.0 → 2.7.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.
@@ -16,22 +16,22 @@
16
16
  border: 0;
17
17
  }
18
18
 
19
- @import 'br-alert';
20
- @import 'br-form-row';
21
- @import 'br-form-update';
22
- @import 'br-form-password';
23
- @import 'br-footer';
24
- @import 'account/orders';
25
- @import 'basket';
26
- @import 'buttons';
27
- @import 'card';
28
- @import 'content';
29
- @import 'city-of-london';
30
- @import 'core';
31
- @import 'drupal/index.scss';
32
- @import 'festival';
33
- @import 'focus';
34
- @import 'font';
35
- @import 'loading';
36
- @import 'input';
37
- @import 'table';
19
+ @import "br-alert";
20
+ @import "br-form-row";
21
+ @import "br-form-update";
22
+ @import "br-form-password";
23
+ @import "br-footer";
24
+ @import "account/orders";
25
+ @import "basket";
26
+ @import "buttons";
27
+ @import "card";
28
+ @import "content";
29
+ @import "city-of-london";
30
+ @import "core";
31
+ @import "drupal/index.scss";
32
+ @import "festival";
33
+ @import "focus";
34
+ @import "font";
35
+ @import "loading";
36
+ @import "input";
37
+ @import "table";
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.5.0"
106
+ "version": "2.7.0"
107
107
  }
@@ -14,21 +14,22 @@ $c-patron-light: hsl(0, 0%, 60%);
14
14
  $c-principle: $c-brand-classical;
15
15
  $c-principle-light: hsl(38, 53%, 53%);
16
16
 
17
- $setup : (
18
- contemporary-music : $c-brand-contemporary,
19
- membership--support : $c-brand-membership,
20
- tours--public-spaces : $c-brand-generic,
21
- classical-music : $c-brand-classical,
22
- talks--workshops : $c-brand-talks, // deprecated
23
- theatre--dance : $c-brand-theatre,
24
- talks--events : $c-brand-talks,
25
- art--design : $c-brand-art,
26
- generic : $c-brand-generic,
27
- library : $c-brand-generic,
28
- cinema : $c-brand-cinema,
29
- hire : $c-brand-generic,
30
- programme : $c-brand-programme,
31
- shop : $c-brand-shop,
17
+ $setup: (
18
+ contemporary-music: $c-brand-contemporary,
19
+ membership--support: $c-brand-membership,
20
+ tours--public-spaces: $c-brand-generic,
21
+ classical-music: $c-brand-classical,
22
+ talks--workshops: $c-brand-talks,
23
+ // deprecated
24
+ theatre--dance: $c-brand-theatre,
25
+ talks--events: $c-brand-talks,
26
+ art--design: $c-brand-art,
27
+ generic: $c-brand-generic,
28
+ library: $c-brand-generic,
29
+ cinema: $c-brand-cinema,
30
+ hire: $c-brand-generic,
31
+ programme: $c-brand-programme,
32
+ shop: $c-brand-shop,
32
33
  );
33
34
 
34
35
  $brands: ();
@@ -50,12 +51,17 @@ $brands: ();
50
51
 
51
52
  @each $key, $value in $setup {
52
53
  $map: ();
53
- $map: map-merge($map,($key: map-brands($value)));
54
+ $map: map-merge(
55
+ $map,
56
+ (
57
+ $key: map-brands($value),
58
+ )
59
+ );
54
60
  $brands: map-merge($brands, $map);
55
61
  }
56
62
 
57
- @function brand($color, $variant: base) {
58
- @return map-get(map-get($brands, $color), $variant);
63
+ @function color($name, $variant: base) {
64
+ @return map-get(map-get($brands, $name), $variant);
59
65
  }
60
66
 
61
67
  $c-brand-cinema-dark: brand(cinema, shade-20); // deprecated
@@ -69,4 +75,4 @@ $c-brand-generic-s100-l15: brand(generic, shade-65); // x-dark deprecated
69
75
 
70
76
  $c-brand-classical-light: brand(classical-music, tint-95); // deprecated
71
77
  $c-brand-classical-dark: brand(classical-music, shade-20); // deprecated
72
- $c-brand-membership-dark: hsl(223, 87%, 21%);
78
+ $c-brand-membership-dark: hsl(223, 87%, 21%);
@@ -1,13 +1,13 @@
1
- @import '../../node_modules/bootstrap/scss/functions';
2
- @import '../../node_modules/bootstrap/scss/variables';
3
- @import '../../node_modules/bootstrap/scss/mixins';
4
- @import '../../helpers/index';
1
+ @import "../../node_modules/bootstrap/scss/functions";
2
+ @import "../../node_modules/bootstrap/scss/variables";
3
+ @import "../../node_modules/bootstrap/scss/mixins";
4
+ @import "../../helpers/index";
5
5
 
6
- @import '../../scss/fonts';
7
- @import '../../scss/br-container';
6
+ @import "../../scss/fonts";
7
+ @import "../../scss/br-container";
8
8
 
9
- $shades: '65', '20', '10';
10
- $tints: '40', '70', '85', '95';
9
+ $shades: "65", "20", "10";
10
+ $tints: "40", "70", "85", "95";
11
11
 
12
12
  @mixin brand {
13
13
  @each $color, $variant in $brands {
@@ -44,7 +44,7 @@ body {
44
44
  &.tint-#{$tint} {
45
45
  background-color: brand($color, tint-#{$tint});
46
46
  }
47
- }
47
+ }
48
48
  }
49
49
  }
50
50
  }