barbican-reset 1.8.0 → 1.8.3

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";
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  @mixin button-solid(
42
- $background: $c-brand-orange,
42
+ $background: $c-brand-generic,
43
43
  $color: $white,
44
44
  $border: 1px,
45
45
  $padding: false,
@@ -76,7 +76,7 @@
76
76
  }
77
77
 
78
78
  @mixin button-outline(
79
- $color: $c-brand-orange,
79
+ $color: $c-brand-generic,
80
80
  $background: $white,
81
81
  $border: 1px,
82
82
  $padding: false,
@@ -167,7 +167,7 @@
167
167
  @mixin btn-outline-header {
168
168
  @include button-outline(
169
169
  $color: $white,
170
- $background: $c-brand-orange,
170
+ $background: $c-brand-generic,
171
171
  $border: 0.125rem,
172
172
  $display: 'flex');
173
173
  }
@@ -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
  }
@@ -0,0 +1,6 @@
1
+
2
+ $c-brand-art: hsl(329, 100%, 45%);
3
+
4
+ $c-brand-art-x-lite: tint($c-brand-art, 98%);
5
+ $c-brand-art-lite: tint($c-brand-art, 70%);
6
+ $c-brand-art-medium: tint($c-brand-art, 40%);
@@ -0,0 +1,7 @@
1
+
2
+ $c-brand-cinema: hsl(126, 62%, 33%);
3
+
4
+ $c-brand-cinema-x-lite: tint($c-brand-cinema, 98%);
5
+ $c-brand-cinema-lite: tint($c-brand-cinema, 70%);
6
+ $c-brand-cinema-medium: tint($c-brand-cinema, 40%);
7
+ $c-brand-cinema-dark: darken($c-brand-cinema, 7%);
@@ -0,0 +1,8 @@
1
+
2
+ $c-brand-classical: hsl(38, 53%, 38%);
3
+
4
+ $c-brand-classical-x-lite: tint($c-brand-classical, 98%);
5
+ $c-brand-classical-lite: tint($c-brand-classical, 70%);
6
+ $c-brand-classical-medium: tint($c-brand-classical, 40%);
7
+ $c-brand-classical-light: hsl(38, 53%, 95%);
8
+ $c-brand-classical-dark: hsl(38, 53%, 30%);
@@ -0,0 +1,6 @@
1
+
2
+ $c-brand-contemporary: hsl(254, 44%, 33%);
3
+
4
+ $c-brand-contemporary-x-lite: tint($c-brand-contemporary, 98%);
5
+ $c-brand-contemporary-lite: tint($c-brand-contemporary, 70%);
6
+ $c-brand-contemporary-medium: tint($c-brand-contemporary, 40%);
@@ -0,0 +1,11 @@
1
+
2
+ $c-brand-generic: hsl(21, 100%, 41%);
3
+
4
+ $c-brand-generic-x-lite: tint($c-brand-generic, 98%);
5
+ $c-brand-generic-faint: hsl(21, 60%, 99%);
6
+ $c-brand-generic-light: hsl(21, 100%, 95%);
7
+ $c-brand-generic-shade: hsl(21, 50%, 90%);
8
+ $c-brand-generic-lite: tint($c-brand-generic, 70%);
9
+ $c-brand-generic-medium: tint($c-brand-generic, 40%);
10
+ $c-brand-generic-dark: hsl(21, 100%, 38%);
11
+ $c-brand-generic-x-dark: hsl(21, 100%, 15%);
@@ -0,0 +1,15 @@
1
+
2
+ $c-brand-membership: hsl(217, 72%, 53%);
3
+
4
+ $c-brand-membership-x-lite: tint($c-brand-membership, 98%);
5
+ $c-brand-membership-lite: tint($c-brand-membership, 70%);
6
+ $c-brand-membership-medium: tint($c-brand-membership, 40%);
7
+ $c-brand-membership-dark: hsl(223, 87%, 21%);
8
+
9
+ // ------------------------------
10
+
11
+ $c-patron: $c-grey-steel;
12
+ $c-patron-light: hsl(0, 0%, 60%);
13
+
14
+ $c-principle: $c-brand-classical;
15
+ $c-principle-light: hsl(38, 53%, 53%);
@@ -0,0 +1,6 @@
1
+
2
+ $c-brand-programme: $c-grey-night;
3
+
4
+ $c-brand-programme-x-lite: tint($c-brand-programme, 98%);
5
+ $c-brand-programme-lite: tint($c-brand-programme, 70%);
6
+ $c-brand-programme-medium: tint($c-brand-programme, 40%);
@@ -0,0 +1,4 @@
1
+
2
+ $c-brand-shop-light: hsl(168, 30%, 90%);
3
+ $c-brand-shop: hsl(168, 75%, 30%);
4
+ $c-brand-shop-dark: hsl(168, 75%, 26%);
@@ -0,0 +1,6 @@
1
+
2
+ $c-brand-talks: hsl(214, 30%, 49%);
3
+
4
+ $c-brand-talks-x-lite: tint($c-brand-talks, 98%);
5
+ $c-brand-talks-lite: tint($c-brand-talks, 70%);
6
+ $c-brand-talks-medium: tint($c-brand-talks, 40%);
@@ -0,0 +1,6 @@
1
+
2
+ $c-brand-theatre: hsl(192, 99%, 31%);
3
+
4
+ $c-brand-theatre-x-lite: tint($c-brand-theatre, 98%);
5
+ $c-brand-theatre-lite: tint($c-brand-theatre, 70%);
6
+ $c-brand-theatre-medium: tint($c-brand-theatre, 40%);
@@ -0,0 +1,13 @@
1
+
2
+ @import "generic";
3
+ @import "art";
4
+ @import "cinema";
5
+ @import "classical";
6
+ @import "contemporary";
7
+ @import "membership";
8
+ @import "programme";
9
+ @import "shop";
10
+ @import "talks";
11
+ @import "theatre";
12
+
13
+ $c-splash-videos: hsl(0, 0%, 4%);
@@ -1,5 +1,5 @@
1
1
  @import "grey";
2
- @import "brand";
2
+ @import "brand/index";
3
3
  @import "docs";
4
4
  @import "status";
5
5
  @import "wgp";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barbican-reset",
3
- "version": "1.8.0",
3
+ "version": "1.8.3",
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": {
package/scss/_atomic.scss CHANGED
@@ -42,7 +42,7 @@ $paddings05: "padding-top", "padding-bottom", "padding-right", "padding-left";
42
42
  }
43
43
 
44
44
  .color-orange {
45
- color: $c-brand-orange;
45
+ color: $c-brand-generic;
46
46
  }
47
47
 
48
48
  .font-size-lg {
@@ -76,5 +76,5 @@ $paddings05: "padding-top", "padding-bottom", "padding-right", "padding-left";
76
76
  }
77
77
 
78
78
  .background-color-alt {
79
- background-color: $c-brand-orange-faint;
79
+ background-color: $c-brand-generic-faint;
80
80
  }
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  .fill {
11
- fill: $c-brand-orange-faint;
11
+ fill: $c-brand-generic-faint;
12
12
  }
13
13
  }
14
14
 
package/scss/_header.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  header {
2
- background-color: $c-brand-orange;
2
+ background-color: $c-brand-generic;
3
3
 
4
4
  &.videoSplash, &.powerSplash, &.cinemaSplash, &.concertSplash, &.theatreSplash {
5
5
  display: none;
@@ -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 {
@@ -1,30 +0,0 @@
1
-
2
- $c-brand-orange-faint: hsl(21, 60%, 99%);
3
- $c-brand-orange-light: hsl(21, 100%, 95%);
4
- $c-brand-orange-shade: hsl(21, 50%, 90%);
5
- $c-brand-orange: hsl(21, 100%, 41%);
6
- $c-brand-orange-dark: hsl(21, 100%, 38%);
7
-
8
- $c-brand-cinema: hsl(126, 62%, 33%);
9
- $c-brand-cinema-dark: darken($c-brand-cinema, 7%);
10
-
11
- $c-brand-shop-light: hsl(168, 30%, 90%);
12
- $c-brand-shop: hsl(168, 75%, 30%);
13
- $c-brand-shop-dark: hsl(168, 75%, 26%);
14
-
15
- $c-brand-classical-light: hsl(38, 53%, 95%);
16
- $c-brand-classical: hsl(38, 53%, 38%);
17
- $c-brand-classical-dark: rgb(117, 89, 36);
18
-
19
- $c-splash-videos: #0a0a0a;
20
-
21
- // membership cards
22
-
23
- $c-member: #3173DD;
24
- $c-member-dark: #072162;
25
-
26
- $c-patron: $c-grey-steel;
27
- $c-patron-light: #999999;
28
-
29
- $c-principle: #906C2C;
30
- $c-principle-light: #C59540;