nk_jtb 0.13.1 → 0.13.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nk_jtb",
3
3
  "description": "Yet another utility based framework.",
4
- "version": "0.13.1",
4
+ "version": "0.13.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/naykel76/nk_jtb.git"
@@ -41,7 +41,7 @@ body {
41
41
 
42
42
  hr {
43
43
  height: 0;
44
- border-color: #ccc;
44
+ border-color: #e5e7eb;
45
45
  border-top-width: 2px;
46
46
  margin: $content-gap 0;
47
47
  }
@@ -1,5 +1,5 @@
1
- @use "../variables" as *;
2
- @use "../functions/colorFunctions" as *;
1
+ @use '../variables' as *;
2
+ @use '../functions/colorFunctions' as *;
3
3
 
4
4
  .menu {
5
5
  display: flex;
@@ -9,12 +9,13 @@
9
9
  list-style: none;
10
10
  margin-left: 0; // remove margin for ul
11
11
 
12
- // limit opinionated styles to allow parent styles to trickle down
12
+ li {
13
+ margin: 0;
14
+ }
15
+
13
16
  :where(a, li a, .menu-item) {
14
17
  color: inherit;
15
18
  padding: $menu-padding-y $menu-padding-x;
16
- // this was initially set to display block but it is too difficult to
17
- // work with icons and chevrons on the anchor element.
18
19
  display: flex;
19
20
  align-items: center;
20
21
 
@@ -130,15 +130,14 @@ question {
130
130
  }
131
131
 
132
132
  // make the margin between the question and the following content smaller.
133
- //
133
+ //
134
134
  // <p><question></question></p>
135
135
  // <p></p>
136
- //
137
- p:has(question) + p {
136
+ //
137
+ p:has(question) > p {
138
138
  margin-block-start: 0.5rem;
139
139
  }
140
140
 
141
-
142
141
  // removed 14-02-25 i do not think this is needed
143
142
  // h3:has(question) + p {
144
143
  // + ul {
@@ -206,15 +205,6 @@ p:has(question) + p {
206
205
  background: red;
207
206
  margin-top: 0.5rem !important;
208
207
  }
209
-
210
- // all lists on a page
211
- .list-space-all {
212
- ~ ul li {
213
- margin-top: 0.5rem;
214
- }
215
- }
216
-
217
-
218
208
  }
219
209
 
220
210
  .mermaid > svg {
@@ -232,11 +222,6 @@ p:has(question) + p {
232
222
  }
233
223
  }
234
224
 
235
-
236
-
237
-
238
-
239
-
240
225
  ////
241
226
  /// @group spacing-hacks
242
227
  ////
@@ -254,3 +239,19 @@ p:has(question) + p {
254
239
  .adjacent-list-space-1 + ul li:not(:first-child) {
255
240
  margin-block-start: 1rem;
256
241
  }
242
+
243
+ .adjacent-list-space-05 + ul li:not(:first-child) {
244
+ margin-block-start: 0.5rem;
245
+ }
246
+
247
+ .indent-all-lists-2 ~ ul {
248
+ margin-inline-start: 2rem;
249
+ }
250
+
251
+
252
+ // all lists on a page
253
+ .list-space-all-1 {
254
+ ~ ul li {
255
+ margin-top: 1rem;
256
+ }
257
+ }
@@ -1,3 +1,6 @@
1
+ @use '../functions/helpers' as *;
2
+ @use '../variables' as *;
3
+ @use '../mixins/media' as *;
1
4
 
2
5
  // ==========================================================================
3
6
  // -- DISABLED --
@@ -12,17 +15,17 @@
12
15
  // -- REVIEW --
13
16
  // ==========================================================================
14
17
 
15
- // .hover\:txt-primary:hover {
16
- // color: $primary;
17
- // }
18
+ .hover\:txt-primary:hover {
19
+ color: $primary;
20
+ }
18
21
 
19
- // .hover\:txt-secondary:hover {
20
- // color: $secondary;
21
- // }
22
+ .hover\:txt-secondary:hover {
23
+ color: $secondary;
24
+ }
22
25
 
23
- // .hover\:txt-white:hover {
24
- // color: #fff;
25
- // }
26
+ .hover\:txt-white:hover {
27
+ color: #fff;
28
+ }
26
29
 
27
30
  // .hover\:text-white:hover {
28
31
  // --tw-text-opacity: 1;