@scattered-light/loomiere-mojave 0.9.0 → 0.10.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.
- package/dist/exports/AGENTS.md +3 -3
- package/dist/exports/catalog.json +2 -0
- package/dist/exports/design-system/README.md +3 -3
- package/dist/exports/design-system/components/SideNav/README.md +73 -0
- package/dist/exports/design-system/components/SideNav/preview.html +19 -0
- package/dist/exports/design-system/components/bundle.css +301 -59
- package/dist/exports/design-system/components/bundle.js +7 -7
- package/dist/exports/design-system/components/index.d.ts +1 -1
- package/dist/exports/figma.json +1 -1
- package/dist/exports/tailwind.css +39 -0
- package/dist/exports/tokens.dtcg.json +99 -0
- package/dist/tokens.css +60 -0
- package/dist/tokens.d.ts +23 -0
- package/dist/tokens.js +23 -0
- package/dist/tokens.json +194 -0
- package/package.json +2 -2
|
@@ -1108,6 +1108,19 @@
|
|
|
1108
1108
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
1109
1109
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
1110
1110
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
1111
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
1112
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
1113
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
1114
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
1115
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
1116
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
1117
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
1118
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
1119
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
1120
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
1121
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
1122
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
1123
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
1111
1124
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
1112
1125
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
1113
1126
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -1279,6 +1292,19 @@
|
|
|
1279
1292
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
1280
1293
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
1281
1294
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
1295
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
1296
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
1297
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
1298
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
1299
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
1300
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
1301
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
1302
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
1303
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
1304
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
1305
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
1306
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
1307
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
1282
1308
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
1283
1309
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
1284
1310
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -1450,6 +1476,19 @@
|
|
|
1450
1476
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
1451
1477
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
1452
1478
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
1479
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
1480
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
1481
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
1482
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
1483
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
1484
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
1485
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
1486
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
1487
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
1488
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
1489
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
1490
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
1491
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
1453
1492
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
1454
1493
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
1455
1494
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -12418,6 +12418,105 @@
|
|
|
12418
12418
|
"$description": "Space between the tab label and an action at the end of the header row, such as an Edit link."
|
|
12419
12419
|
}
|
|
12420
12420
|
},
|
|
12421
|
+
"side-nav": {
|
|
12422
|
+
"background": {
|
|
12423
|
+
"$type": "color",
|
|
12424
|
+
"$value": "{surface.tray}",
|
|
12425
|
+
"$description": "The column's fill: the tray surface, a step off the page, so the current row on the raised surface stands out from it."
|
|
12426
|
+
},
|
|
12427
|
+
"border-color": {
|
|
12428
|
+
"$type": "color",
|
|
12429
|
+
"$value": "{border.default}",
|
|
12430
|
+
"$description": "The line between the column and the page."
|
|
12431
|
+
},
|
|
12432
|
+
"item-height": {
|
|
12433
|
+
"$value": "{control.height-md}",
|
|
12434
|
+
"$description": "Least height of a row: the regular control height, so a row is as tall as a button."
|
|
12435
|
+
},
|
|
12436
|
+
"item-padding-inline": {
|
|
12437
|
+
"$value": "{space.5}",
|
|
12438
|
+
"$description": "Space at each end of a row."
|
|
12439
|
+
},
|
|
12440
|
+
"item-gap": {
|
|
12441
|
+
"$value": "{space.2}",
|
|
12442
|
+
"$description": "Space between a row's label and its count."
|
|
12443
|
+
},
|
|
12444
|
+
"item-divider-color": {
|
|
12445
|
+
"$type": "color",
|
|
12446
|
+
"$value": "{border.subtle}",
|
|
12447
|
+
"$description": "The hairline under each row."
|
|
12448
|
+
},
|
|
12449
|
+
"item-color": {
|
|
12450
|
+
"$type": "color",
|
|
12451
|
+
"$value": "{text.primary}",
|
|
12452
|
+
"$description": "A row's text."
|
|
12453
|
+
},
|
|
12454
|
+
"item-color-disabled": {
|
|
12455
|
+
"$type": "color",
|
|
12456
|
+
"$value": "{text.secondary}",
|
|
12457
|
+
"$description": "A row that is not available yet. Secondary text, not the faded disabled color, so its hint stays readable."
|
|
12458
|
+
},
|
|
12459
|
+
"item-background-hover": {
|
|
12460
|
+
"$type": "color",
|
|
12461
|
+
"$value": "{fill.subtle}",
|
|
12462
|
+
"$description": "A row under the pointer."
|
|
12463
|
+
},
|
|
12464
|
+
"item-background-current": {
|
|
12465
|
+
"$type": "color",
|
|
12466
|
+
"$value": "{surface.raised}",
|
|
12467
|
+
"$description": "The current row: the raised surface, so it reads as the open page."
|
|
12468
|
+
},
|
|
12469
|
+
"indicator-width": {
|
|
12470
|
+
"$value": "{stroke.medium}",
|
|
12471
|
+
"$description": "The line under the current row."
|
|
12472
|
+
},
|
|
12473
|
+
"indicator-color": {
|
|
12474
|
+
"$type": "color",
|
|
12475
|
+
"$value": "{rule.color}",
|
|
12476
|
+
"$description": "The current row's line: the working-paper rule color, so the nav and the sheets share one ink."
|
|
12477
|
+
},
|
|
12478
|
+
"count-color": {
|
|
12479
|
+
"$type": "color",
|
|
12480
|
+
"$value": "{text.accent}",
|
|
12481
|
+
"$description": "A count at the end of a row, such as items open. Accent text so it asks for attention."
|
|
12482
|
+
},
|
|
12483
|
+
"count-color-quiet": {
|
|
12484
|
+
"$type": "color",
|
|
12485
|
+
"$value": "{text.secondary}",
|
|
12486
|
+
"$description": "A count that is only information (tone=\"quiet\"), such as a total."
|
|
12487
|
+
},
|
|
12488
|
+
"group-padding-top": {
|
|
12489
|
+
"$value": "{space.5}",
|
|
12490
|
+
"$description": "Space above a group heading."
|
|
12491
|
+
},
|
|
12492
|
+
"group-label-color": {
|
|
12493
|
+
"$type": "color",
|
|
12494
|
+
"$value": "{text.secondary}",
|
|
12495
|
+
"$description": "A group heading's caps label."
|
|
12496
|
+
},
|
|
12497
|
+
"toggle-size": {
|
|
12498
|
+
"$value": "{space.6}",
|
|
12499
|
+
"$description": "The collapse button's width and height. It sits on the column's edge."
|
|
12500
|
+
},
|
|
12501
|
+
"toggle-offset": {
|
|
12502
|
+
"$value": "{space.4}",
|
|
12503
|
+
"$description": "Distance of the collapse button from the top of the column."
|
|
12504
|
+
},
|
|
12505
|
+
"toggle-background": {
|
|
12506
|
+
"$type": "color",
|
|
12507
|
+
"$value": "{surface.raised}",
|
|
12508
|
+
"$description": "The collapse button's fill."
|
|
12509
|
+
},
|
|
12510
|
+
"toggle-border-color": {
|
|
12511
|
+
"$type": "color",
|
|
12512
|
+
"$value": "{border.strong}",
|
|
12513
|
+
"$description": "The collapse button's outline."
|
|
12514
|
+
},
|
|
12515
|
+
"collapsed-width": {
|
|
12516
|
+
"$value": "{space.11}",
|
|
12517
|
+
"$description": "Width of the column when it is collapsed, wide enough for the collapse button."
|
|
12518
|
+
}
|
|
12519
|
+
},
|
|
12421
12520
|
"slider": {
|
|
12422
12521
|
"thumb-size": {
|
|
12423
12522
|
"$value": "{space.5}",
|
package/dist/tokens.css
CHANGED
|
@@ -1897,6 +1897,13 @@
|
|
|
1897
1897
|
--sl-sheet-tab-padding-inline: var(--sl-space-3-5); /** Space either side of the tab label's text. */
|
|
1898
1898
|
--sl-sheet-tab-radius: var(--sl-radius-sm); /** The tab label's top corners. Its bottom corners stay square where it meets the rule. */
|
|
1899
1899
|
--sl-sheet-header-gap: var(--sl-space-3); /** Space between the tab label and an action at the end of the header row, such as an Edit link. */
|
|
1900
|
+
--sl-side-nav-item-padding-inline: var(--sl-space-5); /** Space at each end of a row. */
|
|
1901
|
+
--sl-side-nav-item-gap: var(--sl-space-2); /** Space between a row's label and its count. */
|
|
1902
|
+
--sl-side-nav-indicator-width: var(--sl-stroke-medium); /** The line under the current row. */
|
|
1903
|
+
--sl-side-nav-group-padding-top: var(--sl-space-5); /** Space above a group heading. */
|
|
1904
|
+
--sl-side-nav-toggle-size: var(--sl-space-6); /** The collapse button's width and height. It sits on the column's edge. */
|
|
1905
|
+
--sl-side-nav-toggle-offset: var(--sl-space-4); /** Distance of the collapse button from the top of the column. */
|
|
1906
|
+
--sl-side-nav-collapsed-width: var(--sl-space-11); /** Width of the column when it is collapsed, wide enough for the collapse button. */
|
|
1900
1907
|
--sl-slider-thumb-size: var(--sl-space-5); /** Knob diameter, big enough to grab with a finger on a 4px track. */
|
|
1901
1908
|
--sl-splitter-handle-hit-size: var(--sl-a11y-min-touch-target); /** The part a finger grabs. The line stays one stroke. A fine pointer uses a11y.min-target (24px) instead, so the grab area does not cover the panel's scrollbar. Coarse pointers keep this 44px. */
|
|
1902
1909
|
--sl-splitter-grip-size: var(--sl-space-1); /** 4px. The diameter of one grip dot. Small enough to sit on the hairline without becoming a second control. */
|
|
@@ -2169,6 +2176,7 @@
|
|
|
2169
2176
|
--sl-description-list-leader-width: var(--sl-stroke-default); /** Thickness of the dotted leader. */
|
|
2170
2177
|
--sl-sheet-border-width: var(--sl-stroke-default); /** Thickness of the sides and bottom. */
|
|
2171
2178
|
--sl-sheet-radius: var(--sl-radius-surface); /** Corners, like any card or panel. The top corners stay square under a tab label, so the tab sits flush on the rule. */
|
|
2179
|
+
--sl-side-nav-item-height: var(--sl-control-height-md); /** Least height of a row: the regular control height, so a row is as tall as a button. */
|
|
2172
2180
|
--sl-splitter-handle-size: var(--sl-stroke-default); /** The visible separator. One stroke, the same hairline as Separator, so a splitter reads as a divider you can grab. */
|
|
2173
2181
|
--sl-focus-shadow-3px-error: 0 0 0 3px var(--sl-status-error); /** Focus halo for a field with an error. */
|
|
2174
2182
|
--sl-calendar-day-color: var(--sl-text-primary); /** A day in the month being shown. */
|
|
@@ -2268,6 +2276,7 @@
|
|
|
2268
2276
|
--sl-status-level-warning-bold-fg: var(--sl-scope-warning-on-solid); /** bold in warning: solid in warning */
|
|
2269
2277
|
--sl-status-level-error-bold-fg: var(--sl-scope-error-on-solid); /** bold in error: solid in error */
|
|
2270
2278
|
--sl-description-list-value-color: var(--sl-text-primary); /** Values. */
|
|
2279
|
+
--sl-side-nav-item-color: var(--sl-text-primary); /** A row's text. */
|
|
2271
2280
|
--sl-stat-figure-figure-color: var(--sl-text-primary); /** The figure's color. */
|
|
2272
2281
|
--sl-focus-shadow-3px-primary: 0 0 0 3px var(--sl-interactive-tint-hover); /** Soft focus halo for inputs. */
|
|
2273
2282
|
--sl-focus-shadow-3px-primary-soft: 0 0 0 3px var(--sl-interactive-tint-active); /** Slightly stronger focus halo for inputs on tinted surfaces. */
|
|
@@ -2363,6 +2372,17 @@
|
|
|
2363
2372
|
--sl-sheet-background: var(--sl-surface-raised); /** The sheet's fill: the raised surface, one level above the page like any card or panel. */
|
|
2364
2373
|
--sl-sheet-border-color: var(--sl-border-default); /** The sheet's sides and bottom, the everyday divider. */
|
|
2365
2374
|
--sl-sheet-tab-background: var(--sl-surface-inverse); /** The tab label's fill: the inverse surface, so the label reads as the sheet's name, and its text passes AA in every theme. */
|
|
2375
|
+
--sl-side-nav-background: var(--sl-surface-tray); /** The column's fill: the tray surface, a step off the page, so the current row on the raised surface stands out from it. */
|
|
2376
|
+
--sl-side-nav-border-color: var(--sl-border-default); /** The line between the column and the page. */
|
|
2377
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle); /** The hairline under each row. */
|
|
2378
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary); /** A row that is not available yet. Secondary text, not the faded disabled color, so its hint stays readable. */
|
|
2379
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle); /** A row under the pointer. */
|
|
2380
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised); /** The current row: the raised surface, so it reads as the open page. */
|
|
2381
|
+
--sl-side-nav-count-color: var(--sl-text-accent); /** A count at the end of a row, such as items open. Accent text so it asks for attention. */
|
|
2382
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary); /** A count that is only information (tone="quiet"), such as a total. */
|
|
2383
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary); /** A group heading's caps label. */
|
|
2384
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised); /** The collapse button's fill. */
|
|
2385
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong); /** The collapse button's outline. */
|
|
2366
2386
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent); /** The figure's color at tone="accent", for a figure that asks for action (open questions, items to review). */
|
|
2367
2387
|
--sl-stat-figure-label-color: var(--sl-text-secondary); /** The caps label above the figure. */
|
|
2368
2388
|
--sl-stat-figure-caption-color: var(--sl-text-secondary); /** The caption under the figure. */
|
|
@@ -2388,6 +2408,7 @@
|
|
|
2388
2408
|
--sl-app-bar-border-color: var(--sl-rule-color); /** The line under the bar, in the rule color, so an ink rule brand gets an ink line here too. */
|
|
2389
2409
|
--sl-sheet-rule-color: var(--sl-rule-color); /** The top rule's color: the working-paper rule color, so sheets and ruled tables match. */
|
|
2390
2410
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
|
|
2411
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color); /** The current row's line: the working-paper rule color, so the nav and the sheets share one ink. */
|
|
2391
2412
|
--sl-stat-figure-underline-color: var(--sl-rule-color); /** The double underline's color: the working-paper rule color, like a grand total's double rule. */
|
|
2392
2413
|
--sl-toggle-group-segmented-border-color: var(--sl-rule-color); /** The outline around a segmented group and the line between its toggles. The rule color, so it is a control edge by default and ink with an ink rule. */
|
|
2393
2414
|
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
|
|
@@ -5888,6 +5909,19 @@
|
|
|
5888
5909
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
5889
5910
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
5890
5911
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
5912
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
5913
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
5914
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
5915
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
5916
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
5917
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
5918
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
5919
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
5920
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
5921
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
5922
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
5923
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
5924
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
5891
5925
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
5892
5926
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
5893
5927
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -6059,6 +6093,19 @@
|
|
|
6059
6093
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
6060
6094
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
6061
6095
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
6096
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
6097
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
6098
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
6099
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
6100
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
6101
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
6102
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
6103
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
6104
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
6105
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
6106
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
6107
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
6108
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
6062
6109
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
6063
6110
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
6064
6111
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -6230,6 +6277,19 @@
|
|
|
6230
6277
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
6231
6278
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
6232
6279
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
6280
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
6281
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
6282
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
6283
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
6284
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
6285
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
6286
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
6287
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
6288
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
6289
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
6290
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
6291
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
6292
|
+
--sl-side-nav-toggle-border-color: var(--sl-border-strong);
|
|
6233
6293
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
6234
6294
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
6235
6295
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
package/dist/tokens.d.ts
CHANGED
|
@@ -2838,6 +2838,29 @@ declare const tokens: {
|
|
|
2838
2838
|
readonly "tab-radius": string;
|
|
2839
2839
|
readonly "header-gap": string;
|
|
2840
2840
|
};
|
|
2841
|
+
readonly "side-nav": {
|
|
2842
|
+
readonly "background": string;
|
|
2843
|
+
readonly "border-color": string;
|
|
2844
|
+
readonly "item-height": string;
|
|
2845
|
+
readonly "item-padding-inline": string;
|
|
2846
|
+
readonly "item-gap": string;
|
|
2847
|
+
readonly "item-divider-color": string;
|
|
2848
|
+
readonly "item-color": string;
|
|
2849
|
+
readonly "item-color-disabled": string;
|
|
2850
|
+
readonly "item-background-hover": string;
|
|
2851
|
+
readonly "item-background-current": string;
|
|
2852
|
+
readonly "indicator-width": string;
|
|
2853
|
+
readonly "indicator-color": string;
|
|
2854
|
+
readonly "count-color": string;
|
|
2855
|
+
readonly "count-color-quiet": string;
|
|
2856
|
+
readonly "group-padding-top": string;
|
|
2857
|
+
readonly "group-label-color": string;
|
|
2858
|
+
readonly "toggle-size": string;
|
|
2859
|
+
readonly "toggle-offset": string;
|
|
2860
|
+
readonly "toggle-background": string;
|
|
2861
|
+
readonly "toggle-border-color": string;
|
|
2862
|
+
readonly "collapsed-width": string;
|
|
2863
|
+
};
|
|
2841
2864
|
readonly "slider": {
|
|
2842
2865
|
readonly "thumb-size": string;
|
|
2843
2866
|
readonly "vertical-height": string;
|
package/dist/tokens.js
CHANGED
|
@@ -2838,6 +2838,29 @@ const tokens = {
|
|
|
2838
2838
|
"tab-radius": "0.125rem",
|
|
2839
2839
|
"header-gap": "0.75rem"
|
|
2840
2840
|
},
|
|
2841
|
+
"side-nav": {
|
|
2842
|
+
"background": "#f8fbf9",
|
|
2843
|
+
"border-color": "#e7ece4",
|
|
2844
|
+
"item-height": "2.75rem",
|
|
2845
|
+
"item-padding-inline": "1.25rem",
|
|
2846
|
+
"item-gap": "0.5rem",
|
|
2847
|
+
"item-divider-color": "#eff3ee",
|
|
2848
|
+
"item-color": "#221928",
|
|
2849
|
+
"item-color-disabled": "#4f5852",
|
|
2850
|
+
"item-background-hover": "#eff3ee",
|
|
2851
|
+
"item-background-current": "#f8fbf9",
|
|
2852
|
+
"indicator-width": "2px",
|
|
2853
|
+
"indicator-color": "#7c8980",
|
|
2854
|
+
"count-color": "#7131a0",
|
|
2855
|
+
"count-color-quiet": "#4f5852",
|
|
2856
|
+
"group-padding-top": "1.25rem",
|
|
2857
|
+
"group-label-color": "#4f5852",
|
|
2858
|
+
"toggle-size": "1.5rem",
|
|
2859
|
+
"toggle-offset": "1rem",
|
|
2860
|
+
"toggle-background": "#f8fbf9",
|
|
2861
|
+
"toggle-border-color": "#7c8980",
|
|
2862
|
+
"collapsed-width": "2.75rem"
|
|
2863
|
+
},
|
|
2841
2864
|
"slider": {
|
|
2842
2865
|
"thumb-size": "1.25rem",
|
|
2843
2866
|
"vertical-height": "200px"
|
package/dist/tokens.json
CHANGED
|
@@ -20688,6 +20688,187 @@
|
|
|
20688
20688
|
"references": "{space.3}",
|
|
20689
20689
|
"description": "Space between the tab label and an action at the end of the header row, such as an Edit link."
|
|
20690
20690
|
},
|
|
20691
|
+
{
|
|
20692
|
+
"name": "--sl-side-nav-background",
|
|
20693
|
+
"path": "side-nav.background",
|
|
20694
|
+
"layer": "component",
|
|
20695
|
+
"type": "color",
|
|
20696
|
+
"value": "#f8fbf9",
|
|
20697
|
+
"references": "{surface.tray}",
|
|
20698
|
+
"description": "The column's fill: the tray surface, a step off the page, so the current row on the raised surface stands out from it."
|
|
20699
|
+
},
|
|
20700
|
+
{
|
|
20701
|
+
"name": "--sl-side-nav-border-color",
|
|
20702
|
+
"path": "side-nav.border-color",
|
|
20703
|
+
"layer": "component",
|
|
20704
|
+
"type": "color",
|
|
20705
|
+
"value": "#e7ece4",
|
|
20706
|
+
"references": "{border.default}",
|
|
20707
|
+
"description": "The line between the column and the page."
|
|
20708
|
+
},
|
|
20709
|
+
{
|
|
20710
|
+
"name": "--sl-side-nav-item-height",
|
|
20711
|
+
"path": "side-nav.item-height",
|
|
20712
|
+
"layer": "component",
|
|
20713
|
+
"value": "2.75rem",
|
|
20714
|
+
"references": "{control.height-md}",
|
|
20715
|
+
"description": "Least height of a row: the regular control height, so a row is as tall as a button."
|
|
20716
|
+
},
|
|
20717
|
+
{
|
|
20718
|
+
"name": "--sl-side-nav-item-padding-inline",
|
|
20719
|
+
"path": "side-nav.item-padding-inline",
|
|
20720
|
+
"layer": "component",
|
|
20721
|
+
"value": "1.25rem",
|
|
20722
|
+
"references": "{space.5}",
|
|
20723
|
+
"description": "Space at each end of a row."
|
|
20724
|
+
},
|
|
20725
|
+
{
|
|
20726
|
+
"name": "--sl-side-nav-item-gap",
|
|
20727
|
+
"path": "side-nav.item-gap",
|
|
20728
|
+
"layer": "component",
|
|
20729
|
+
"value": "0.5rem",
|
|
20730
|
+
"references": "{space.2}",
|
|
20731
|
+
"description": "Space between a row's label and its count."
|
|
20732
|
+
},
|
|
20733
|
+
{
|
|
20734
|
+
"name": "--sl-side-nav-item-divider-color",
|
|
20735
|
+
"path": "side-nav.item-divider-color",
|
|
20736
|
+
"layer": "component",
|
|
20737
|
+
"type": "color",
|
|
20738
|
+
"value": "#eff3ee",
|
|
20739
|
+
"references": "{border.subtle}",
|
|
20740
|
+
"description": "The hairline under each row."
|
|
20741
|
+
},
|
|
20742
|
+
{
|
|
20743
|
+
"name": "--sl-side-nav-item-color",
|
|
20744
|
+
"path": "side-nav.item-color",
|
|
20745
|
+
"layer": "component",
|
|
20746
|
+
"type": "color",
|
|
20747
|
+
"value": "#221928",
|
|
20748
|
+
"references": "{text.primary}",
|
|
20749
|
+
"description": "A row's text."
|
|
20750
|
+
},
|
|
20751
|
+
{
|
|
20752
|
+
"name": "--sl-side-nav-item-color-disabled",
|
|
20753
|
+
"path": "side-nav.item-color-disabled",
|
|
20754
|
+
"layer": "component",
|
|
20755
|
+
"type": "color",
|
|
20756
|
+
"value": "#4f5852",
|
|
20757
|
+
"references": "{text.secondary}",
|
|
20758
|
+
"description": "A row that is not available yet. Secondary text, not the faded disabled color, so its hint stays readable."
|
|
20759
|
+
},
|
|
20760
|
+
{
|
|
20761
|
+
"name": "--sl-side-nav-item-background-hover",
|
|
20762
|
+
"path": "side-nav.item-background-hover",
|
|
20763
|
+
"layer": "component",
|
|
20764
|
+
"type": "color",
|
|
20765
|
+
"value": "#eff3ee",
|
|
20766
|
+
"references": "{fill.subtle}",
|
|
20767
|
+
"description": "A row under the pointer."
|
|
20768
|
+
},
|
|
20769
|
+
{
|
|
20770
|
+
"name": "--sl-side-nav-item-background-current",
|
|
20771
|
+
"path": "side-nav.item-background-current",
|
|
20772
|
+
"layer": "component",
|
|
20773
|
+
"type": "color",
|
|
20774
|
+
"value": "#f8fbf9",
|
|
20775
|
+
"references": "{surface.raised}",
|
|
20776
|
+
"description": "The current row: the raised surface, so it reads as the open page."
|
|
20777
|
+
},
|
|
20778
|
+
{
|
|
20779
|
+
"name": "--sl-side-nav-indicator-width",
|
|
20780
|
+
"path": "side-nav.indicator-width",
|
|
20781
|
+
"layer": "component",
|
|
20782
|
+
"value": "2px",
|
|
20783
|
+
"references": "{stroke.medium}",
|
|
20784
|
+
"description": "The line under the current row."
|
|
20785
|
+
},
|
|
20786
|
+
{
|
|
20787
|
+
"name": "--sl-side-nav-indicator-color",
|
|
20788
|
+
"path": "side-nav.indicator-color",
|
|
20789
|
+
"layer": "component",
|
|
20790
|
+
"type": "color",
|
|
20791
|
+
"value": "#7c8980",
|
|
20792
|
+
"references": "{rule.color}",
|
|
20793
|
+
"description": "The current row's line: the working-paper rule color, so the nav and the sheets share one ink."
|
|
20794
|
+
},
|
|
20795
|
+
{
|
|
20796
|
+
"name": "--sl-side-nav-count-color",
|
|
20797
|
+
"path": "side-nav.count-color",
|
|
20798
|
+
"layer": "component",
|
|
20799
|
+
"type": "color",
|
|
20800
|
+
"value": "#7131a0",
|
|
20801
|
+
"references": "{text.accent}",
|
|
20802
|
+
"description": "A count at the end of a row, such as items open. Accent text so it asks for attention."
|
|
20803
|
+
},
|
|
20804
|
+
{
|
|
20805
|
+
"name": "--sl-side-nav-count-color-quiet",
|
|
20806
|
+
"path": "side-nav.count-color-quiet",
|
|
20807
|
+
"layer": "component",
|
|
20808
|
+
"type": "color",
|
|
20809
|
+
"value": "#4f5852",
|
|
20810
|
+
"references": "{text.secondary}",
|
|
20811
|
+
"description": "A count that is only information (tone=\"quiet\"), such as a total."
|
|
20812
|
+
},
|
|
20813
|
+
{
|
|
20814
|
+
"name": "--sl-side-nav-group-padding-top",
|
|
20815
|
+
"path": "side-nav.group-padding-top",
|
|
20816
|
+
"layer": "component",
|
|
20817
|
+
"value": "1.25rem",
|
|
20818
|
+
"references": "{space.5}",
|
|
20819
|
+
"description": "Space above a group heading."
|
|
20820
|
+
},
|
|
20821
|
+
{
|
|
20822
|
+
"name": "--sl-side-nav-group-label-color",
|
|
20823
|
+
"path": "side-nav.group-label-color",
|
|
20824
|
+
"layer": "component",
|
|
20825
|
+
"type": "color",
|
|
20826
|
+
"value": "#4f5852",
|
|
20827
|
+
"references": "{text.secondary}",
|
|
20828
|
+
"description": "A group heading's caps label."
|
|
20829
|
+
},
|
|
20830
|
+
{
|
|
20831
|
+
"name": "--sl-side-nav-toggle-size",
|
|
20832
|
+
"path": "side-nav.toggle-size",
|
|
20833
|
+
"layer": "component",
|
|
20834
|
+
"value": "1.5rem",
|
|
20835
|
+
"references": "{space.6}",
|
|
20836
|
+
"description": "The collapse button's width and height. It sits on the column's edge."
|
|
20837
|
+
},
|
|
20838
|
+
{
|
|
20839
|
+
"name": "--sl-side-nav-toggle-offset",
|
|
20840
|
+
"path": "side-nav.toggle-offset",
|
|
20841
|
+
"layer": "component",
|
|
20842
|
+
"value": "1rem",
|
|
20843
|
+
"references": "{space.4}",
|
|
20844
|
+
"description": "Distance of the collapse button from the top of the column."
|
|
20845
|
+
},
|
|
20846
|
+
{
|
|
20847
|
+
"name": "--sl-side-nav-toggle-background",
|
|
20848
|
+
"path": "side-nav.toggle-background",
|
|
20849
|
+
"layer": "component",
|
|
20850
|
+
"type": "color",
|
|
20851
|
+
"value": "#f8fbf9",
|
|
20852
|
+
"references": "{surface.raised}",
|
|
20853
|
+
"description": "The collapse button's fill."
|
|
20854
|
+
},
|
|
20855
|
+
{
|
|
20856
|
+
"name": "--sl-side-nav-toggle-border-color",
|
|
20857
|
+
"path": "side-nav.toggle-border-color",
|
|
20858
|
+
"layer": "component",
|
|
20859
|
+
"type": "color",
|
|
20860
|
+
"value": "#7c8980",
|
|
20861
|
+
"references": "{border.strong}",
|
|
20862
|
+
"description": "The collapse button's outline."
|
|
20863
|
+
},
|
|
20864
|
+
{
|
|
20865
|
+
"name": "--sl-side-nav-collapsed-width",
|
|
20866
|
+
"path": "side-nav.collapsed-width",
|
|
20867
|
+
"layer": "component",
|
|
20868
|
+
"value": "2.75rem",
|
|
20869
|
+
"references": "{space.11}",
|
|
20870
|
+
"description": "Width of the column when it is collapsed, wide enough for the collapse button."
|
|
20871
|
+
},
|
|
20691
20872
|
{
|
|
20692
20873
|
"name": "--sl-slider-thumb-size",
|
|
20693
20874
|
"path": "slider.thumb-size",
|
|
@@ -23605,6 +23786,19 @@
|
|
|
23605
23786
|
"--sl-sheet-tab-background": "#203d48",
|
|
23606
23787
|
"--sl-sheet-tab-color": "#f3fcff",
|
|
23607
23788
|
"--sl-sheet-tab-radius": "0.0938rem",
|
|
23789
|
+
"--sl-side-nav-background": "#f3fcff",
|
|
23790
|
+
"--sl-side-nav-border-color": "#d1f3ff",
|
|
23791
|
+
"--sl-side-nav-item-divider-color": "#def6ff",
|
|
23792
|
+
"--sl-side-nav-item-color": "#203d48",
|
|
23793
|
+
"--sl-side-nav-item-color-disabled": "#3c5a66",
|
|
23794
|
+
"--sl-side-nav-item-background-hover": "#def6ff",
|
|
23795
|
+
"--sl-side-nav-item-background-current": "#f3fcff",
|
|
23796
|
+
"--sl-side-nav-indicator-color": "#6b8d99",
|
|
23797
|
+
"--sl-side-nav-count-color": "#70463c",
|
|
23798
|
+
"--sl-side-nav-count-color-quiet": "#3c5a66",
|
|
23799
|
+
"--sl-side-nav-group-label-color": "#3c5a66",
|
|
23800
|
+
"--sl-side-nav-toggle-background": "#f3fcff",
|
|
23801
|
+
"--sl-side-nav-toggle-border-color": "#6b8d99",
|
|
23608
23802
|
"--sl-stat-figure-figure-font-size": "clamp(1.8144rem, 1.6934rem + 0.6048vw, 2.1773rem)",
|
|
23609
23803
|
"--sl-stat-figure-figure-font-size-sm": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
|
|
23610
23804
|
"--sl-stat-figure-figure-line-height-sm": 1.183,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scattered-light/loomiere-mojave",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "Mojave, the demo theme for Loomiere: desert stone and purple, built from one brand file.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@scattered-light/loomiere": "0.
|
|
65
|
+
"@scattered-light/loomiere": "0.10.0"
|
|
66
66
|
}
|
|
67
67
|
}
|