@iamproperty/components 2.9.0 → 3.1.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 (89) hide show
  1. package/README.md +9 -130
  2. package/assets/css/core.min.css +1 -1
  3. package/assets/css/core.min.css.map +1 -1
  4. package/assets/css/style.min.css +1 -1
  5. package/assets/css/style.min.css.map +1 -1
  6. package/assets/favicons/manifest.json +32 -0
  7. package/assets/js/main.js +57 -0
  8. package/assets/js/modules/chart.js +18 -17
  9. package/assets/js/modules/file-upload.js +48 -0
  10. package/assets/js/modules/form.js +27 -18
  11. package/assets/js/modules/nav.js +9 -8
  12. package/assets/js/modules/orderablelist.js +122 -0
  13. package/assets/js/modules/table.js +24 -24
  14. package/assets/js/scripts.bundle.js +63 -52
  15. package/assets/js/scripts.bundle.js.map +1 -1
  16. package/assets/js/scripts.bundle.min.js +2 -2
  17. package/assets/js/scripts.bundle.min.js.map +1 -1
  18. package/assets/sass/_functions/utilities.scss +3 -110
  19. package/assets/sass/_functions/variables.scss +3 -2
  20. package/assets/sass/_tests/colours.spec.scss +45 -0
  21. package/assets/sass/_tests/func.spec.scss +233 -0
  22. package/assets/sass/_tests/mixins.spec.scss +194 -0
  23. package/assets/sass/_tests/sass.spec.js +9 -0
  24. package/assets/sass/_tests/typography.spec.scss +36 -0
  25. package/assets/sass/components/alert.scss +1 -1
  26. package/assets/sass/components/cardDeck.scss +1 -1
  27. package/assets/sass/components/carousel.scss +5 -5
  28. package/assets/sass/components/charts.scss +1 -1
  29. package/assets/sass/components/nav.scss +47 -2
  30. package/assets/sass/components/stepper.scss +3 -3
  31. package/assets/sass/elements/buttons.scss +46 -4
  32. package/assets/sass/elements/card.scss +112 -0
  33. package/assets/sass/elements/container.scss +13 -2
  34. package/assets/sass/elements/forms.scss +68 -0
  35. package/assets/sass/elements/links.scss +2 -1
  36. package/assets/sass/elements/lists.scss +48 -1
  37. package/assets/sass/elements/panel.scss +3 -3
  38. package/assets/sass/elements/tables.scss +1 -1
  39. package/assets/sass/elements/tooltips.scss +1 -1
  40. package/assets/sass/foundations/icons.scss +8 -0
  41. package/assets/sass/foundations/root.scss +23 -4
  42. package/assets/ts/main.js +57 -0
  43. package/assets/ts/main.js.map +1 -0
  44. package/assets/ts/main.ts +10 -10
  45. package/assets/ts/modules/accordion.js +33 -0
  46. package/assets/ts/modules/accordion.js.map +1 -0
  47. package/dist/components.es.js +2518 -0
  48. package/dist/components.umd.js +56 -3784
  49. package/dist/style.css +1 -0
  50. package/package.json +87 -87
  51. package/src/components/Accordion/Accordion.screenshot.vue +57 -0
  52. package/src/components/Accordion/Accordion.spec.js +63 -0
  53. package/src/components/Accordion/Accordion.vue +1 -1
  54. package/src/components/Accordion/AccordionItem.vue +1 -1
  55. package/src/components/Accordion/__screenshots__/win32/laptop/Accordion.png +0 -0
  56. package/src/components/Accordion/__screenshots__/win32/mobile/Accordion.png +0 -0
  57. package/src/components/Accordion/__screenshots__/win32/tablet/Accordion.png +0 -0
  58. package/src/components/Alert/Alert.spec.js +49 -0
  59. package/src/components/Alert/Alert.vue +3 -3
  60. package/src/components/Banner/Banner.spec.js +28 -0
  61. package/src/components/CardDeck/CardDeck.spec.js +99 -0
  62. package/src/components/CardDeck/CardDeck.vue +1 -1
  63. package/src/components/Carousel/Carousel.spec.js +45 -0
  64. package/src/components/Chart/Chart.spec.js +201 -0
  65. package/src/components/Chart/Chart.vue +3 -3
  66. package/src/components/Header/Header.spec.js +33 -0
  67. package/src/components/Modal/Modal.spec.js +22 -0
  68. package/src/components/Nav/Nav.spec.js +35 -0
  69. package/src/components/Nav/Nav.vue +5 -2
  70. package/src/components/Stepper/Stepper.spec.js +99 -0
  71. package/src/components/Tabs/Tab.vue +6 -0
  72. package/src/components/Tabs/Tabs.vue +15 -13
  73. package/src/components/Testimonial/Testimonial.spec.js +57 -0
  74. package/src/components/Timeline/Timeline.spec.js +17 -0
  75. package/src/elements/Card/Card.vue +11 -2
  76. package/src/elements/Input/Input.vue +14 -10
  77. package/src/elements/Table/Table.spec.js +90 -0
  78. package/src/elements/Table/Table.vue +8 -5
  79. package/src/foundations/Icon/Icon.spec.js +24 -0
  80. package/src/foundations/Logo/Logo.spec.js +56 -0
  81. package/src/vue-shim.d.ts +6 -0
  82. package/dist/components.common.js +0 -3773
  83. package/dist/components.common.js.map +0 -1
  84. package/dist/components.css +0 -2
  85. package/dist/components.css.map +0 -1
  86. package/dist/components.umd.js.map +0 -1
  87. package/dist/components.umd.min.js +0 -2
  88. package/dist/components.umd.min.js.map +0 -1
  89. package/dist/demo.html +0 -1
@@ -87,113 +87,6 @@ $utilities: map-merge(
87
87
  );
88
88
  // #endregion
89
89
 
90
- // #region Remove the responsive classes for the spacing utilities
91
- /*
92
- The spacing utilities are useful but could be mis-used. The spacing of elements should be defined via the elements/components CSS.
93
- But at times tweaks/fixes to spacing needs to be made and can prevent the need of duplicate CSS to be created.
94
- However our spacing rules should be consistant across devices and we shouldn't allow device specific 'fixes' to be made
95
- Removing the resposive classes aves around 8kbs
96
- */
97
- $utilities: map-merge(
98
- $utilities,
99
- (
100
- // Padding
101
- "padding": map-merge(
102
- map-get($utilities, "padding"),
103
- (
104
- responsive: false
105
- ),
106
- ),
107
- "padding-x": map-merge(
108
- map-get($utilities, "padding-x"),
109
- (
110
- responsive: false
111
- ),
112
- ),
113
- "padding-y": map-merge(
114
- map-get($utilities, "padding-y"),
115
- (
116
- responsive: false
117
- ),
118
- ),
119
- "padding-top": map-merge(
120
- map-get($utilities, "padding-top"),
121
- (
122
- responsive: false
123
- ),
124
- ),
125
- "padding-end": map-merge(
126
- map-get($utilities, "padding-end"),
127
- (
128
- responsive: false
129
- ),
130
- ),
131
- "padding-bottom": map-merge(
132
- map-get($utilities, "padding-bottom"),
133
- (
134
- responsive: false
135
- ),
136
- ),
137
- "padding-start": map-merge(
138
- map-get($utilities, "padding-start"),
139
- (
140
- responsive: false
141
- ),
142
- ),
143
- // Margin
144
- "margin": map-merge(
145
- map-get($utilities, "margin"),
146
- (
147
- responsive: false
148
- ),
149
- ),
150
- "margin-x": map-merge(
151
- map-get($utilities, "margin-x"),
152
- (
153
- responsive: false
154
- ),
155
- ),
156
- "margin-y": map-merge(
157
- map-get($utilities, "margin-y"),
158
- (
159
- responsive: false
160
- ),
161
- ),
162
- "margin-top": map-merge(
163
- map-get($utilities, "margin-top"),
164
- (
165
- responsive: false
166
- ),
167
- ),
168
- "margin-end": map-merge(
169
- map-get($utilities, "margin-end"),
170
- (
171
- responsive: false
172
- ),
173
- ),
174
- "margin-bottom": map-merge(
175
- map-get($utilities, "margin-bottom"),
176
- (
177
- responsive: false
178
- ),
179
- ),
180
- "margin-start": map-merge(
181
- map-get($utilities, "margin-start"),
182
- (
183
- responsive: false
184
- ),
185
- ),
186
- // Gap
187
- "gap": map-merge(
188
- map-get($utilities, "gap"),
189
- (
190
- responsive: false
191
- ),
192
- ),
193
- )
194
- );
195
- // #endregion
196
-
197
90
  // #region Fonts
198
91
  $utilities: map-merge(
199
92
  $utilities,
@@ -223,9 +116,9 @@ $utilities: map-merge(
223
116
  ),
224
117
  values:
225
118
  (
226
- "secondary": linear-gradient(var(--bs-gradient-direction), var(--colour-secondary) 0, transparent 100%),
227
- "primary": linear-gradient(var(--bs-gradient-direction), var(--colour-primary) 0, transparent 100%),
228
- "info": linear-gradient(var(--bs-gradient-direction), var(--colour-info) 0, transparent 100%)
119
+ "secondary": linear-gradient(var(--gradient-direction), var(--colour-secondary) 0, transparent 100%),
120
+ "primary": linear-gradient(var(--gradient-direction), var(--colour-primary) 0, transparent 100%),
121
+ "info": linear-gradient(var(--gradient-direction), var(--colour-info) 0, transparent 100%)
229
122
  )
230
123
  )
231
124
  )
@@ -159,7 +159,8 @@ $vars: map-merge((
159
159
  "--colour-black-theme": rgba(to-rgb(#000000),var(--alpha,1)),
160
160
  "--colour-body": rgba(to-rgb($colour-body),var(--alpha,1)),
161
161
  "--colour-white": rgba(to-rgb(#ffffff),var(--alpha,1)),
162
- "--colour-black": rgba(to-rgb(#000000),var(--alpha,1))
162
+ "--colour-black": rgba(to-rgb(#000000),var(--alpha,1)),
163
+ "--colour-admin-theme": #f0f0f0
163
164
  ), $vars);
164
165
 
165
166
  $gradient: linear-gradient(180deg, var(--colour-secondary) 0, var(--colour-info) 100%);
@@ -409,7 +410,7 @@ $pagination-focus-color: var(--colour-hover);
409
410
  $pagination-focus-bg: var(--colour-muted);
410
411
 
411
412
  // Active
412
- $pagination-active-color: var(--bs-body-bg);
413
+ $pagination-active-color: var(--body-bg);
413
414
  $pagination-active-bg: var(--colour-heading);
414
415
  $pagination-active-border-color: var(--colour-heading);
415
416
 
@@ -0,0 +1,45 @@
1
+ @use 'true' as *;
2
+ @import '../../sass/func';
3
+
4
+ $test_colors: ();
5
+ $test_colors: map-merge((
6
+ "primary": rgba(0, 49, 60, var(--alpha, 1)),
7
+ "secondary": rgba(180, 230, 165, var(--alpha, 1)),
8
+ "success": rgba(180, 230, 165, var(--alpha, 1)),
9
+ "info": rgba(30, 190, 230, var(--alpha, 1)),
10
+ "warning": rgba(255, 165, 0, var(--alpha, 1)),
11
+ "danger": rgba(220, 53, 69, var(--alpha, 1)),
12
+ "light": rgba(255, 210, 210, var(--alpha, 1)),
13
+ "dark": rgba(70, 0, 60, var(--alpha, 1)),
14
+ "muted-theme": #9d9d9d,
15
+ "muted": var(--colour-muted-theme),
16
+ "border-theme": #6f6f6f,
17
+ "border": var(--colour-border-theme),
18
+ "link-theme": #00313c,
19
+ "link": var(--colour-link-theme),
20
+ "focus-theme": #000000,
21
+ "focus": var(--colour-focus-theme),
22
+ "hover-theme": #000000,
23
+ "hover": var(--colour-hover-theme),
24
+ "active-theme": #b4e6a5,
25
+ "active": var(--colour-active-theme),
26
+ "selected-theme": #1ebee6,
27
+ "selected": var(--colour-selected-theme)
28
+ ), $test_colors);
29
+
30
+
31
+ @include describe('Colour variables are added to the global var array [Variable]') {
32
+ @each $color, $value in $test_colors {
33
+
34
+ @include it($color+' colour variable is added to the global var array with the correct hex code') {
35
+ @include assert {
36
+ @include output {
37
+ color: map-get($vars, --colour-#{$color});
38
+ }
39
+ @include expect {
40
+ color: $value;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,233 @@
1
+ @use 'true' as *;
2
+ @import '../../sass/func';
3
+
4
+ /*#region em*/
5
+ @include describe('em [func]') {
6
+ @include it('em function returns the correct em size') {
7
+ // Assert the expected results
8
+ @include assert {
9
+ @include output {
10
+ font-size: em(16);
11
+ }
12
+ @include expect {
13
+ font-size: 1em;
14
+ }
15
+ }
16
+ }
17
+ }
18
+ /*#endregion*/
19
+
20
+ /*#region rem*/
21
+ @include describe('rem [func]') {
22
+ @include it('rem function returns the correct rem size') {
23
+ // Assert the expected results
24
+ @include assert {
25
+ @include output {
26
+ font-size: rem(16);
27
+ }
28
+ @include expect {
29
+ font-size: 1rem;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ /*#endregion*/
35
+
36
+ /*#region rem*/
37
+ @include describe('rem [func]') {
38
+ @include it('rem function returns the correct rem size') {
39
+ // Assert the expected results
40
+ @include assert {
41
+ @include output {
42
+ font-size: rem(16);
43
+ }
44
+ @include expect {
45
+ font-size: 1rem;
46
+ }
47
+ }
48
+ }
49
+ }
50
+ /*#endregion*/
51
+
52
+ /*#region vw*/
53
+ @include describe('vw [func]') {
54
+ @include it('vw function returns the correct vw size') {
55
+ // Assert the expected results
56
+ @include assert {
57
+ @include output {
58
+ font-size: vw(375);
59
+ }
60
+ @include expect {
61
+ font-size: 4.26667vw;
62
+ }
63
+ }
64
+ @include assert {
65
+ @include output {
66
+ font-size: vw(768);
67
+ }
68
+ @include expect {
69
+ font-size: 2.08333vw;
70
+ }
71
+ }
72
+ @include assert {
73
+ @include output {
74
+ font-size: vw(1280);
75
+ }
76
+ @include expect {
77
+ font-size: 1.25vw;
78
+ }
79
+ }
80
+ }
81
+ }
82
+ /*#endregion*/
83
+
84
+
85
+ /*#region vw*/
86
+ @include describe('vw [func]') {
87
+ @include it('vw function returns the correct vw size') {
88
+ // Assert the expected results
89
+ @include assert {
90
+ @include output {
91
+ font-size: vw(375);
92
+ }
93
+ @include expect {
94
+ font-size: 4.26667vw;
95
+ }
96
+ }
97
+ @include assert {
98
+ @include output {
99
+ font-size: vw(768);
100
+ }
101
+ @include expect {
102
+ font-size: 2.08333vw;
103
+ }
104
+ }
105
+ @include assert {
106
+ @include output {
107
+ font-size: vw(1280);
108
+ }
109
+ @include expect {
110
+ font-size: 1.25vw;
111
+ }
112
+ }
113
+ }
114
+ }
115
+ /*#endregion*/
116
+
117
+ /*#region boostrap color functions*/
118
+ @include describe('Bootstrap colour functions dont do anything [func]') {
119
+ @include it('darken function returns the input without change') {
120
+ // Assert the expected results
121
+ @include assert {
122
+ @include output {
123
+ color: darken(#ffffff, 50);
124
+ }
125
+ @include expect {
126
+ color: #ffffff;
127
+ }
128
+ }
129
+ }
130
+ @include it('lighten function returns the input without change') {
131
+ // Assert the expected results
132
+ @include assert {
133
+ @include output {
134
+ color: lighten(#ffffff, 50);
135
+ }
136
+ @include expect {
137
+ color: #ffffff;
138
+ }
139
+ }
140
+ }
141
+ @include it('saturate function returns the input without change') {
142
+ // Assert the expected results
143
+ @include assert {
144
+ @include output {
145
+ color: saturate(#ffffff, 50);
146
+ }
147
+ @include expect {
148
+ color: #ffffff;
149
+ }
150
+ }
151
+ }
152
+ @include it('desaturate function returns the input without change') {
153
+ // Assert the expected results
154
+ @include assert {
155
+ @include output {
156
+ color: desaturate(#ffffff, 50);
157
+ }
158
+ @include expect {
159
+ color: #ffffff;
160
+ }
161
+ }
162
+ }
163
+ @include it('adjust-hue function returns the input without change') {
164
+ // Assert the expected results
165
+ @include assert {
166
+ @include output {
167
+ color: adjust-hue(#ffffff, 50);
168
+ }
169
+ @include expect {
170
+ color: #ffffff;
171
+ }
172
+ }
173
+ }
174
+ @include it('tint function returns the input without change') {
175
+ // Assert the expected results
176
+ @include assert {
177
+ @include output {
178
+ color: tint(#ffffff, 50);
179
+ }
180
+ @include expect {
181
+ color: #ffffff;
182
+ }
183
+ }
184
+ }
185
+ @include it('shade function returns the input without change') {
186
+ // Assert the expected results
187
+ @include assert {
188
+ @include output {
189
+ color: shade(#ffffff, 50);
190
+ }
191
+ @include expect {
192
+ color: #ffffff;
193
+ }
194
+ }
195
+ }
196
+ }
197
+ /*#endregion*/
198
+
199
+ /*#region breakpoint-max*/
200
+ @include describe('breakpoint-max [func]') {
201
+ @include it('breakpoint-max func creates a max-width media query') {
202
+ // Assert the expected results
203
+ @include assert {
204
+ @include output {
205
+ $name: 'sm';
206
+ $max: breakpoint-max($name);
207
+ @media (max-width: $max) {
208
+ color: red;
209
+ }
210
+ }
211
+ @include expect {
212
+ @media (max-width: 35.98em) {
213
+ color: red;
214
+ }
215
+ }
216
+ }
217
+ @include assert {
218
+ @include output {
219
+ $name: 'md';
220
+ $max: breakpoint-max($name);
221
+ @media (max-width: $max) {
222
+ color: red;
223
+ }
224
+ }
225
+ @include expect {
226
+ @media (max-width: 61.98em) {
227
+ color: red;
228
+ }
229
+ }
230
+ }
231
+ }
232
+ }
233
+ /*#endregion*/
@@ -0,0 +1,194 @@
1
+ @use 'true' as *;
2
+ @import '../../sass/func';
3
+
4
+ /*#region prefix*/
5
+ @include describe('prefix [Mixin]') {
6
+ @include it('prefix mixin duplicates the rule with the assigned prefixes') {
7
+ // Assert the expected results
8
+ @include assert {
9
+ @include output {
10
+ @include prefix(transform,scale(2));
11
+ }
12
+ @include expect {
13
+ -webkit-transform: scale(2);
14
+ -ms-transform: scale(2);
15
+ -o-transform: scale(2);
16
+ transform: scale(2);
17
+ }
18
+ }
19
+ @include assert {
20
+ @include output {
21
+ @include prefix(transform,scale(2),webkit);
22
+ }
23
+ @include expect {
24
+ -webkit-transform: scale(2);
25
+ transform: scale(2);
26
+ }
27
+ }
28
+ }
29
+ }
30
+ /*#endregion*/
31
+
32
+ /*#region var*/
33
+ @include describe('var [Mixin]') {
34
+ @include it('Var mixin returns the colour heading as a CSS variable') {
35
+ // Assert the expected results
36
+ @include assert {
37
+ @include output {
38
+ @include var(color,--colour-primary);
39
+ }
40
+ @include expect {
41
+ color: var(--colour-primary);
42
+ }
43
+ }
44
+ }
45
+ }
46
+ /*#endregion*/
47
+
48
+ /*#region inline-text*/
49
+ @include describe('inline-text[Mixin]') {
50
+ @include it('inline-text returns selecters prefixed with inline element selectors') {
51
+ // Assert the expected results
52
+ @include assert {
53
+ @include output {
54
+ @include inline-text(){
55
+ color: purple;
56
+ background: green;
57
+ }
58
+ }
59
+ @include expect {
60
+ p,
61
+ ul,
62
+ ol,
63
+ dd,
64
+ .body,
65
+ table:not(.table--email) td{
66
+ color: purple;
67
+ background: green;
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ /*#endregion */
74
+
75
+ // #region headers
76
+ @include describe('headers[Mixin]') {
77
+ @include it('headers returns selecters prefixed with the header selectors') {
78
+ // Assert the expected results
79
+ @include assert {
80
+ @include output {
81
+ @include headers(){
82
+ color: purple;
83
+ background: green;
84
+ }
85
+ }
86
+ @include expect {
87
+ h1,
88
+ h2,
89
+ h3,
90
+ h4,
91
+ h5,
92
+ h6 {
93
+ color: purple;
94
+ background: green;
95
+ }
96
+ }
97
+ }
98
+ @include assert {
99
+ @include output {
100
+ @include headers('true'){
101
+ color: purple;
102
+ background: green;
103
+ }
104
+ }
105
+ @include expect {
106
+ h1,
107
+ h2,
108
+ h3,
109
+ h4,
110
+ h5,
111
+ h6 {
112
+ color: purple;
113
+ background: green;
114
+ }
115
+
116
+ .h1,
117
+ .h2,
118
+ .h3,
119
+ .h4,
120
+ .h5,
121
+ .h6 {
122
+ color: purple;
123
+ background: green;
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ // #endregion
130
+
131
+ /*#region bg-variant*/
132
+ @include describe('bg-variant [Mixin]') {
133
+ @include it('bg-variant returns the correct css variable') {
134
+ // Assert the expected results
135
+ @include assert {
136
+ @include output {
137
+ $parent: '.bg-primary';
138
+ $color: 'primary';
139
+ @include bg-variant($parent,$color);
140
+ }
141
+ @include expect {
142
+ .bg-primary {
143
+ --bg-colour: var(--colour-primary);
144
+ --bg-colour-tint: var(--colour-primary-tint);
145
+ background-color: var(--colour-primary) !important;
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ /*#endregion */
152
+
153
+ /*#region text-emphasis-variant*/
154
+ @include describe('text-emphasis-variant [Mixin]') {
155
+ @include it('text-emphasis-variant returns') {
156
+ // Assert the expected results
157
+ @include assert {
158
+ @include output {
159
+ $parent: '.text-primary';
160
+ $color: 'primary';
161
+ @include text-emphasis-variant($parent,$color);
162
+ }
163
+ @include expect {
164
+ .text-primary {
165
+ color: var(--colour-primary) !important;
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ /*#endregion */
172
+
173
+
174
+ /*#region font-size*/
175
+ @include describe('font-size [Mixin]') {
176
+ @include it('font-size returns') {
177
+ // Assert the expected results
178
+ @include assert {
179
+ @include output {
180
+ @include font-size($h1-font-size);
181
+ @include font-size($h1-font-size, 'true');
182
+ }
183
+ @include expect {
184
+ font-size: var(--fs-1);
185
+ font-size: $h1-font-size;
186
+ }
187
+ }
188
+ }
189
+ }
190
+ /*#endregion */
191
+
192
+
193
+
194
+
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @jest-environment node
3
+ */
4
+
5
+ const path = require('path');
6
+ const sassTrue = require('sass-true');
7
+
8
+ const sassFile = path.join(__dirname, 'colours.spec.scss');
9
+ sassTrue.runSass({ file: sassFile }, { describe, it });
@@ -0,0 +1,36 @@
1
+ @use 'true' as *;
2
+ @import '../../sass/func';
3
+
4
+ @include describe('Font variables should be defined correctly') {
5
+
6
+ @include it('with the body font set to Qanelas Medium') {
7
+ @include assert {
8
+ @include output {
9
+ font-family: map-get($vars, --font-body);
10
+ }
11
+ @include expect {
12
+ font-family: qanelasmedium, arial, sans-serif;
13
+ }
14
+ }
15
+ }
16
+ @include it('with the header font set to Qanelas Soft') {
17
+ @include assert {
18
+ @include output {
19
+ font-family: map-get($vars, --font-heading);
20
+ }
21
+ @include expect {
22
+ font-family: qanelas_softextrabold, arial, sans-serif;
23
+ }
24
+ }
25
+ }
26
+ @include it('with the header font weight set to 700') {
27
+ @include assert {
28
+ @include output {
29
+ font-weight: map-get($vars, --heading-weight);
30
+ }
31
+ @include expect {
32
+ font-weight: 700;
33
+ }
34
+ }
35
+ }
36
+ }
@@ -7,7 +7,7 @@
7
7
  padding: 1.5rem;
8
8
  margin-bottom: 2rem;
9
9
  @include border-radius($alert-border-radius);
10
- //--bs-bg-opacity: 0.5;
10
+ //--bg-opacity: 0.5;
11
11
 
12
12
  &:not(.bg-primary):not(.bg-dark):not(.bg-danger) {
13
13
  --colour-body: black;
@@ -72,7 +72,7 @@
72
72
  display: grid;
73
73
  grid-template-columns: 1fr 1fr 41.66666667%;
74
74
  grid-template-rows: auto auto auto;
75
- gap: var(--bs-gutter-y) var(--bs-gutter-x);
75
+ gap: var(--gutter-y) var(--gutter-x);
76
76
  grid-template-areas:
77
77
  "featured featured card2"
78
78
  "featured featured card3"