barbican-reset 2.2.1 → 2.2.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.
- package/helpers/variables/index.scss +6 -7
- package/package.json +13 -11
- package/{library → patterns}/gulpfile.js +0 -0
- package/{library → patterns}/index.js +0 -0
- package/patterns/scss/colors/_brand.scss +72 -0
- package/{helpers/variables → patterns/scss}/colors/_docs.scss +0 -0
- package/patterns/scss/colors/_grey.scss +6 -0
- package/{helpers/variables → patterns/scss}/colors/_llf.scss +0 -0
- package/{helpers/variables → patterns/scss}/colors/_power.scss +0 -0
- package/{helpers/variables → patterns/scss}/colors/_status.scss +0 -0
- package/{helpers/variables → patterns/scss}/colors/_wgp.scss +0 -0
- package/{helpers/variables → patterns/scss}/colors/index.scss +1 -1
- package/patterns/scss/styles.scss +99 -0
- package/patterns/static/styles.css +458 -0
- package/patterns/views/index.pug +30 -0
- package/{library → patterns}/views/layout.pug +0 -0
- package/patterns/views/mixins.pug +12 -0
- package/scss/_atomic.scss +2 -3
- package/scss/_close-icon.scss +6 -5
- package/helpers/variables/colors/_grey.scss +0 -7
- package/helpers/variables/colors/brand/_art.scss +0 -7
- package/helpers/variables/colors/brand/_cinema.scss +0 -11
- package/helpers/variables/colors/brand/_classical.scss +0 -12
- package/helpers/variables/colors/brand/_contemporary.scss +0 -7
- package/helpers/variables/colors/brand/_generic.scss +0 -17
- package/helpers/variables/colors/brand/_membership.scss +0 -17
- package/helpers/variables/colors/brand/_programme.scss +0 -6
- package/helpers/variables/colors/brand/_shop.scss +0 -4
- package/helpers/variables/colors/brand/_talks.scss +0 -7
- package/helpers/variables/colors/brand/_theatre.scss +0 -7
- package/helpers/variables/colors/brand/index.scss +0 -95
- package/library/scss/styles.scss +0 -80
- package/library/static/styles.css +0 -282
- package/library/views/index.pug +0 -81
- package/library/views/mixins/test.pug +0 -2
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
@import
|
|
3
|
-
@import
|
|
4
|
-
@import
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
7
|
-
@import "columns";
|
|
1
|
+
@import '../../patterns/scss/colors/index';
|
|
2
|
+
@import 'alerts';
|
|
3
|
+
@import 'layout';
|
|
4
|
+
@import 'breakpoints';
|
|
5
|
+
@import 'typography';
|
|
6
|
+
@import 'columns';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_args": [
|
|
3
3
|
[
|
|
4
|
-
"barbican-reset@2.2.
|
|
4
|
+
"barbican-reset@2.2.3",
|
|
5
5
|
"/Users/pheading/Sites/eticketing-vue"
|
|
6
6
|
]
|
|
7
7
|
],
|
|
8
|
-
"_from": "barbican-reset@2.2.
|
|
9
|
-
"_id": "barbican-reset@2.2.
|
|
8
|
+
"_from": "barbican-reset@2.2.3",
|
|
9
|
+
"_id": "barbican-reset@2.2.3",
|
|
10
10
|
"_inBundle": false,
|
|
11
11
|
"_integrity": "sha512-9QMrzuoZ/NZfFlFagC6go3ofn5hBhU9rtSPEeGH0krwY5dBKOlfs8oGIvqUaEGFKI+jQ3spuDOQoeyYK5NRiQw==",
|
|
12
12
|
"_location": "/barbican-reset",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
"_requested": {
|
|
36
36
|
"type": "version",
|
|
37
37
|
"registry": true,
|
|
38
|
-
"raw": "barbican-reset@2.2.
|
|
38
|
+
"raw": "barbican-reset@2.2.3",
|
|
39
39
|
"name": "barbican-reset",
|
|
40
40
|
"escapedName": "barbican-reset",
|
|
41
|
-
"rawSpec": "2.2.
|
|
41
|
+
"rawSpec": "2.2.3",
|
|
42
42
|
"saveSpec": null,
|
|
43
|
-
"fetchSpec": "2.2.
|
|
43
|
+
"fetchSpec": "2.2.3"
|
|
44
44
|
},
|
|
45
45
|
"_requiredBy": [
|
|
46
46
|
"/"
|
|
47
47
|
],
|
|
48
|
-
"_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-2.2.
|
|
49
|
-
"_spec": "2.2.
|
|
48
|
+
"_resolved": "https://registry.npmjs.org/barbican-reset/-/barbican-reset-2.2.3.tgz",
|
|
49
|
+
"_spec": "2.2.3",
|
|
50
50
|
"_where": "/Users/pheading/Sites/eticketing-vue",
|
|
51
51
|
"author": {
|
|
52
52
|
"name": "Paul Heading"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"fonts/*.{woff,woff2}",
|
|
81
81
|
"helpers/**/*",
|
|
82
82
|
"icons/**/*",
|
|
83
|
-
"
|
|
83
|
+
"patterns/**/*",
|
|
84
84
|
"logos/*",
|
|
85
85
|
"scss/**/*",
|
|
86
86
|
"focus-visible.min.js"
|
|
@@ -95,8 +95,10 @@
|
|
|
95
95
|
},
|
|
96
96
|
"sass": "scss/index.scss",
|
|
97
97
|
"scripts": {
|
|
98
|
-
"test": "echo \"Error: no test specified\" && exit 1"
|
|
98
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
99
|
+
"serve:patterns": "cd patterns && node index",
|
|
100
|
+
"watch:patterns": "cd patterns && gulp watch"
|
|
99
101
|
},
|
|
100
102
|
"style": "dist/css/barbican-reset.css",
|
|
101
|
-
"version": "2.2.
|
|
103
|
+
"version": "2.2.3"
|
|
102
104
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
$c-brand-art: hsl(329, 100%, 45%);
|
|
2
|
+
$c-brand-cinema: hsl(126, 62%, 33%);
|
|
3
|
+
$c-brand-classical: hsl(38, 53%, 38%);
|
|
4
|
+
$c-brand-contemporary: hsl(254, 44%, 33%);
|
|
5
|
+
$c-brand-generic: hsl(21, 100%, 41%);
|
|
6
|
+
$c-brand-membership: hsl(217, 72%, 53%);
|
|
7
|
+
$c-brand-programme: $c-grey-l21;
|
|
8
|
+
$c-brand-shop: hsl(168, 75%, 30%);
|
|
9
|
+
$c-brand-talks: hsl(214, 30%, 49%);
|
|
10
|
+
$c-brand-theatre: hsl(192, 99%, 31%);
|
|
11
|
+
|
|
12
|
+
$c-patron: $c-grey-l44;
|
|
13
|
+
$c-patron-light: hsl(0, 0%, 60%);
|
|
14
|
+
$c-principle: $c-brand-classical;
|
|
15
|
+
$c-principle-light: hsl(38, 53%, 53%);
|
|
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,
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
$brands: ();
|
|
35
|
+
|
|
36
|
+
@function map-brands($color) {
|
|
37
|
+
$map: (
|
|
38
|
+
shade-65: shade($color, 65%),
|
|
39
|
+
shade-20: shade($color, 20%),
|
|
40
|
+
shade-10: shade($color, 10%),
|
|
41
|
+
base: $color,
|
|
42
|
+
tint-40: tint($color, 40%),
|
|
43
|
+
tint-70: tint($color, 70%),
|
|
44
|
+
tint-85: tint($color, 85%),
|
|
45
|
+
tint-95: tint($color, 95%),
|
|
46
|
+
tint-98: tint($color, 98%),
|
|
47
|
+
);
|
|
48
|
+
@return $map;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@each $key, $value in $setup {
|
|
52
|
+
$map: ();
|
|
53
|
+
$map: map-merge($map,($key: map-brands($value)));
|
|
54
|
+
$brands: map-merge($brands, $map);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@function brand($color, $variant: base) {
|
|
58
|
+
@return map-get(map-get($brands, $color), $variant);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
$c-brand-cinema-dark: brand(cinema, shade-20); // deprecated
|
|
62
|
+
$c-brand-shop-light: brand(shop, tint-85); // deprecated
|
|
63
|
+
$c-brand-shop-dark: brand(shop, shade-20); // deprecated
|
|
64
|
+
$c-brand-generic-s60-l99: brand(generic, tint-95); // faint deprecated
|
|
65
|
+
$c-brand-generic-s100-l95: brand(generic, tint-85); // light deprecated
|
|
66
|
+
$c-brand-generic-s50-l90: brand(generic, tint-70); // shade deprecated
|
|
67
|
+
$c-brand-generic-s100-l38: brand(generic, shade-10); // dark deprecated
|
|
68
|
+
$c-brand-generic-s100-l15: brand(generic, shade-65); // x-dark deprecated
|
|
69
|
+
|
|
70
|
+
$c-brand-classical-light: brand(classical-music, tint-95); // deprecated
|
|
71
|
+
$c-brand-classical-dark: brand(classical-music, shade-20); // deprecated
|
|
72
|
+
$c-brand-membership-dark: hsl(223, 87%, 21%);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,99 @@
|
|
|
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
|
+
|
|
6
|
+
@import '../../scss/fonts';
|
|
7
|
+
@import '../../scss/br-container';
|
|
8
|
+
|
|
9
|
+
$shades: '65', '20', '10';
|
|
10
|
+
$tints: '40', '70', '85', '95';
|
|
11
|
+
|
|
12
|
+
@mixin brand {
|
|
13
|
+
@each $color, $variant in $brands {
|
|
14
|
+
&.brand-#{$color} {
|
|
15
|
+
@content ($color, $variant);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body {
|
|
21
|
+
line-height: $line-height-md;
|
|
22
|
+
font-family: $font-family;
|
|
23
|
+
color: $c-grey-l21;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.list.list-palette {
|
|
27
|
+
list-style: none;
|
|
28
|
+
margin: 0 0 2rem;
|
|
29
|
+
display: flex;
|
|
30
|
+
gap: 0.125rem;
|
|
31
|
+
padding: 0;
|
|
32
|
+
|
|
33
|
+
@include brand using($color, $variant) {
|
|
34
|
+
.item.item-palette {
|
|
35
|
+
background-color: brand($color);
|
|
36
|
+
|
|
37
|
+
@each $shade in $shades {
|
|
38
|
+
&.shade-#{$shade} {
|
|
39
|
+
background-color: brand($color, shade-#{$shade});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@each $tint in $tints {
|
|
44
|
+
&.tint-#{$tint} {
|
|
45
|
+
background-color: brand($color, tint-#{$tint});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.list.list-palette.grey {
|
|
53
|
+
.item.item-palette {
|
|
54
|
+
&.l11 {
|
|
55
|
+
background-color: $c-grey-l11;
|
|
56
|
+
}
|
|
57
|
+
&.l21 {
|
|
58
|
+
background-color: $c-grey-l21;
|
|
59
|
+
}
|
|
60
|
+
&.l44 {
|
|
61
|
+
background-color: $c-grey-l44;
|
|
62
|
+
}
|
|
63
|
+
&.l65 {
|
|
64
|
+
background-color: $c-grey-l65;
|
|
65
|
+
}
|
|
66
|
+
&.l87 {
|
|
67
|
+
background-color: $c-grey-l87;
|
|
68
|
+
}
|
|
69
|
+
&.l96 {
|
|
70
|
+
background-color: $c-grey-l96;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.list.list-palette.sample {
|
|
76
|
+
.item.item-palette {
|
|
77
|
+
background-color: $c-brand-membership-dark;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.item.item-palette {
|
|
82
|
+
background: grey;
|
|
83
|
+
height: 6.25rem;
|
|
84
|
+
width: 6.25rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
h1 {
|
|
88
|
+
border-bottom: 1px solid grey;
|
|
89
|
+
padding-bottom: 0.25rem;
|
|
90
|
+
margin: 0 0 2rem;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
h2 {
|
|
94
|
+
margin: 0 0 1rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
h3 {
|
|
98
|
+
margin: 0 0 0.5rem;
|
|
99
|
+
}
|