barbican-reset 2.20.0 → 2.22.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.
Files changed (37) hide show
  1. package/helpers/functions/index.scss +8 -1
  2. package/helpers/mixins/_br-alert.scss +4 -2
  3. package/helpers/mixins/{_card.scss → _br-card.scss} +12 -12
  4. package/helpers/mixins/_buttons.scss +56 -173
  5. package/helpers/mixins/_focus.scss +19 -0
  6. package/helpers/mixins/_font.scss +31 -4
  7. package/helpers/mixins/_headings.scss +19 -0
  8. package/helpers/mixins/_input.scss +2 -3
  9. package/helpers/mixins/buttons/_outline.scss +58 -0
  10. package/helpers/mixins/buttons/_setup.scss +69 -0
  11. package/helpers/mixins/buttons/_solid.scss +57 -0
  12. package/helpers/mixins/buttons/_spektrix.scss +46 -0
  13. package/helpers/mixins/index.scss +3 -2
  14. package/helpers/mixins/input/_checkbox.scss +10 -4
  15. package/helpers/mixins/input/_generic.scss +18 -14
  16. package/helpers/mixins/input/_radio.scss +18 -2
  17. package/helpers/mixins/input/{_dropdown.scss → _select.scss} +12 -2
  18. package/helpers/mixins/input/_text.scss +8 -2
  19. package/helpers/variables/_layout.scss +2 -2
  20. package/helpers/variables/_typography.scss +8 -4
  21. package/package.json +1 -1
  22. package/patterns/scss/colors/_brand.scss +11 -10
  23. package/scss/{_custom-checkbox.scss → _br-checkbox.scss} +9 -5
  24. package/scss/_br-loader.scss +12 -3
  25. package/scss/{_custom-radio.scss → _br-radio.scss} +4 -3
  26. package/scss/_br-select.scss +3 -0
  27. package/scss/_btn.scss +20 -0
  28. package/scss/_input.scss +1 -4
  29. package/scss/_klaro.scss +9 -9
  30. package/scss/_list.scss +6 -2
  31. package/scss/card/_confirm.scss +2 -3
  32. package/scss/card/_login.scss +2 -3
  33. package/scss/card/_password.scss +1 -2
  34. package/scss/card/index.scss +6 -7
  35. package/scss/index.scss +34 -26
  36. package/scss/_custom-select.scss +0 -3
  37. package/scss/_fonts.scss +0 -27
package/scss/index.scss CHANGED
@@ -3,33 +3,34 @@
3
3
  @import "node_modules/bootstrap/scss/mixins";
4
4
  @import "../helpers/index";
5
5
 
6
+ @include font-face;
7
+
6
8
  @import "app";
7
- @import "header";
8
- @import "main";
9
+ @import "city-of-london";
10
+ @import "close-icon";
9
11
  @import "footer";
12
+ @import "header";
10
13
  @import "klaro";
11
- @import "fonts";
12
- @import "close-icon";
14
+ @import "main";
13
15
  @import "table";
14
16
 
15
17
  @import "br-alert";
18
+ @import "br-checkbox";
16
19
  @import "br-container";
20
+ @import "br-footer";
17
21
  @import "br-form-password";
18
22
  @import "br-form-row";
19
23
  @import "br-form-update";
20
24
  @import "br-loader";
21
- @import "br-wrap";
22
- @import "br-footer";
23
25
  @import "br-promo";
24
- @import "city-of-london";
26
+ @import "br-radio";
27
+ @import "br-select";
28
+ @import "br-wrap";
25
29
 
26
30
  // bootstrap component styles
27
31
  @import "btn";
28
32
  @import "card/index";
29
33
  @import "card-deck";
30
- @import "custom-checkbox";
31
- @import "custom-select";
32
- @import "custom-radio";
33
34
  @import "form";
34
35
  @import "list";
35
36
  @import "input";
@@ -52,36 +53,41 @@ body {
52
53
  -webkit-font-smoothing: antialiased;
53
54
  -moz-osx-font-smoothing: grayscale;
54
55
  line-height: $line-height-md;
56
+ font-size: $body-font-size;
55
57
  color: $c-grey-l21;
58
+ margin: 0;
56
59
  }
57
60
 
58
- h1, .h1 {
59
- @include fontfamily-black;
60
- font-size: $h1-font-size;
61
+ h1,
62
+ .h1 {
63
+ @include br-h1;
61
64
  }
62
65
 
63
- h2, .h2 {
64
- @include fontfamily-black;
65
- font-size: $h2-font-size;
66
+ h2,
67
+ .h2 {
68
+ @include br-h2;
66
69
  }
67
70
 
68
- h3, .h3 {
69
- @include fontfamily-black;
70
- font-size: $h3-font-size;
71
+ h3,
72
+ .h3 {
73
+ @include br-h3;
71
74
  }
72
75
 
73
- h4, .h4 {
74
- @include fontfamily-black;
76
+ h4,
77
+ .h4 {
78
+ @include br-heading;
75
79
  font-size: $h4-font-size;
76
80
  }
77
81
 
78
- h5, .h5 {
79
- @include fontfamily-black;
82
+ h5,
83
+ .h5 {
84
+ @include br-heading;
80
85
  font-size: $h5-font-size;
81
86
  }
82
87
 
83
- h6, .h6 {
84
- @include fontfamily-black;
88
+ h6,
89
+ .h6 {
90
+ @include br-heading;
85
91
  font-size: $h6-font-size;
86
92
  }
87
93
 
@@ -98,6 +104,8 @@ p+p {
98
104
  margin-top: 1rem;
99
105
  }
100
106
 
101
- strong {
107
+ strong,
108
+ b {
109
+ // b tag in use on iframes
102
110
  @include fontfamily-black;
103
111
  }
@@ -1,3 +0,0 @@
1
- .custom-select {
2
- @include custom-select;
3
- }
package/scss/_fonts.scss DELETED
@@ -1,27 +0,0 @@
1
- $supreme: "SupremeLLWeb";
2
- $font-family: #{$supreme}, "Helvetica", "Arial", sans-serif;
3
- $font-file-path: "/fonts/";
4
-
5
- @font-face {
6
- font-family: "Supreme-Light";
7
- src: url("#{$font-file-path}#{$supreme}-Light.woff") format("woff"),
8
- url("#{$font-file-path}#{$supreme}-Light.woff2") format("woff2");
9
- }
10
-
11
- @font-face {
12
- font-family: "Supreme-LightItalic";
13
- src: url("#{$font-file-path}#{$supreme}-LightItalic.woff") format("woff"),
14
- url("#{$font-file-path}#{$supreme}-LightItalic.woff2") format("woff2");
15
- }
16
-
17
- @font-face {
18
- font-family: "Supreme-Black";
19
- src: url("#{$font-file-path}#{$supreme}-Black.woff") format("woff"),
20
- url("#{$font-file-path}#{$supreme}-Black.woff2") format("woff2");
21
- }
22
-
23
- @font-face {
24
- font-family: "Supreme-BlackItalic";
25
- src: url("#{$font-file-path}#{$supreme}-BlackItalic.woff") format("woff"),
26
- url("#{$font-file-path}#{$supreme}-BlackItalic.woff2") format("woff2");
27
- }