barbican-reset 1.8.1 → 1.8.4

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.
@@ -0,0 +1,7 @@
1
+ @function tint($color, $percentage) {
2
+ @return mix(white, $color, $percentage);
3
+ }
4
+
5
+ @function shade($color, $percentage) {
6
+ @return mix(black, $color, $percentage);
7
+ }
@@ -1,3 +1,4 @@
1
1
  // paths more explicit for gulp-sass
2
+ @import "functions/index";
2
3
  @import "variables/index";
3
4
  @import "mixins/index";
@@ -279,10 +279,10 @@
279
279
 
280
280
  @include focus {
281
281
  &.member {
282
- color: $c-member;
282
+ color: $c-brand-membership;
283
283
  }
284
284
  &.member-plus {
285
- color: $c-member-dark;
285
+ color: $c-brand-membership-dark;
286
286
  }
287
287
  }
288
288
  }
@@ -1,5 +1,6 @@
1
1
 
2
- $c-brand-art-x-lite: hsl(329, 100%, 99%); // 2% opacity
3
- $c-brand-art-lite: hsl(329, 81%, 83%); // 30% opacity
4
- $c-brand-art-medium: hsl(329, 82%, 67%); // 60% opacity
5
- $c-brand-art: hsl(329, 100%, 45%);
2
+ $c-brand-art: hsl(329, 100%, 45%);
3
+
4
+ $c-brand-art-tint-98: tint($c-brand-art, 98%);
5
+ $c-brand-art-tint-70: tint($c-brand-art, 70%);
6
+ $c-brand-art-tint-40: tint($c-brand-art, 40%);
@@ -1,6 +1,8 @@
1
1
 
2
- $c-brand-cinema-x-lite: hsl(126, 31%, 99%); // 2% opacity
3
- $c-brand-cinema-lite: hsl(126, 31%, 80%); // 30% opacity
4
- $c-brand-cinema-medium: hsl(126, 31%, 60%); // 60% opacity
5
2
  $c-brand-cinema: hsl(126, 62%, 33%);
3
+
4
+ $c-brand-cinema-tint-98: tint($c-brand-cinema, 98%);
5
+ $c-brand-cinema-tint-70: tint($c-brand-cinema, 70%);
6
+ $c-brand-cinema-tint-40: tint($c-brand-cinema, 40%);
7
+
6
8
  $c-brand-cinema-dark: darken($c-brand-cinema, 7%);
@@ -1,7 +1,9 @@
1
1
 
2
- $c-brand-classical-x-lite: hsl(38, 33%, 99%); // 2% opacity
3
- $c-brand-classical-lite: hsl(38, 33%, 81%); // 30% opacity
4
- $c-brand-classical-medium: hsl(38, 33%, 63%); // 60% opacity
5
- $c-brand-classical-light: hsl(38, 53%, 95%);
6
2
  $c-brand-classical: hsl(38, 53%, 38%);
3
+
4
+ $c-brand-classical-tint-98: tint($c-brand-classical, 98%);
5
+ $c-brand-classical-tint-70: tint($c-brand-classical, 70%);
6
+ $c-brand-classical-tint-40: tint($c-brand-classical, 40%);
7
+
8
+ $c-brand-classical-light: hsl(38, 53%, 95%);
7
9
  $c-brand-classical-dark: hsl(38, 53%, 30%);
@@ -1,5 +1,6 @@
1
1
 
2
- $c-brand-contemporary-x-lite: hsl(254, 14%, 99%); // 2% opacity
3
- $c-brand-contemporary-lite: hsl(254, 22%, 80%); // 30% opacity
4
- $c-brand-contemporary-medium: hsl(254, 22%, 60%); // 60% opacity
5
- $c-brand-contemporary: hsl(254, 44%, 33%);
2
+ $c-brand-contemporary: hsl(254, 44%, 33%);
3
+
4
+ $c-brand-contemporary-tint-98: tint($c-brand-contemporary, 98%);
5
+ $c-brand-contemporary-tint-70: tint($c-brand-contemporary, 70%);
6
+ $c-brand-contemporary-tint-40: tint($c-brand-contemporary, 40%);
@@ -1,10 +1,12 @@
1
1
 
2
- $c-brand-generic-x-lite: hsl(21, 67%, 99%); // 2% opacity
2
+ $c-brand-generic: hsl(21, 100%, 41%);
3
+
4
+ $c-brand-generic-tint-98: tint($c-brand-generic, 98%);
5
+ $c-brand-generic-tint-70: tint($c-brand-generic, 70%);
6
+ $c-brand-generic-tint-40: tint($c-brand-generic, 40%);
7
+
3
8
  $c-brand-generic-faint: hsl(21, 60%, 99%);
4
9
  $c-brand-generic-light: hsl(21, 100%, 95%);
5
10
  $c-brand-generic-shade: hsl(21, 50%, 90%);
6
- $c-brand-generic-lite: hsl(21, 69%, 82%); // 30% opacity
7
- $c-brand-generic-medium: hsl(21, 69%, 65%); // 60% opacity
8
- $c-brand-generic: hsl(21, 100%, 41%);
9
11
  $c-brand-generic-dark: hsl(21, 100%, 38%);
10
12
  $c-brand-generic-x-dark: hsl(21, 100%, 15%);
@@ -1,8 +1,10 @@
1
1
 
2
- $c-brand-membership-x-lite: hsl(217, 60%, 99%); // 2% opacity
3
- $c-brand-membership-lite: hsl(217, 72%, 86%); // 30% opacity
4
- $c-brand-membership-medium: hsl(217, 72%, 72%); // 60% opacity
5
2
  $c-brand-membership: hsl(217, 72%, 53%);
3
+
4
+ $c-brand-membership-tint-98: tint($c-brand-membership, 98%);
5
+ $c-brand-membership-tint-70: tint($c-brand-membership, 70%);
6
+ $c-brand-membership-tint-40: tint($c-brand-membership, 40%);
7
+
6
8
  $c-brand-membership-dark: hsl(223, 87%, 21%);
7
9
 
8
10
  // ------------------------------
@@ -0,0 +1,6 @@
1
+
2
+ $c-brand-programme: $c-grey-night;
3
+
4
+ $c-brand-programme-tint-98: tint($c-brand-programme, 98%);
5
+ $c-brand-programme-tint-70: tint($c-brand-programme, 70%);
6
+ $c-brand-programme-tint-40: tint($c-brand-programme, 40%);
@@ -1,5 +1,6 @@
1
1
 
2
2
  $c-brand-talks: hsl(214, 30%, 49%);
3
- $c-brand-talks-medium: hsl(214, 30%, 69%); // 60% opacity
4
- $c-brand-talks-lite: hsl(214, 30%, 85%); // 30% opacity
5
- $c-brand-talks-x-lite: hsl(214, 30%, 99%); // 2% opacity
3
+
4
+ $c-brand-talks-tint-98: tint($c-brand-talks, 98%);
5
+ $c-brand-talks-tint-70: tint($c-brand-talks, 70%);
6
+ $c-brand-talks-tint-40: tint($c-brand-talks, 40%);
@@ -1,5 +1,6 @@
1
1
 
2
2
  $c-brand-theatre: hsl(192, 99%, 31%);
3
- $c-brand-theatre-medium: hsl(192, 44%, 59%); // 60% opacity
4
- $c-brand-theatre-lite: hsl(192, 44%, 79%); // 30% opacity
5
- $c-brand-theatre-x-lite: hsl(192, 44%, 99%); // 2% opacity
3
+
4
+ $c-brand-theatre-tint-98: tint($c-brand-theatre, 98%);
5
+ $c-brand-theatre-tint-70: tint($c-brand-theatre, 70%);
6
+ $c-brand-theatre-tint-40: tint($c-brand-theatre, 40%);
@@ -5,6 +5,7 @@
5
5
  @import "classical";
6
6
  @import "contemporary";
7
7
  @import "membership";
8
+ @import "programme";
8
9
  @import "shop";
9
10
  @import "talks";
10
11
  @import "theatre";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.8.1",
3
+ "version": "1.8.4",
4
4
  "description": "A collection of useful scss imports and js scripts, that provide consistent styling and functionality across barbican projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -25,12 +25,12 @@ $angle: 120deg;
25
25
  }
26
26
 
27
27
  &.member {
28
- background-color: $c-member;
28
+ background-color: $c-brand-membership;
29
29
  }
30
30
 
31
31
  &.member-plus {
32
- background-color: $c-member-dark;
33
- background-image: linear-gradient($angle, $c-member-dark 20%, $c-member 100%);
32
+ background-color: $c-brand-membership-dark;
33
+ background-image: linear-gradient($angle, $c-brand-membership-dark 20%, $c-brand-membership 100%);
34
34
  }
35
35
 
36
36
  &.patron, &.premier-patron {