barbican-reset 2.10.0 → 2.12.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 +1 -1
- package/patterns/scss/colors/_brand.scss +10 -10
- package/patterns/scss/styles.scss +3 -3
- package/scss/_atomic.scss +1 -1
- package/scss/_br-alert.scss +26 -21
- package/scss/_close-icon.scss +1 -1
package/package.json
CHANGED
|
@@ -64,15 +64,15 @@ $brands: ();
|
|
|
64
64
|
@return map-get(map-get($brands, $name), $variant);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
$c-brand-cinema-dark:
|
|
68
|
-
$c-brand-shop-light:
|
|
69
|
-
$c-brand-shop-dark:
|
|
70
|
-
$c-brand-generic-s60-l99:
|
|
71
|
-
$c-brand-generic-s100-l95:
|
|
72
|
-
$c-brand-generic-s50-l90:
|
|
73
|
-
$c-brand-generic-s100-l38:
|
|
74
|
-
$c-brand-generic-s100-l15:
|
|
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:
|
|
77
|
-
$c-brand-classical-dark:
|
|
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:
|
|
35
|
+
background-color: color($color);
|
|
36
36
|
|
|
37
37
|
@each $shade in $shades {
|
|
38
38
|
&.shade-#{$shade} {
|
|
39
|
-
background-color:
|
|
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:
|
|
45
|
+
background-color: color($color, tint-#{$tint});
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
package/scss/_atomic.scss
CHANGED
package/scss/_br-alert.scss
CHANGED
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
.br-alert {
|
|
2
|
-
@each $status, $color in $statuses {
|
|
3
|
-
$fade: map-get($color, fade);
|
|
4
|
-
$light: map-get($color, light);
|
|
5
|
-
$base: map-get($color, base);
|
|
6
|
-
|
|
7
|
-
.btn.btn-exit.#{$status} {
|
|
8
|
-
@include br-alert-exit($base, $fade);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.wrap.#{$status} {
|
|
12
|
-
@include br-alert-wrap--colors($fade, $light, $base);
|
|
13
|
-
|
|
14
|
-
.btn.btn-link,
|
|
15
|
-
a {
|
|
16
|
-
@include br-alert-link($base, $fade);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
1
|
.br-alert {
|
|
23
2
|
@include br-alert--setup;
|
|
24
3
|
|
|
@@ -26,6 +5,11 @@
|
|
|
26
5
|
@include br-alert--center;
|
|
27
6
|
}
|
|
28
7
|
|
|
8
|
+
.btn.btn-exit svg {
|
|
9
|
+
height: 1.5rem;
|
|
10
|
+
width: 1.5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
29
13
|
.wrap {
|
|
30
14
|
@include br-alert-wrap--setup;
|
|
31
15
|
|
|
@@ -46,3 +30,24 @@
|
|
|
46
30
|
}
|
|
47
31
|
}
|
|
48
32
|
}
|
|
33
|
+
|
|
34
|
+
.br-alert {
|
|
35
|
+
@each $status, $color in $statuses {
|
|
36
|
+
$fade: map-get($color, fade);
|
|
37
|
+
$light: map-get($color, light);
|
|
38
|
+
$base: map-get($color, base);
|
|
39
|
+
|
|
40
|
+
.btn.btn-exit.#{$status} {
|
|
41
|
+
@include br-alert-exit($base, $fade);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.wrap.#{$status} {
|
|
45
|
+
@include br-alert-wrap--colors($fade, $light, $base);
|
|
46
|
+
|
|
47
|
+
.btn.btn-link,
|
|
48
|
+
a {
|
|
49
|
+
@include br-alert-link($base, $fade);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|