@foeewni/web-core 3.0.0-alpha.5 → 3.0.0-alpha.6

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.
@@ -4,11 +4,28 @@
4
4
  background-attachment: fixed !important;
5
5
  }
6
6
 
7
- .bg-accent,
8
- .bg-dark,
9
- .bg-extradark {
7
+ /*******************************
8
+ * Background tweaks according to
9
+ * Author options white/primary/dark/extradark are re-mapped to reflect the brand colours and prefered combinations
10
+ * bg-dark uses iris which is the accent colour
11
+ * bg-extradark has been replaced with sunset, it was decided to not use the space for a background colour so the inability
12
+ * to access this combination shouldn't be a problem and this will account for any other instances where author accessible
13
+ * theme colours are referenced in the code
14
+ * $foe-leaf-75 is used in some places to increase the number of accessible options available
15
+ ******************************/
16
+
17
+
18
+ .bg-accent {
10
19
  @include heading_colours($foe-offwhite, $foe-secondary);
11
20
  @include text_colours($foe-offwhite, $foe-secondary);
21
+
22
+ .btn-primary {
23
+ @include button-variant($foe-primary, $foe-primary);
24
+ }
25
+
26
+ .btn-outline-primary {
27
+ @include button-outline-variant($foe-offwhite);
28
+ }
12
29
  }
13
30
 
14
31
  .bg-primary,
@@ -17,17 +34,31 @@
17
34
  @include text_colours($foe-extradark, $foe-extradark);
18
35
  }
19
36
 
20
- .bg-primary {
21
- background-color: $foe-leaf-75 !important;
37
+ .bg-extradark,
38
+ .bg-sunset {
39
+ background-color: $foe-sunset !important;
40
+
41
+ @include heading_colours($foe-extradark, $foe-extradark);
42
+ @include text_colours($foe-extradark, $foe-extradark);
43
+
44
+ .btn-primary {
45
+ @include button-variant($foe-extradark, $foe-extradark);
46
+ }
22
47
 
23
48
  .btn-outline-primary {
24
49
  @include button-outline-variant($foe-extradark);
25
50
  }
26
51
  }
27
52
 
28
- .bg-accent {
53
+ .bg-dark,
54
+ .bg-iris {
55
+ background-color: $foe-iris !important;
56
+
57
+ @include heading_colours($foe-offwhite, $foe-secondary);
58
+ @include text_colours($foe-offwhite, $foe-secondary);
59
+
29
60
  .btn-primary {
30
- @include button-variant($foe-primary, $foe-primary);
61
+ @include button-variant($foe-leaf-75, $foe-leaf-75);
31
62
  }
32
63
 
33
64
  .btn-outline-primary {
@@ -35,10 +66,8 @@
35
66
  }
36
67
  }
37
68
 
38
- .bg-sunset {
39
- .btn-primary {
40
- @include button-variant($foe-extradark, $foe-extradark);
41
- }
69
+ .bg-primary {
70
+ background-color: $foe-leaf-75 !important;
42
71
 
43
72
  .btn-outline-primary {
44
73
  @include button-outline-variant($foe-extradark);
@@ -20,8 +20,8 @@ Our type system is comprised of two fonts:
20
20
  To use them on your CSS please import the webfonts through Google Fonts
21
21
 
22
22
  ```
23
- @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Libre+Franklin:ital,wght@0,400;0,700;1,400;1,700&display=swap');
23
+ @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Libre+Franklin:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
24
24
  ```
25
25
 
26
26
  */
27
- @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Libre+Franklin:ital,wght@0,400;0,700;1,400;1,700&display=swap');
27
+ @import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital@0;1&family=Libre+Franklin:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
@@ -31,8 +31,9 @@
31
31
 
32
32
  // Applies colours to <p> and <a> elements
33
33
  @mixin text_colours ($main, $link) {
34
- p,
35
- li {
34
+ label,
35
+ li,
36
+ p {
36
37
  color: $main;
37
38
  }
38
39
 
@@ -29,7 +29,7 @@ $foe-iris-25: #deddec !default;
29
29
  $foe-primary: $foe-leaf !default;
30
30
  $foe-light: $foe-leaf-25 !default;
31
31
  $foe-secondary: $foe-light !default;
32
- $foe-dark: #182f2a !default;
32
+ $foe-dark: $foe-iris !default;
33
33
  $foe-extradark: $foe-space !default;
34
34
 
35
35
  $foe-white: #fff !default;
@@ -471,7 +471,7 @@ $headings-map: (
471
471
 
472
472
  $headings-margin-bottom: calc($spacer / 2);
473
473
  $headings-font-family: inherit;
474
- $headings-font-weight: 600;
474
+ $headings-font-weight: 900;
475
475
  $headings-line-height: 1.2;
476
476
  $headings-color: $foe-accent;
477
477
 
@@ -480,7 +480,7 @@ $display2-size: calc(60 / 16) * $font-size-base;
480
480
  $display3-size: 4.5rem;
481
481
  $display4-size: 3.5rem;
482
482
 
483
- $display1-weight: 600;
483
+ $display1-weight: 900;
484
484
  $display2-weight: 300;
485
485
  $display3-weight: 300;
486
486
  $display4-weight: 300;