@scattered-light/loomiere-mojave 0.9.0 → 0.11.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 +304 -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 +107 -0
- package/dist/tokens.css +62 -0
- package/dist/tokens.d.ts +25 -0
- package/dist/tokens.js +25 -0
- package/dist/tokens.json +211 -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-text-primary);
|
|
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-text-primary);
|
|
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-text-primary);
|
|
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,113 @@
|
|
|
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-width": {
|
|
12498
|
+
"$value": "{space.6}",
|
|
12499
|
+
"$description": "The collapse handle's width. It straddles the column's edge."
|
|
12500
|
+
},
|
|
12501
|
+
"toggle-height": {
|
|
12502
|
+
"$value": "{space.11}",
|
|
12503
|
+
"$description": "The collapse handle's height, a tall tab on the column's edge."
|
|
12504
|
+
},
|
|
12505
|
+
"toggle-radius": {
|
|
12506
|
+
"$value": "{radius.control}",
|
|
12507
|
+
"$description": "The collapse handle's corners."
|
|
12508
|
+
},
|
|
12509
|
+
"toggle-offset": {
|
|
12510
|
+
"$value": "{space.7}",
|
|
12511
|
+
"$description": "Distance of the collapse button from the top of the column."
|
|
12512
|
+
},
|
|
12513
|
+
"toggle-background": {
|
|
12514
|
+
"$type": "color",
|
|
12515
|
+
"$value": "{surface.raised}",
|
|
12516
|
+
"$description": "The collapse handle's fill."
|
|
12517
|
+
},
|
|
12518
|
+
"toggle-border-color": {
|
|
12519
|
+
"$type": "color",
|
|
12520
|
+
"$value": "{text.primary}",
|
|
12521
|
+
"$description": "The collapse handle's outline and chevron. It fills with this color on hover."
|
|
12522
|
+
},
|
|
12523
|
+
"collapsed-width": {
|
|
12524
|
+
"$value": "{space.11}",
|
|
12525
|
+
"$description": "Width of the column when it is collapsed, wide enough for the collapse handle."
|
|
12526
|
+
}
|
|
12527
|
+
},
|
|
12421
12528
|
"slider": {
|
|
12422
12529
|
"thumb-size": {
|
|
12423
12530
|
"$value": "{space.5}",
|
package/dist/tokens.css
CHANGED
|
@@ -1897,6 +1897,14 @@
|
|
|
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-width: var(--sl-space-6); /** The collapse handle's width. It straddles the column's edge. */
|
|
1905
|
+
--sl-side-nav-toggle-height: var(--sl-space-11); /** The collapse handle's height, a tall tab on the column's edge. */
|
|
1906
|
+
--sl-side-nav-toggle-offset: var(--sl-space-7); /** Distance of the collapse button from the top of the column. */
|
|
1907
|
+
--sl-side-nav-collapsed-width: var(--sl-space-11); /** Width of the column when it is collapsed, wide enough for the collapse handle. */
|
|
1900
1908
|
--sl-slider-thumb-size: var(--sl-space-5); /** Knob diameter, big enough to grab with a finger on a 4px track. */
|
|
1901
1909
|
--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
1910
|
--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 +2177,8 @@
|
|
|
2169
2177
|
--sl-description-list-leader-width: var(--sl-stroke-default); /** Thickness of the dotted leader. */
|
|
2170
2178
|
--sl-sheet-border-width: var(--sl-stroke-default); /** Thickness of the sides and bottom. */
|
|
2171
2179
|
--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. */
|
|
2180
|
+
--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. */
|
|
2181
|
+
--sl-side-nav-toggle-radius: var(--sl-radius-control); /** The collapse handle's corners. */
|
|
2172
2182
|
--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
2183
|
--sl-focus-shadow-3px-error: 0 0 0 3px var(--sl-status-error); /** Focus halo for a field with an error. */
|
|
2174
2184
|
--sl-calendar-day-color: var(--sl-text-primary); /** A day in the month being shown. */
|
|
@@ -2268,6 +2278,8 @@
|
|
|
2268
2278
|
--sl-status-level-warning-bold-fg: var(--sl-scope-warning-on-solid); /** bold in warning: solid in warning */
|
|
2269
2279
|
--sl-status-level-error-bold-fg: var(--sl-scope-error-on-solid); /** bold in error: solid in error */
|
|
2270
2280
|
--sl-description-list-value-color: var(--sl-text-primary); /** Values. */
|
|
2281
|
+
--sl-side-nav-item-color: var(--sl-text-primary); /** A row's text. */
|
|
2282
|
+
--sl-side-nav-toggle-border-color: var(--sl-text-primary); /** The collapse handle's outline and chevron. It fills with this color on hover. */
|
|
2271
2283
|
--sl-stat-figure-figure-color: var(--sl-text-primary); /** The figure's color. */
|
|
2272
2284
|
--sl-focus-shadow-3px-primary: 0 0 0 3px var(--sl-interactive-tint-hover); /** Soft focus halo for inputs. */
|
|
2273
2285
|
--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 +2375,16 @@
|
|
|
2363
2375
|
--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
2376
|
--sl-sheet-border-color: var(--sl-border-default); /** The sheet's sides and bottom, the everyday divider. */
|
|
2365
2377
|
--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. */
|
|
2378
|
+
--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. */
|
|
2379
|
+
--sl-side-nav-border-color: var(--sl-border-default); /** The line between the column and the page. */
|
|
2380
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle); /** The hairline under each row. */
|
|
2381
|
+
--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. */
|
|
2382
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle); /** A row under the pointer. */
|
|
2383
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised); /** The current row: the raised surface, so it reads as the open page. */
|
|
2384
|
+
--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. */
|
|
2385
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary); /** A count that is only information (tone="quiet"), such as a total. */
|
|
2386
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary); /** A group heading's caps label. */
|
|
2387
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised); /** The collapse handle's fill. */
|
|
2366
2388
|
--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
2389
|
--sl-stat-figure-label-color: var(--sl-text-secondary); /** The caps label above the figure. */
|
|
2368
2390
|
--sl-stat-figure-caption-color: var(--sl-text-secondary); /** The caption under the figure. */
|
|
@@ -2388,6 +2410,7 @@
|
|
|
2388
2410
|
--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
2411
|
--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
2412
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
|
|
2413
|
+
--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
2414
|
--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
2415
|
--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
2416
|
--sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
|
|
@@ -5888,6 +5911,19 @@
|
|
|
5888
5911
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
5889
5912
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
5890
5913
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
5914
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
5915
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
5916
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
5917
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
5918
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
5919
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
5920
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
5921
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
5922
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
5923
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
5924
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
5925
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
5926
|
+
--sl-side-nav-toggle-border-color: var(--sl-text-primary);
|
|
5891
5927
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
5892
5928
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
5893
5929
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -6059,6 +6095,19 @@
|
|
|
6059
6095
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
6060
6096
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
6061
6097
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
6098
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
6099
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
6100
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
6101
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
6102
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
6103
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
6104
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
6105
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
6106
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
6107
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
6108
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
6109
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
6110
|
+
--sl-side-nav-toggle-border-color: var(--sl-text-primary);
|
|
6062
6111
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
6063
6112
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
6064
6113
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
|
@@ -6230,6 +6279,19 @@
|
|
|
6230
6279
|
--sl-sheet-rule-color: var(--sl-rule-color);
|
|
6231
6280
|
--sl-sheet-tab-background: var(--sl-surface-inverse);
|
|
6232
6281
|
--sl-sheet-tab-color: var(--sl-text-on-inverse-surface);
|
|
6282
|
+
--sl-side-nav-background: var(--sl-surface-tray);
|
|
6283
|
+
--sl-side-nav-border-color: var(--sl-border-default);
|
|
6284
|
+
--sl-side-nav-item-divider-color: var(--sl-border-subtle);
|
|
6285
|
+
--sl-side-nav-item-color: var(--sl-text-primary);
|
|
6286
|
+
--sl-side-nav-item-color-disabled: var(--sl-text-secondary);
|
|
6287
|
+
--sl-side-nav-item-background-hover: var(--sl-fill-subtle);
|
|
6288
|
+
--sl-side-nav-item-background-current: var(--sl-surface-raised);
|
|
6289
|
+
--sl-side-nav-indicator-color: var(--sl-rule-color);
|
|
6290
|
+
--sl-side-nav-count-color: var(--sl-text-accent);
|
|
6291
|
+
--sl-side-nav-count-color-quiet: var(--sl-text-secondary);
|
|
6292
|
+
--sl-side-nav-group-label-color: var(--sl-text-secondary);
|
|
6293
|
+
--sl-side-nav-toggle-background: var(--sl-surface-raised);
|
|
6294
|
+
--sl-side-nav-toggle-border-color: var(--sl-text-primary);
|
|
6233
6295
|
--sl-stat-figure-figure-color: var(--sl-text-primary);
|
|
6234
6296
|
--sl-stat-figure-figure-color-accent: var(--sl-text-accent);
|
|
6235
6297
|
--sl-stat-figure-underline-color: var(--sl-rule-color);
|
package/dist/tokens.d.ts
CHANGED
|
@@ -2838,6 +2838,31 @@ 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-width": string;
|
|
2859
|
+
readonly "toggle-height": string;
|
|
2860
|
+
readonly "toggle-radius": string;
|
|
2861
|
+
readonly "toggle-offset": string;
|
|
2862
|
+
readonly "toggle-background": string;
|
|
2863
|
+
readonly "toggle-border-color": string;
|
|
2864
|
+
readonly "collapsed-width": string;
|
|
2865
|
+
};
|
|
2841
2866
|
readonly "slider": {
|
|
2842
2867
|
readonly "thumb-size": string;
|
|
2843
2868
|
readonly "vertical-height": string;
|
package/dist/tokens.js
CHANGED
|
@@ -2838,6 +2838,31 @@ 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-width": "1.5rem",
|
|
2859
|
+
"toggle-height": "2.75rem",
|
|
2860
|
+
"toggle-radius": "0.125rem",
|
|
2861
|
+
"toggle-offset": "1.75rem",
|
|
2862
|
+
"toggle-background": "#f8fbf9",
|
|
2863
|
+
"toggle-border-color": "#221928",
|
|
2864
|
+
"collapsed-width": "2.75rem"
|
|
2865
|
+
},
|
|
2841
2866
|
"slider": {
|
|
2842
2867
|
"thumb-size": "1.25rem",
|
|
2843
2868
|
"vertical-height": "200px"
|
package/dist/tokens.json
CHANGED
|
@@ -20688,6 +20688,203 @@
|
|
|
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-width",
|
|
20832
|
+
"path": "side-nav.toggle-width",
|
|
20833
|
+
"layer": "component",
|
|
20834
|
+
"value": "1.5rem",
|
|
20835
|
+
"references": "{space.6}",
|
|
20836
|
+
"description": "The collapse handle's width. It straddles the column's edge."
|
|
20837
|
+
},
|
|
20838
|
+
{
|
|
20839
|
+
"name": "--sl-side-nav-toggle-height",
|
|
20840
|
+
"path": "side-nav.toggle-height",
|
|
20841
|
+
"layer": "component",
|
|
20842
|
+
"value": "2.75rem",
|
|
20843
|
+
"references": "{space.11}",
|
|
20844
|
+
"description": "The collapse handle's height, a tall tab on the column's edge."
|
|
20845
|
+
},
|
|
20846
|
+
{
|
|
20847
|
+
"name": "--sl-side-nav-toggle-radius",
|
|
20848
|
+
"path": "side-nav.toggle-radius",
|
|
20849
|
+
"layer": "component",
|
|
20850
|
+
"value": "0.125rem",
|
|
20851
|
+
"references": "{radius.control}",
|
|
20852
|
+
"description": "The collapse handle's corners."
|
|
20853
|
+
},
|
|
20854
|
+
{
|
|
20855
|
+
"name": "--sl-side-nav-toggle-offset",
|
|
20856
|
+
"path": "side-nav.toggle-offset",
|
|
20857
|
+
"layer": "component",
|
|
20858
|
+
"value": "1.75rem",
|
|
20859
|
+
"references": "{space.7}",
|
|
20860
|
+
"description": "Distance of the collapse button from the top of the column."
|
|
20861
|
+
},
|
|
20862
|
+
{
|
|
20863
|
+
"name": "--sl-side-nav-toggle-background",
|
|
20864
|
+
"path": "side-nav.toggle-background",
|
|
20865
|
+
"layer": "component",
|
|
20866
|
+
"type": "color",
|
|
20867
|
+
"value": "#f8fbf9",
|
|
20868
|
+
"references": "{surface.raised}",
|
|
20869
|
+
"description": "The collapse handle's fill."
|
|
20870
|
+
},
|
|
20871
|
+
{
|
|
20872
|
+
"name": "--sl-side-nav-toggle-border-color",
|
|
20873
|
+
"path": "side-nav.toggle-border-color",
|
|
20874
|
+
"layer": "component",
|
|
20875
|
+
"type": "color",
|
|
20876
|
+
"value": "#221928",
|
|
20877
|
+
"references": "{text.primary}",
|
|
20878
|
+
"description": "The collapse handle's outline and chevron. It fills with this color on hover."
|
|
20879
|
+
},
|
|
20880
|
+
{
|
|
20881
|
+
"name": "--sl-side-nav-collapsed-width",
|
|
20882
|
+
"path": "side-nav.collapsed-width",
|
|
20883
|
+
"layer": "component",
|
|
20884
|
+
"value": "2.75rem",
|
|
20885
|
+
"references": "{space.11}",
|
|
20886
|
+
"description": "Width of the column when it is collapsed, wide enough for the collapse handle."
|
|
20887
|
+
},
|
|
20691
20888
|
{
|
|
20692
20889
|
"name": "--sl-slider-thumb-size",
|
|
20693
20890
|
"path": "slider.thumb-size",
|
|
@@ -23605,6 +23802,20 @@
|
|
|
23605
23802
|
"--sl-sheet-tab-background": "#203d48",
|
|
23606
23803
|
"--sl-sheet-tab-color": "#f3fcff",
|
|
23607
23804
|
"--sl-sheet-tab-radius": "0.0938rem",
|
|
23805
|
+
"--sl-side-nav-background": "#f3fcff",
|
|
23806
|
+
"--sl-side-nav-border-color": "#d1f3ff",
|
|
23807
|
+
"--sl-side-nav-item-divider-color": "#def6ff",
|
|
23808
|
+
"--sl-side-nav-item-color": "#203d48",
|
|
23809
|
+
"--sl-side-nav-item-color-disabled": "#3c5a66",
|
|
23810
|
+
"--sl-side-nav-item-background-hover": "#def6ff",
|
|
23811
|
+
"--sl-side-nav-item-background-current": "#f3fcff",
|
|
23812
|
+
"--sl-side-nav-indicator-color": "#6b8d99",
|
|
23813
|
+
"--sl-side-nav-count-color": "#70463c",
|
|
23814
|
+
"--sl-side-nav-count-color-quiet": "#3c5a66",
|
|
23815
|
+
"--sl-side-nav-group-label-color": "#3c5a66",
|
|
23816
|
+
"--sl-side-nav-toggle-radius": "0.0938rem",
|
|
23817
|
+
"--sl-side-nav-toggle-background": "#f3fcff",
|
|
23818
|
+
"--sl-side-nav-toggle-border-color": "#203d48",
|
|
23608
23819
|
"--sl-stat-figure-figure-font-size": "clamp(1.8144rem, 1.6934rem + 0.6048vw, 2.1773rem)",
|
|
23609
23820
|
"--sl-stat-figure-figure-font-size-sm": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
|
|
23610
23821
|
"--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.11.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.11.0"
|
|
66
66
|
}
|
|
67
67
|
}
|