@swiftwc/ui 0.0.0-dev.11 → 0.0.0-dev.111

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 (301) hide show
  1. package/css-data/en.json +28 -0
  2. package/generated/buses/alert-dialog.d.ts +2 -0
  3. package/generated/buses/alert-dialog.js +1 -0
  4. package/generated/buses/confirmation-dialog.d.ts +2 -0
  5. package/generated/buses/confirmation-dialog.js +1 -0
  6. package/generated/buses/index.d.ts +6 -0
  7. package/generated/buses/index.js +6 -0
  8. package/generated/buses/lifecycle-observer.d.ts +2 -0
  9. package/generated/buses/lifecycle-observer.js +1 -0
  10. package/generated/client/index.d.ts +24 -10
  11. package/generated/client/index.js +179 -194
  12. package/generated/components/alert-dialog.d.ts +11 -0
  13. package/generated/components/alert-dialog.js +94 -0
  14. package/generated/components/body-view.d.ts +8 -0
  15. package/generated/components/body-view.js +6 -2
  16. package/generated/components/bordered-button.d.ts +10 -0
  17. package/generated/components/bordered-button.js +36 -3
  18. package/generated/components/bordered-prominent-button.d.ts +10 -0
  19. package/generated/components/bordered-prominent-button.js +36 -3
  20. package/generated/components/borderless-button.d.ts +9 -1
  21. package/generated/components/borderless-button.js +29 -11
  22. package/generated/components/color-scheme.d.ts +12 -0
  23. package/generated/components/color-scheme.js +51 -0
  24. package/generated/components/confirmation-dialog.d.ts +4 -1
  25. package/generated/components/confirmation-dialog.js +38 -32
  26. package/generated/components/content-unavailable.d.ts +30 -0
  27. package/generated/components/content-unavailable.js +79 -0
  28. package/generated/components/date-picker.d.ts +21 -15
  29. package/generated/components/date-picker.js +126 -88
  30. package/generated/components/detail-placeholder.d.ts +11 -0
  31. package/generated/components/detail-placeholder.js +15 -0
  32. package/generated/components/disclosure-group.d.ts +8 -0
  33. package/generated/components/disclosure-group.js +18 -7
  34. package/generated/components/fine-tooltip.d.ts +15 -0
  35. package/generated/components/fine-tooltip.js +108 -0
  36. package/generated/components/form-view.d.ts +10 -0
  37. package/generated/components/form-view.js +8 -3
  38. package/generated/components/glass-button.d.ts +10 -0
  39. package/generated/components/glass-button.js +36 -3
  40. package/generated/components/glass-prominent-button.d.ts +10 -0
  41. package/generated/components/glass-prominent-button.js +36 -3
  42. package/generated/components/h-divider.d.ts +11 -0
  43. package/generated/components/h-divider.js +15 -0
  44. package/generated/components/h-stack.d.ts +22 -0
  45. package/generated/components/h-stack.js +24 -0
  46. package/generated/components/image-view.d.ts +18 -0
  47. package/generated/components/image-view.js +65 -0
  48. package/generated/components/index.d.ts +15 -3
  49. package/generated/components/index.js +15 -3
  50. package/generated/components/label-view.d.ts +19 -1
  51. package/generated/components/label-view.js +63 -62
  52. package/generated/components/labeled-content.d.ts +33 -0
  53. package/generated/components/labeled-content.js +160 -0
  54. package/generated/components/list-view.d.ts +14 -0
  55. package/generated/components/list-view.js +12 -17
  56. package/generated/components/menu-view.d.ts +12 -1
  57. package/generated/components/menu-view.js +63 -65
  58. package/generated/components/navigation-large-title.d.ts +11 -0
  59. package/generated/components/navigation-large-title.js +11 -5
  60. package/generated/components/navigation-split-view.d.ts +9 -1
  61. package/generated/components/navigation-split-view.js +10 -6
  62. package/generated/components/navigation-stack.d.ts +9 -1
  63. package/generated/components/navigation-stack.js +13 -11
  64. package/generated/components/navigation-title.d.ts +11 -1
  65. package/generated/components/navigation-title.js +58 -55
  66. package/generated/components/picker-view.d.ts +48 -7
  67. package/generated/components/picker-view.js +971 -261
  68. package/generated/components/plain-button.js +3 -3
  69. package/generated/components/progress-view.d.ts +20 -0
  70. package/generated/components/progress-view.js +120 -0
  71. package/generated/components/screen-view.js +2 -1
  72. package/generated/components/scroll-view-proxy.d.ts +13 -0
  73. package/generated/components/scroll-view-proxy.js +15 -0
  74. package/generated/components/scroll-view.d.ts +13 -1
  75. package/generated/components/scroll-view.js +140 -97
  76. package/generated/components/search-view.d.ts +12 -0
  77. package/generated/components/search-view.js +24 -0
  78. package/generated/components/section-view.d.ts +13 -1
  79. package/generated/components/section-view.js +38 -58
  80. package/generated/components/sheet-view.d.ts +4 -2
  81. package/generated/components/sheet-view.js +10 -39
  82. package/generated/components/sidebar-toggle.d.ts +9 -1
  83. package/generated/components/sidebar-toggle.js +46 -69
  84. package/generated/components/sidebar-view.d.ts +3 -0
  85. package/generated/components/sidebar-view.js +16 -9
  86. package/generated/components/sticky-container.d.ts +6 -1
  87. package/generated/components/sticky-container.js +9 -7
  88. package/generated/components/tab-bar.d.ts +3 -0
  89. package/generated/components/tab-bar.js +17 -13
  90. package/generated/components/tab-item.d.ts +3 -0
  91. package/generated/components/tab-item.js +20 -13
  92. package/generated/components/tab-view.d.ts +13 -4
  93. package/generated/components/tab-view.js +25 -89
  94. package/generated/components/table-view.d.ts +19 -0
  95. package/generated/components/table-view.js +88 -107
  96. package/generated/components/text-field.d.ts +19 -6
  97. package/generated/components/text-field.js +127 -99
  98. package/generated/components/text-view.d.ts +11 -0
  99. package/generated/components/text-view.js +16 -0
  100. package/generated/components/toggle-view.d.ts +43 -0
  101. package/generated/components/toggle-view.js +366 -0
  102. package/generated/components/tool-bar-item-group.d.ts +8 -0
  103. package/generated/components/tool-bar-item-group.js +22 -4
  104. package/generated/components/tool-bar-item.d.ts +12 -1
  105. package/generated/components/tool-bar-item.js +57 -10
  106. package/generated/components/tool-bar.d.ts +19 -0
  107. package/generated/components/tool-bar.js +48 -33
  108. package/generated/components/v-divider.d.ts +11 -0
  109. package/generated/components/v-divider.js +15 -0
  110. package/generated/components/v-keyboard.d.ts +8 -1
  111. package/generated/components/v-keyboard.js +11 -9
  112. package/generated/components/v-stack.d.ts +20 -0
  113. package/generated/components/v-stack.js +18 -2
  114. package/generated/css/index.css +4617 -1266
  115. package/generated/events/alert-dialog.d.ts +13 -0
  116. package/generated/events/alert-dialog.js +1 -0
  117. package/generated/events/confirmation-dialog.d.ts +7 -2
  118. package/generated/events/date-picker.d.ts +6 -1
  119. package/generated/events/index.d.ts +2 -0
  120. package/generated/events/index.js +2 -0
  121. package/generated/events/lifecycle-observer.d.ts +10 -2
  122. package/generated/events/picker-view.d.ts +22 -1
  123. package/generated/events/scroll-view.d.ts +10 -2
  124. package/generated/events/tab-view.d.ts +38 -8
  125. package/generated/events/text-field.d.ts +6 -1
  126. package/generated/events/toggle-view.d.ts +14 -0
  127. package/generated/events/toggle-view.js +1 -0
  128. package/generated/i18n/index.d.ts +19 -10
  129. package/generated/i18n/index.js +79 -54
  130. package/generated/i18n/locales/el.d.ts +16 -0
  131. package/generated/i18n/locales/el.js +16 -0
  132. package/generated/i18n/locales/en.d.ts +16 -0
  133. package/generated/i18n/locales/en.js +16 -0
  134. package/generated/i18n/locales/index.d.ts +4 -0
  135. package/generated/i18n/locales/index.js +4 -0
  136. package/generated/internal/class/css-style-observer.js +2 -2
  137. package/generated/internal/class/form-associated-base.d.ts +0 -4
  138. package/generated/internal/class/form-associated-base.js +22 -39
  139. package/generated/internal/class/mutation-observer-set.d.ts +9 -0
  140. package/generated/internal/class/mutation-observer-set.js +42 -0
  141. package/generated/internal/class/mutation-observer-singleton.js +18 -0
  142. package/generated/internal/class/navigation-view.d.ts +1 -1
  143. package/generated/internal/class/navigation-view.js +36 -43
  144. package/generated/internal/decorators/adaptive-slot.d.ts +1 -0
  145. package/generated/internal/decorators/adaptive-slot.js +47 -0
  146. package/generated/internal/decorators/custom-element.d.ts +1 -1
  147. package/generated/internal/decorators/custom-element.js +2 -1
  148. package/generated/internal/decorators/index.d.ts +6 -0
  149. package/generated/internal/decorators/index.js +6 -0
  150. package/generated/internal/decorators/microtask-on-connected.d.ts +39 -0
  151. package/generated/internal/decorators/microtask-on-connected.js +67 -0
  152. package/generated/internal/flags.d.ts +4 -0
  153. package/generated/internal/flags.js +1 -0
  154. package/generated/internal/privateNamespace.d.ts +10 -0
  155. package/generated/internal/privateNamespace.js +159 -1
  156. package/generated/internal/utils/$.d.ts +9 -0
  157. package/generated/internal/utils/$.js +11 -0
  158. package/generated/internal/utils/compare-big-decimals.js +7 -17
  159. package/generated/internal/utils/debug.d.ts +1 -0
  160. package/generated/internal/utils/debug.js +4 -0
  161. package/generated/internal/utils/define-translations.d.ts +1 -0
  162. package/generated/internal/utils/define-translations.js +3 -0
  163. package/generated/internal/utils/ensure-placeholder.d.ts +1 -0
  164. package/generated/internal/utils/ensure-placeholder.js +41 -0
  165. package/generated/internal/utils/index.d.ts +39 -2
  166. package/generated/internal/utils/index.js +39 -3
  167. package/generated/internal/utils/is-inside.d.ts +1 -0
  168. package/generated/internal/utils/is-inside.js +4 -0
  169. package/generated/internal/utils/kebab-case.js +6 -9
  170. package/generated/internal/utils/list-active.js +67 -12
  171. package/generated/internal/utils/touch-glass.js +5 -5
  172. package/generated/internal/vendor/morphdom.d.ts +6 -0
  173. package/generated/internal/vendor/morphdom.js +720 -0
  174. package/generated/morphdom/index.d.ts +8 -0
  175. package/generated/morphdom/index.js +8 -0
  176. package/generated/morphdom/morph.d.ts +4 -0
  177. package/generated/morphdom/morph.js +10 -0
  178. package/generated/morphdom/query-morph.d.ts +5 -0
  179. package/generated/morphdom/query-morph.js +12 -0
  180. package/generated/morphdom/render-to-string.d.ts +12 -0
  181. package/generated/morphdom/render-to-string.js +48 -0
  182. package/generated/morphdom/unsafe-html.d.ts +2 -0
  183. package/generated/morphdom/unsafe-html.js +4 -0
  184. package/generated/namespace-browser/base.d.ts +12 -3
  185. package/generated/namespace-browser/base.js +41 -18
  186. package/generated/namespace-browser/event.d.ts +10 -0
  187. package/generated/namespace-browser/event.js +1 -0
  188. package/generated/snapshot/index.d.ts +3 -1
  189. package/generated/snapshot/index.js +23 -2
  190. package/generated/tpl/html.d.ts +5 -0
  191. package/generated/tpl/html.js +7 -0
  192. package/generated/tpl/index.d.ts +6 -0
  193. package/generated/tpl/index.js +6 -0
  194. package/generated/tpl/is-template-result.d.ts +3 -0
  195. package/generated/tpl/is-template-result.js +1 -0
  196. package/generated/tpl/render.d.ts +2 -0
  197. package/generated/tpl/render.js +132 -0
  198. package/html-data/en.json +2620 -0
  199. package/package.json +32 -7
  200. package/scss/_components.scss +15 -0
  201. package/scss/_functions.scss +10 -0
  202. package/scss/_maps.scss +293 -0
  203. package/scss/_mixins.scss +4 -0
  204. package/scss/_transitions.scss +6 -1
  205. package/scss/_utils.scss +2 -0
  206. package/scss/_vars.scss +9 -115
  207. package/scss/base/_layout.scss +17 -7
  208. package/scss/base/_reboot.scss +34 -1
  209. package/scss/base/_root.scss +143 -124
  210. package/scss/colors/_index.scss +328 -88
  211. package/scss/components/_alert-dialog.scss +111 -0
  212. package/scss/components/_bordered-button.scss +37 -0
  213. package/scss/components/_bordered-prominent-button.scss +46 -0
  214. package/scss/components/_borderless-button.scss +26 -0
  215. package/scss/components/_confirmation-dialog.scss +41 -49
  216. package/scss/components/_content-unavailable.scss +57 -0
  217. package/scss/components/_date-picker.scss +15 -15
  218. package/scss/components/_detail-placeholder.scss +1 -3
  219. package/scss/components/_disclosure-group.scss +85 -34
  220. package/scss/components/_fine-tooltip.scss +84 -0
  221. package/scss/components/_form-view.scss +63 -24
  222. package/scss/components/_glass-button.scss +37 -0
  223. package/scss/components/_glass-prominent-button.scss +47 -0
  224. package/scss/components/_group-box.scss +27 -0
  225. package/scss/components/_h-flex-stack.scss +23 -0
  226. package/scss/components/_h-stack.scss +6 -17
  227. package/scss/components/_image-view.scss +20 -0
  228. package/scss/components/_index.scss +69 -36
  229. package/scss/components/_label-view copy.scss.txt +420 -0
  230. package/scss/components/_label-view.scss +105 -120
  231. package/scss/components/_label-view.scss.txt +536 -0
  232. package/scss/components/_labeled-content.scss +67 -1
  233. package/scss/components/_list-view.scss +70 -29
  234. package/scss/components/_menu-view.scss +96 -61
  235. package/scss/components/_navigation-large-title.scss +23 -0
  236. package/scss/components/_navigation-split-view.scss +3 -3
  237. package/scss/components/_navigation-title.scss +1 -1
  238. package/scss/components/_picker-view.scss +270 -63
  239. package/scss/components/_plain-button.scss +8 -0
  240. package/scss/components/_progress-view.scss +98 -0
  241. package/scss/components/_scroll-view-proxy.scss +24 -22
  242. package/scss/components/_scroll-view-toolbars.scss +8 -2
  243. package/scss/components/_scroll-view.scss +16 -0
  244. package/scss/components/_search-view.scss +23 -0
  245. package/scss/components/_section-view.scss +23 -22
  246. package/scss/components/_sheet-view.scss +16 -6
  247. package/scss/components/_sidebar-toggle.scss +1 -4
  248. package/scss/components/_sticky-container.scss +1 -1
  249. package/scss/components/_tab-bar.scss +17 -3
  250. package/scss/components/_tab-view.scss +12 -2
  251. package/scss/components/_table-column.scss +4 -2
  252. package/scss/components/_table-row.scss +71 -3
  253. package/scss/components/_table-view.scss +27 -18
  254. package/scss/components/_text-field.scss +37 -17
  255. package/scss/components/_text-view.scss +57 -0
  256. package/scss/components/_toggle-view.scss +171 -0
  257. package/scss/components/_tool-bar-item.scss +34 -82
  258. package/scss/components/_tool-bar.scss +77 -57
  259. package/scss/components/_v-stack.scss +8 -2
  260. package/scss/final/_touch-glass.scss +31 -0
  261. package/scss/mixins/_button.scss +44 -0
  262. package/scss/mixins/_color.scss +16 -0
  263. package/scss/mixins/_dialog.scss +1 -0
  264. package/scss/mixins/_index.scss +73 -5
  265. package/scss/placeholders/_buttons.scss +46 -11
  266. package/scss/placeholders/_lists.scss +159 -126
  267. package/scss/transitions/_alert-dialog.scss +18 -0
  268. package/scss/transitions/_confirmation-dialog.scss +8 -0
  269. package/scss/transitions/_fine-tooltip.scss +21 -0
  270. package/scss/transitions/_menu-view.scss +17 -15
  271. package/scss/transitions/_progress-view.scss +23 -0
  272. package/scss/transitions/_sheet-view.scss +30 -0
  273. package/scss/transitions/_tab-bar.scss +6 -5
  274. package/scss/utils/_background.scss +52 -0
  275. package/scss/utils/_frame.scss +59 -40
  276. package/scss/utils/_index.scss +45 -56
  277. package/scss/utils/_scroll-view.scss +1 -1
  278. package/scss/utils/_spacing.scss +1 -1
  279. package/scss/utils/_stacks.scss +34 -164
  280. package/generated/confirmation-dialog/index.d.ts +0 -1
  281. package/generated/confirmation-dialog/index.js +0 -1
  282. package/generated/internal/utils/cash/index.d.ts +0 -22
  283. package/generated/internal/utils/cash/index.js +0 -23
  284. package/generated/lifecycle-observer/index.d.ts +0 -1
  285. package/generated/lifecycle-observer/index.js +0 -1
  286. package/scss/transitions/_dialog.scss +0 -28
  287. package/web-components.html-data/en.json +0 -330
  288. /package/generated/internal/utils/{cash/ancestors.d.ts → ancestors.d.ts} +0 -0
  289. /package/generated/internal/utils/{cash/ancestors.js → ancestors.js} +0 -0
  290. /package/generated/internal/utils/{cash/next-all.d.ts → next-all.d.ts} +0 -0
  291. /package/generated/internal/utils/{cash/next-all.js → next-all.js} +0 -0
  292. /package/generated/internal/utils/{cash/next.d.ts → next.d.ts} +0 -0
  293. /package/generated/internal/utils/{cash/next.js → next.js} +0 -0
  294. /package/generated/internal/utils/{cash/prev-all.d.ts → prev-all.d.ts} +0 -0
  295. /package/generated/internal/utils/{cash/prev-all.js → prev-all.js} +0 -0
  296. /package/generated/internal/utils/{cash/prev.d.ts → prev.d.ts} +0 -0
  297. /package/generated/internal/utils/{cash/prev.js → prev.js} +0 -0
  298. /package/generated/internal/utils/{cash/prop.d.ts → prop.d.ts} +0 -0
  299. /package/generated/internal/utils/{cash/prop.js → prop.js} +0 -0
  300. /package/generated/internal/utils/{cash/siblings.d.ts → siblings.d.ts} +0 -0
  301. /package/generated/internal/utils/{cash/siblings.js → siblings.js} +0 -0
@@ -1,7 +1,8 @@
1
- @use '../vars';
2
1
  @use 'sass:string';
3
2
  @use 'sass:map';
4
3
  @use 'sass:list';
4
+ @use '../vars';
5
+ @use '../functions';
5
6
 
6
7
  @mixin span-all {
7
8
  grid-column: 1 / -1; // span all columns
@@ -79,8 +80,14 @@
79
80
  grid-area: main;
80
81
  }
81
82
 
82
- &:has(~ tool-bar > [slot^='top-bar']),
83
- &:has(> [slot^='top-bar']) {
83
+ &:has(
84
+ ~ tool-bar > [slot^='top-bar'],
85
+ ~ tool-bar > [slot='cancellation-action'],
86
+ ~ tool-bar > [slot='primary-action'],
87
+ ~ tool-bar > [slot='confirmation-action'],
88
+ ~ tool-bar > [slot='destructive-action']
89
+ ),
90
+ &:has(> [slot^='top-bar'], > [slot='cancellation-action'], > [slot='primary-action'], > [slot='confirmation-action'], > [slot='destructive-action']) {
84
91
  grid-template-rows: var(--navigation-bar-block-size) minmax(max-content, 1fr);
85
92
  }
86
93
  }
@@ -110,9 +117,16 @@
110
117
  }
111
118
  }
112
119
 
113
- @mixin contain-overscroll() {
114
- overscroll-behavior: contain;
120
+ @mixin contain-overscroll($axis: both) {
115
121
  -webkit-overflow-scrolling: touch;
122
+
123
+ @if $axis == inline {
124
+ overscroll-behavior-inline: contain;
125
+ } @else if $axis == block {
126
+ overscroll-behavior-block: contain;
127
+ } @else {
128
+ overscroll-behavior: contain;
129
+ }
116
130
  }
117
131
 
118
132
  @mixin make-toolbar-pseudos($dir: bottom) {
@@ -201,6 +215,19 @@
201
215
  border-radius: var(--#{$prefix}radiustl#{','}) var(--#{$prefix}radiustr#{','}) var(--#{$prefix}radiusbr#{','}) var(--#{$prefix}radiusbl#{','});
202
216
  }
203
217
 
218
+ @mixin takeover-color-vars($prefix) {
219
+ --secondary: var(--#{$prefix}text);
220
+ --blue: var(--#{$prefix}text);
221
+ --red: var(--#{$prefix}text);
222
+ --green: var(--#{$prefix}text);
223
+ --orange: var(--#{$prefix}text);
224
+ --purple: var(--#{$prefix}text);
225
+
226
+ // NOTE: breaks list-item-tints
227
+ --accentColor: var(--#{$prefix}text);
228
+ --accentColorEffective: var(--#{$prefix}text);
229
+ }
230
+
204
231
  @mixin vt-toolbar-cell-offscreen-keyframe() {
205
232
  --toolbar-cell-scale: scale(var(--view-transition-toolbar-cell-offscreen-scale));
206
233
  --toolbar-cell-filter: blur(10px);
@@ -231,6 +258,12 @@
231
258
  }
232
259
  }
233
260
 
261
+ @mixin set-label-font($value) {
262
+ --label--titlestack-font-size: var(--label-#{$value}-font-size);
263
+ --label--titlestack-line-height: var(--label-#{$value}-line-height);
264
+ --label--titlestack-font-weight: var(--label-#{$value}-font-weight);
265
+ }
266
+
234
267
  @mixin if-iphone-landscape {
235
268
  @media (max-width: #{vars.$ipad-landscape-bp-max}) and (orientation: landscape) {
236
269
  @content;
@@ -285,6 +318,25 @@
285
318
  }
286
319
  }
287
320
 
321
+ @mixin if-content-view-list {
322
+ @include if-2col-split-view-fits {
323
+ // is content-view!
324
+ navigation-split-view > scroll-view & {
325
+ @content;
326
+ }
327
+ // is content-view!
328
+ navigation-split-view:has(> [is='sidebar-view'])[preferred-compact-column='content']:not([column-visibility='double-column']) > body-view > scroll-view & {
329
+ @content;
330
+ }
331
+ }
332
+ // is content-view!
333
+ @include if-3col-split-view-fits {
334
+ navigation-split-view:has(> [is='sidebar-view']):not([column-visibility='double-column']) > body-view > scroll-view & {
335
+ @content;
336
+ }
337
+ }
338
+ }
339
+
288
340
  // Mixin for plain CSS (linear)
289
341
  @mixin write-props($props) {
290
342
  @each $prop, $val in $props {
@@ -349,6 +401,22 @@
349
401
  }
350
402
  }
351
403
 
404
+ @mixin make-template($tokens, $prop) {
405
+ @each $template in $tokens {
406
+ $parts: string.split('#{$template}', ', ');
407
+ $result: '';
408
+ @each $part in $parts {
409
+ $result: $result + '#{$part},';
410
+ }
411
+ $result: string.slice($result, 1, string.length($result) - 1);
412
+ $final-result: functions.str-replace($result, 'minmax(0,1fr)', 'spacer');
413
+ @debug $final-result, $template;
414
+ :where(&[template='#{$final-result}']) {
415
+ #{$prop}: $template;
416
+ }
417
+ }
418
+ }
419
+
352
420
  @mixin generate-color-tokens($tokens) {
353
421
  $media-variants: (
354
422
  base: '',
@@ -1,4 +1,5 @@
1
1
  @use '../vars';
2
+ @use '../maps';
2
3
  @use '../mixins';
3
4
 
4
5
  @layer #{vars.$components-layer} {
@@ -8,13 +9,15 @@
8
9
 
9
10
  place-content: center;
10
11
 
12
+ position: relative;
13
+
11
14
  // SECTION: componentize
12
15
  @include mixins.componentize(btn);
13
16
 
14
- --btnpadistart: var(--regular-btn-padding);
15
- --btnpadiend: var(--regular-btn-padding);
16
- --btnpadbstart: var(--regular-btn-padding);
17
- --btnpadbend: var(--regular-btn-padding);
17
+ // --btnpadistart: var(--regular-btn-padding);
18
+ // --btnpadiend: var(--regular-btn-padding);
19
+ // --btnpadbstart: var(--regular-btn-padding);
20
+ // --btnpadbend: var(--regular-btn-padding);
18
21
 
19
22
  --btnradiustl: var(--regular-btn-border-radius);
20
23
  --btnradiustr: var(--regular-btn-border-radius);
@@ -22,13 +25,16 @@
22
25
  --btnradiusbr: var(--regular-btn-border-radius);
23
26
  }
24
27
 
25
- @each $size, $media in vars.$button-sizes {
26
- @if (regular != $size) {
27
- :where(&[control-size='#{$size}']) {
28
- --btnpadistart: var(--#{$size}-btn-padding);
29
- --btnpadiend: var(--#{$size}-btn-padding);
30
- --btnpadbstart: var(--#{$size}-btn-padding);
31
- --btnpadbend: var(--#{$size}-btn-padding);
28
+ @include mixins.takeover-button-slots;
29
+
30
+ @each $size, $media in maps.$button-sizes-map {
31
+ // @if (regular != $size) {
32
+ &[control-size='#{$size}'] {
33
+ :where(&) {
34
+ // --btnpadistart: var(--#{$size}-btn-padding);
35
+ // --btnpadiend: var(--#{$size}-btn-padding);
36
+ // --btnpadbstart: var(--#{$size}-btn-padding);
37
+ // --btnpadbend: var(--#{$size}-btn-padding);
32
38
 
33
39
  --btnradiustl: var(--#{$size}-btn-border-radius);
34
40
  --btnradiustr: var(--#{$size}-btn-border-radius);
@@ -36,6 +42,15 @@
36
42
  --btnradiusbr: var(--#{$size}-btn-border-radius);
37
43
  }
38
44
  }
45
+ // }
46
+ }
47
+
48
+ &[control-size='small'] {
49
+ --label-font: callout;
50
+ }
51
+
52
+ &[control-size='mini'] {
53
+ --label-font: caption;
39
54
  }
40
55
  }
41
56
  }
@@ -54,6 +69,26 @@
54
69
  }
55
70
  }
56
71
 
72
+ // @layer #{vars.$utils-layer} {
73
+ // %button {
74
+ // > [slot] {
75
+ // :where(&) {
76
+ // position: absolute;
77
+ // }
78
+ // }
79
+ // // &:has(> [slot='overlay'] > [slot='overlay']) {
80
+ // // :where(&) {
81
+ // // display: grid;
82
+ // // }
83
+ // // }
84
+ // &:not(:has(> :not([slot]))) > [slot='placeholder'] {
85
+ // :where(&) {
86
+ // position: relative;
87
+ // }
88
+ // }
89
+ // }
90
+ // }
91
+
57
92
  @layer #{vars.$ui-layer} {
58
93
  // SECTION: componentize
59
94
  %button {
@@ -1,7 +1,9 @@
1
1
  @use '../vars';
2
2
  @use '../mixins';
3
3
 
4
- @layer #{vars.$components-layer} {
4
+ $list-item-selector: ':not([slot], section-view, [is="disclosure-group"], picker-view, menu-view, menu-view *, whatever-name)';
5
+
6
+ @layer #{vars.$list-components-layer} {
5
7
  %list {
6
8
  :where(&) {
7
9
  background-color: var(--list--host-background-color,);
@@ -13,9 +15,9 @@
13
15
  }
14
16
 
15
17
  // componentize buttons
16
- > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
17
- section-view > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
18
- [is='disclosure-group'] > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name) {
18
+ > #{$list-item-selector},
19
+ section-view > #{$list-item-selector},
20
+ [is='disclosure-group'] > #{$list-item-selector} {
19
21
  // :where(&:is(summary:not([is='disclosure-group'] [is='disclosure-group'] summary))) {
20
22
  // box-shadow: inset 0 0 4px magenta;
21
23
  // }
@@ -76,19 +78,18 @@
76
78
  // }
77
79
  // }
78
80
 
79
- // SECTION: wire gaps
80
- :not([slot], section-view) ~ section-view {
81
- :where(&) {
81
+ // SECTION: wire gaps between
82
+ // NOTE: apply gap to top of sections when adjacent to any
83
+ // :not([slot], section-view) ~ section-view:not([slot]),
84
+ // section-view:not([slot]) ~ section-view:not([slot]) {
85
+ :not([slot]) ~ section-view:not([slot]) {
86
+ :where(&:not(menu-view *)) {
82
87
  padding-block-start: var(--list--section-gap,);
83
88
  }
84
89
  }
85
- section-view:not([slot]) ~ section-view {
86
- :where(&) {
87
- padding-block-start: var(--list--section-gap,);
88
- }
89
- }
90
- section-view:has(~ :not([slot], section-view)) {
91
- :where(&) {
90
+ // NOTE: apply to bottom of sections when they have non-section adjacents
91
+ section-view:not([slot]):has(~ :not([slot], section-view)) {
92
+ :where(&:not(menu-view *)) {
92
93
  padding-block-end: var(--list--section-gap,);
93
94
  }
94
95
  }
@@ -97,29 +98,32 @@
97
98
  // padding-bottom: calc(var(--list--section-gap, 0px) / 2);
98
99
  // }
99
100
  // }
100
- :not([slot], [is='disclosure-group']) ~ [is='disclosure-group'] {
101
- :where(&) {
101
+ // NOTE: apply gap to top of details when adjacent to any(except summary)
102
+ // :not([slot], [is='disclosure-group'], summary) ~ [is='disclosure-group']:not([slot]) {
103
+ :not([slot], summary) ~ [is='disclosure-group']:not([slot]) {
104
+ :where(&:not(menu-view *)) {
102
105
  margin-block-start: var(--list--details-gap,);
103
106
  }
104
107
  }
105
- [is='disclosure-group']:not([slot]) ~ [is='disclosure-group'] {
106
- :where(&) {
107
- margin-block-start: calc(var(--list--details-gap, 0px) / 2);
108
- }
109
- }
110
- [is='disclosure-group']:has(~ :not([slot], [is='disclosure-group'])) {
111
- :where(&) {
108
+ // [is='disclosure-group']:not([slot]) ~ [is='disclosure-group']:not([slot]) {
109
+ // :where(&:not(menu-view *)) {
110
+ // margin-block-start: calc(var(--list--details-gap, 0px) / 2);
111
+ // }
112
+ // }
113
+ // NOTE: apply to bottom of details when they have non-details adjacents
114
+ [is='disclosure-group']:not([slot]):has(~ :not([slot], [is='disclosure-group'])) {
115
+ :where(&:not(menu-view *)) {
112
116
  margin-block-end: var(--list--details-gap,);
113
117
  }
114
118
  }
115
- [is='disclosure-group']:has(~ [is='disclosure-group']:not([slot])) {
116
- :where(&) {
117
- margin-block-end: calc(var(--list--details-gap, 0px) / 2);
118
- }
119
- }
119
+ // [is='disclosure-group']:not([slot]):has(~ [is='disclosure-group']:not([slot])) {
120
+ // :where(&:not(menu-view *)) {
121
+ // margin-block-end: calc(var(--list--details-gap, 0px) / 2);
122
+ // }
123
+ // }
120
124
 
121
125
  // SECTION: wire paddings
122
- :where(&) {
126
+ :where(&:not(menu-view *)) {
123
127
  --itempadistart: var(--list--item-padding-inline-start, 0rem);
124
128
  --itempadiend: calc(var(--list--item-padding-inline-end, 0rem) + var(--list--accessories-size, 0rem));
125
129
  --itempadbstart: var(--list--item-padding-block-start,);
@@ -140,14 +144,11 @@
140
144
  }
141
145
 
142
146
  // SECTION: overwrites for details
143
- [is='disclosure-group'] {
147
+ [is='disclosure-group']:not(menu-view *) {
144
148
  > :not(summary) {
145
149
  :where(&) {
146
150
  --itemface: var(--list--details-background-color, var(--list--item-background-color,));
147
- --itemhighlightface: var(
148
- --list--selecteddetails-background-color,
149
- var(--list--highlighteditem-background-color, var(--list--item-background-color,))
150
- );
151
+ --itemhighlightface: var(--list--selecteddetails-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,)));
151
152
  --itemactiveface: var(--list--selecteddetails-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,)));
152
153
 
153
154
  --itemtext: var(--list--details-color, var(--list--item-color,));
@@ -158,14 +159,8 @@
158
159
  > summary {
159
160
  :where([is='disclosure-group'][open] &) {
160
161
  --itemface: var(--list--opendetails-background-color, var(--list--item-background-color,));
161
- --itemhighlightface: var(
162
- --list--selectedopendetails-background-color,
163
- var(--list--highlighteditem-background-color, var(--list--item-background-color,))
164
- );
165
- --itemactiveface: var(
166
- --list--selectedopendetails-background-color,
167
- var(--list--highlighteditem-background-color, var(--list--item-background-color,))
168
- );
162
+ --itemhighlightface: var(--list--selectedopendetails-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,)));
163
+ --itemactiveface: var(--list--selectedopendetails-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,)));
169
164
 
170
165
  --itemtext: var(--list--opendetails-color, var(--list--item-color,));
171
166
  --itemhighlighttext: var(--list--selectedopendetails-color, var(--list--highlighteditem-color, var(--list--item-color,)));
@@ -186,20 +181,14 @@
186
181
  );
187
182
 
188
183
  --itemtext: var(--list--opensummary-color, var(--list--item-color,));
189
- --itemhighlighttext: var(
190
- --list--selectedopensummary-color,
191
- var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,)))
192
- );
193
- --itemactivetext: var(
194
- --list--selectedopensummary-color,
195
- var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,)))
196
- );
184
+ --itemhighlighttext: var(--list--selectedopensummary-color, var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,))));
185
+ --itemactivetext: var(--list--selectedopensummary-color, var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,))));
197
186
  }
198
187
  }
199
188
  }
200
189
  }
201
- > [is='disclosure-group'],
202
- > section-view > [is='disclosure-group'] {
190
+ > [is='disclosure-group']:not(menu-view *),
191
+ > section-view > [is='disclosure-group']:not(menu-view *) {
203
192
  --disclosure-style: var(--list--rootsummary-marker-display,);
204
193
 
205
194
  > summary {
@@ -215,14 +204,8 @@
215
204
  );
216
205
 
217
206
  --itemtext: var(--list--rootsummary-color, var(--list--item-color,));
218
- --itemhighlighttext: var(
219
- --list--selectedrootsummary-color,
220
- var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,)))
221
- );
222
- --itemactivetext: var(
223
- --list--selectedrootsummary-color,
224
- var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,)))
225
- );
207
+ --itemhighlighttext: var(--list--selectedrootsummary-color, var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,))));
208
+ --itemactivetext: var(--list--selectedrootsummary-color, var(--list--selectedsummary-color, var(--list--highlighteditem-color, var(--list--item-color,))));
226
209
 
227
210
  // overwrite extra stuff for rootsummary
228
211
  // outline: red solid 4px;
@@ -244,17 +227,11 @@
244
227
  --itemface: var(--list--rootsummary-background-color, var(--list--opensummary-background-color, var(--list--item-background-color,)));
245
228
  --itemhighlightface: var(
246
229
  --list--selectedrootsummary-background-color,
247
- var(
248
- --list--selectedopensummary-background-color,
249
- var(--list--selectedsummary-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,)))
250
- )
230
+ var(--list--selectedopensummary-background-color, var(--list--selectedsummary-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,))))
251
231
  );
252
232
  --itemactiveface: var(
253
233
  --list--selectedrootsummary-background-color,
254
- var(
255
- --list--selectedopensummary-background-color,
256
- var(--list--selectedsummary-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,)))
257
- )
234
+ var(--list--selectedopensummary-background-color, var(--list--selectedsummary-background-color, var(--list--highlighteditem-background-color, var(--list--item-background-color,))))
258
235
  );
259
236
 
260
237
  --itemtext: var(--list--rootsummary-color, var(--list--opensummary-color, var(--list--item-color,)));
@@ -271,9 +248,9 @@
271
248
  }
272
249
 
273
250
  // SECTION: add borders + arrows
274
- > :not([slot]) ~ :not([slot], section-view),
275
- section-view > :not([slot]) ~ :not([slot], section-view),
276
- [is='disclosure-group'] > :not([slot]) ~ :not([slot], section-view) {
251
+ > :not([slot]) ~ :not([slot], section-view, menu-view *),
252
+ section-view > :not([slot]) ~ :not([slot], section-view, menu-view *),
253
+ [is='disclosure-group'] > :not([slot]) ~ :not([slot], section-view, menu-view *) {
277
254
  :where(&) {
278
255
  position: relative;
279
256
 
@@ -319,9 +296,9 @@
319
296
  }
320
297
 
321
298
  // SECTION: sharpen top corners
322
- > :not([slot]) ~ :not([slot], section-view),
323
- section-view > :not([slot]) ~ :not([slot], section-view),
324
- [is='disclosure-group'] > :not([slot]) ~ :not([slot]) {
299
+ > :not([slot]) ~ :not([slot], section-view, menu-view *),
300
+ section-view > :not([slot]) ~ :not([slot], section-view, menu-view *),
301
+ [is='disclosure-group'] > :not([slot]) ~ :not([slot], menu-view *) {
325
302
  :where(&) {
326
303
  // outline: yellow solid 5px;
327
304
  --itemradiustl: var(--list--adjacentitem-border-radius, var(--list--item-border-radius,)); //0 0;
@@ -340,10 +317,10 @@
340
317
  }
341
318
 
342
319
  // SECTION: sharpen bottom corners
343
- > :not([slot]):has(~ :not([slot], section-view)),
344
- section-view > :not([slot]):has(~ :not([slot], section-view)),
345
- [is='disclosure-group'] > :not([slot], summary):has(~ :not([slot])),
346
- [is='disclosure-group']:not([data-state='closed']) > summary {
320
+ > :not([slot]):has(~ :not([slot], section-view, menu-view *)),
321
+ section-view > :not([slot]):has(~ :not([slot], section-view, menu-view *)),
322
+ [is='disclosure-group'] > :not([slot], summary, menu-view *):has(~ :not([slot])),
323
+ [is='disclosure-group']:not([data-state='closed'], menu-view *) > summary {
347
324
  :where(&) {
348
325
  // outline: green solid 5px;
349
326
  --itemradiusbl: var(--list--adjacentitem-border-radius, var(--list--item-border-radius,)); //0 0;
@@ -374,31 +351,58 @@
374
351
  // }
375
352
 
376
353
  // SECTION: style section heders/footers
377
- section-view:not(section-view section-view) {
378
- :where(&)::part(section-footer-stack),
379
- :where(&)::part(section-header-stack) {
380
- // outline: magenta 4px solid;
381
- padding-inline: calc(var(--list--root-padding-inline, 0px) + var(--itempadistart, 0px))
382
- calc(var(--list--root-padding-inline, 0px) + var(--itempadiend, 0px));
354
+ section-view:not(section-view section-view, menu-view *) {
355
+ :where(&) {
356
+ &::part(section-footer-stack),
357
+ &::part(section-header-stack) {
358
+ // outline: magenta 4px solid;
359
+ padding-inline: calc(var(--list--root-padding-inline, 0px) + var(--itempadistart, 0px)) calc(var(--list--root-padding-inline, 0px) + var(--itempadiend, 0px));
383
360
 
384
- margin-inline: calc(var(--list--root-padding-inline) * -1);
361
+ margin-inline: calc(var(--list--root-padding-inline) * -1);
385
362
 
386
- padding-block: 1px;
387
- }
363
+ padding-block: 1px;
364
+ }
388
365
 
389
- :where(&)::part(section-header-stack) {
390
- top: calc(var(--list--sticky-block-size, 0px) + var(--navigation-bar-block-size));
366
+ &::part(section-header-stack) {
367
+ top: var(--list--sticky-block-size, 0px); // + var(--navigation-bar-block-size));
391
368
 
392
- position: sticky;
369
+ position: sticky;
370
+
371
+ // backdrop-filter: blur(20px);
372
+
373
+ // text-shadow: 0 0 5px var(--face);
374
+ }
375
+ }
393
376
 
394
- // backdrop-filter: blur(20px);
377
+ // &:is([list-style*='inset'] section-view, [form-style*='inset'] section-view) {
378
+ // :where(&) {
379
+ // &::part(section-header-stack) {
380
+ // top: calc(var(--list--sticky-block-size, 0px) + 1rem);
381
+ // }
382
+ // }
383
+ // }
395
384
 
396
- // text-shadow: 0 0 5px var(--face);
385
+ &:is(
386
+ scroll-view:has(
387
+ ~ tool-bar > [slot^='top-bar'],
388
+ ~ tool-bar > [slot='cancellation-action'],
389
+ ~ tool-bar > [slot='primary-action'],
390
+ ~ tool-bar > [slot='confirmation-action'],
391
+ ~ tool-bar > [slot='destructive-action']
392
+ )
393
+ section-view,
394
+ scroll-view:has(> [slot^='top-bar'], > [slot='cancellation-action'], > [slot='primary-action'], > [slot='confirmation-action'], > [slot='destructive-action']) section-view
395
+ ) {
396
+ :where(&) {
397
+ &::part(section-header-stack) {
398
+ top: calc(var(--list--sticky-block-size, 0px) + var(--navigation-bar-block-size));
399
+ }
400
+ }
397
401
  }
398
402
  }
399
403
 
400
404
  // SECTION: Enable 2-col layout
401
- &[columns='2'] {
405
+ &[columns='2']:not(menu-view *) {
402
406
  :where(&) {
403
407
  --list--host-grid-template-columns: repeat(2, minmax(0, 1fr));
404
408
 
@@ -482,26 +486,11 @@
482
486
 
483
487
  // SECTION: add accessories
484
488
  // &:has(summary[marker-placement='leading']) {
485
- > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
486
- section-view > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
487
- [is='disclosure-group'] > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name) {
488
- // --itempadistart: 4rem;
489
-
490
- // --item-accessory-size: 24px;
491
-
492
- // --list--item-grid-template-columns: minmax(0, 1fr) 50px;
493
-
494
- // &:not(:is(button)) {
495
- // --list--accessories-display: none;
496
- // // --list--accessories-padding-inline-end: 24px;
497
- // }
498
-
499
- // &:is(button) {
500
- // position: relative;
501
- // display: grid;
502
- // grid-template-columns: minmax(0, 1fr) 24px;
503
-
504
- &:is(button) {
489
+ > #{$list-item-selector},
490
+ section-view > #{$list-item-selector},
491
+ [is='disclosure-group'] > #{$list-item-selector} {
492
+ // NOTE: drill-in chevron show up only on nav-link buttons. Paddings and all other props have already been taken over!
493
+ &:is(navigation-split-view button[navigation-link], navigation-stack button[navigation-link]) {
505
494
  :where(&) {
506
495
  position: relative;
507
496
 
@@ -522,7 +511,6 @@
522
511
  }
523
512
  }
524
513
  }
525
- // }
526
514
  }
527
515
  // }
528
516
  // [is='disclosure-group'] summary [slot='marker'] {
@@ -533,23 +521,62 @@
533
521
  // --itempadistart: calc(calc(var(--root-font-size) * 1px) * var(--list--accessory-size) + var(--list--item-padding-inline-start, 0px));
534
522
  // }
535
523
  // }
524
+
525
+ // SECTION: add tints
526
+ > #{$list-item-selector},
527
+ section-view > #{$list-item-selector},
528
+ [is='disclosure-group'] > #{$list-item-selector} {
529
+ // NOTE: drill-in chevron show up only on nav-link buttons. Paddings and all other props have already been taken over!
530
+ // &:is(button:not([is='navigation-link'])) {
531
+ // :where(&) {
532
+ // --itemtext: blue;
533
+ // }
534
+ // }
535
+ &:is(label-view[list-item-tint]) {
536
+ :where(&[list-item-tint] > [slot='icon']) {
537
+ color: var(--accentColor);
538
+ }
539
+ }
540
+ // &:is(button[list-item-tint='red']) {
541
+ // :where(&) {
542
+ // --itemtext: red;
543
+
544
+ // --insetgroupedlist-highlighteditem-background-color:red;
545
+ // --insetgroupedlist-highlighteditem-color:red;
546
+ // }
547
+ // }
548
+ }
549
+
550
+ // // SECTION: add searchable
551
+ // > [slot='searchable'] {
552
+ // :where(&) {
553
+ // position: sticky;
554
+
555
+ // top: 20px
556
+
557
+ // background: red;
558
+ // }
559
+ // }
536
560
  }
537
561
  }
538
562
 
539
563
  @layer #{vars.$colors-layer} {
540
564
  // componentize
541
565
  %list {
542
- > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
543
- section-view > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
544
- [is='disclosure-group'] > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name) {
566
+ > #{$list-item-selector},
567
+ section-view > #{$list-item-selector},
568
+ [is='disclosure-group'] > #{$list-item-selector} {
545
569
  @include mixins.add-focus-visible-state {
546
570
  --itemface: var(--itemhighlightface,);
547
571
  --itemtext: var(--itemhighlighttext,);
548
572
 
549
573
  --list--separator-background-color: var(--list--highlighteditem-separator-background-color,);
550
574
 
551
- --secondary: var(--itemtext);
552
- --blue: var(--itemtext);
575
+ > * {
576
+ @include mixins.takeover-color-vars(item);
577
+ // --secondary: var(--itemtext);
578
+ // --blue: var(--itemtext);
579
+ }
553
580
  }
554
581
  }
555
582
  }
@@ -558,9 +585,9 @@
558
585
  @layer #{vars.$ui-layer} {
559
586
  // componentize
560
587
  %list {
561
- > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
562
- section-view > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name),
563
- [is='disclosure-group'] > :not([slot], section-view, [is='disclosure-group'], picker-view, menu-view, whatever-name) {
588
+ > #{$list-item-selector},
589
+ section-view > #{$list-item-selector},
590
+ [is='disclosure-group'] > #{$list-item-selector} {
564
591
  // :where(&:is(button)) {
565
592
  @include mixins.add-jsactive-state {
566
593
  --itemface: var(--itemactiveface,);
@@ -568,8 +595,11 @@
568
595
 
569
596
  --list--separator-background-color: var(--list--highlighteditem-separator-background-color,);
570
597
 
571
- --secondary: var(--itemtext);
572
- --blue: var(--itemtext);
598
+ > * {
599
+ @include mixins.takeover-color-vars(item);
600
+ }
601
+ // --secondary: var(--itemtext);
602
+ // --blue: var(--itemtext);
573
603
  }
574
604
 
575
605
  &[aria-selected='true'] {
@@ -579,8 +609,11 @@
579
609
 
580
610
  --list--separator-background-color: var(--list--highlighteditem-separator-background-color,);
581
611
 
582
- --secondary: var(--itemtext);
583
- --blue: var(--itemtext);
612
+ > * {
613
+ @include mixins.takeover-color-vars(item);
614
+ // --secondary: var(--itemtext);
615
+ // --blue: var(--itemtext);
616
+ }
584
617
  }
585
618
  }
586
619
  // }