@scattered-light/loomiere-mojave 0.13.0 → 0.14.1

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.
@@ -1100,6 +1100,8 @@
1100
1100
  --sl-app-bar-border-color: var(--sl-rule-color);
1101
1101
  --sl-app-bar-divider-color: var(--sl-border-strong);
1102
1102
  --sl-collection-tree-line-color: var(--sl-border-strong);
1103
+ --sl-collection-tree-parent-row-background: var(--sl-table-background);
1104
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
1103
1105
  --sl-collection-disclosure-color: var(--sl-text-primary);
1104
1106
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1105
1107
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -1287,6 +1289,8 @@
1287
1289
  --sl-app-bar-border-color: var(--sl-rule-color);
1288
1290
  --sl-app-bar-divider-color: var(--sl-border-strong);
1289
1291
  --sl-collection-tree-line-color: var(--sl-border-strong);
1292
+ --sl-collection-tree-parent-row-background: var(--sl-table-background);
1293
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
1290
1294
  --sl-collection-disclosure-color: var(--sl-text-primary);
1291
1295
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1292
1296
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -1474,6 +1478,8 @@
1474
1478
  --sl-app-bar-border-color: var(--sl-rule-color);
1475
1479
  --sl-app-bar-divider-color: var(--sl-border-strong);
1476
1480
  --sl-collection-tree-line-color: var(--sl-border-strong);
1481
+ --sl-collection-tree-parent-row-background: var(--sl-table-background);
1482
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
1477
1483
  --sl-collection-disclosure-color: var(--sl-text-primary);
1478
1484
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1479
1485
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -12198,6 +12198,16 @@
12198
12198
  "$value": "{border.strong}",
12199
12199
  "$description": "The elbow connector from a child row back to its parent, with treeLines."
12200
12200
  },
12201
+ "tree-parent-row-background": {
12202
+ "$type": "color",
12203
+ "$value": "{table.background}",
12204
+ "$description": "Fill of a parent row in a tree with treeLines, so a parent reads a step off its children."
12205
+ },
12206
+ "tree-parent-row-hover": {
12207
+ "$type": "color",
12208
+ "$value": "{table.row-hover}",
12209
+ "$description": "A parent row under the pointer, with treeLines. A brand sets it a step darker than table.row-hover so a parent still stands out when hovered."
12210
+ },
12201
12211
  "disclosure-size-small": {
12202
12212
  "$value": "{space.5}",
12203
12213
  "$description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
@@ -12384,6 +12394,11 @@
12384
12394
  "$type": "color",
12385
12395
  "$value": "{text.secondary}",
12386
12396
  "$description": "The caps label, quieter than the choice it names."
12397
+ },
12398
+ "text-offset": {
12399
+ "$type": "dimension",
12400
+ "$value": "0px",
12401
+ "$description": "Nudges the label and choice down together, for a typeface whose text sits high in the button. Zero keeps the baseline where the line box puts it."
12387
12402
  }
12388
12403
  },
12389
12404
  "popover": {
@@ -12456,6 +12471,11 @@
12456
12471
  "$value": "{space.3-5}",
12457
12472
  "$description": "Space either side of the tab label's text."
12458
12473
  },
12474
+ "tab-text-offset": {
12475
+ "$type": "dimension",
12476
+ "$value": "0px",
12477
+ "$description": "Nudges the tab label down, for a typeface whose caps sit high in the line box. Zero centers the line box."
12478
+ },
12459
12479
  "tab-radius": {
12460
12480
  "$value": "{radius.sm}",
12461
12481
  "$description": "The tab label's top corners. Its bottom corners stay square where it meets the rule."
package/dist/tokens.css CHANGED
@@ -793,8 +793,10 @@
793
793
  --sl-navigation-menu-popup-min-width: 400px; /** Narrowest a navigation panel gets on wider screens, and the widest a single column of links grows. */
794
794
  --sl-navigation-menu-column-width: 12rem; /** Width of each column in a two-column link list. */
795
795
  --sl-picker-button-max-width: 18rem; /** Widest the button grows. A longer choice is cut with an ellipsis; the label never is. */
796
+ --sl-picker-button-text-offset: 0px; /** Nudges the label and choice down together, for a typeface whose text sits high in the button. Zero keeps the baseline where the line box puts it. */
796
797
  --sl-preview-card-popup-min-width: 300px; /** Narrowest a preview card gets, so a short title still has room for its image. */
797
798
  --sl-preview-card-popup-max-width: 450px; /** Widest a preview card gets, so its description keeps a comfortable line length. */
799
+ --sl-sheet-tab-text-offset: 0px; /** Nudges the tab label down, for a typeface whose caps sit high in the line box. Zero centers the line box. */
798
800
  --sl-slider-vertical-height: 200px; /** Default length of a vertical slider. */
799
801
  --sl-splitter-key-step: 5%; /** One arrow press moves the handle by 5% of the splitter. Dryden used 5%: a nudge you can see, not a jump. */
800
802
  --sl-splitter-key-step-large: 10%; /** The Shift step. Twice the arrow step, so a few presses cross the panel without holding the key. */
@@ -2419,6 +2421,7 @@
2419
2421
  --sl-table-total-rule-color: var(--sl-rule-color); /** The line above a subtotal or total row and the double line under a grand total. The working-paper rule color, so totals and sheet tops are ruled in the same ink. */
2420
2422
  --sl-table-total-background: var(--sl-table-background); /** Fill of a subtotal or grand total row: the cell color, so the rules mark the total instead of a band. The footer's default totals row keeps the header tray. */
2421
2423
  --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. */
2424
+ --sl-collection-tree-parent-row-background: var(--sl-table-background); /** Fill of a parent row in a tree with treeLines, so a parent reads a step off its children. */
2422
2425
  --sl-sheet-rule-color: var(--sl-rule-color); /** The top rule's color: the working-paper rule color, so sheets and ruled tables match. */
2423
2426
  --sl-sheet-tab-color: var(--sl-text-on-inverse-surface); /** Text on the tab label. */
2424
2427
  --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. */
@@ -2427,6 +2430,7 @@
2427
2430
  --sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
2428
2431
  --sl-check-background: var(--sl-field-background); /** Empty box, the same fill as a field so it reads as something to fill in. */
2429
2432
  --sl-popup-arrow-fill: var(--sl-popup-background); /** The arrow is part of the popup, so it takes the popup's fill. */
2433
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover); /** A parent row under the pointer, with treeLines. A brand sets it a step darker than table.row-hover so a parent still stands out when hovered. */
2430
2434
  }
2431
2435
 
2432
2436
  /* Look: Classic (data-look='classic'). */
@@ -5913,6 +5917,8 @@
5913
5917
  --sl-app-bar-border-color: var(--sl-rule-color);
5914
5918
  --sl-app-bar-divider-color: var(--sl-border-strong);
5915
5919
  --sl-collection-tree-line-color: var(--sl-border-strong);
5920
+ --sl-collection-tree-parent-row-background: var(--sl-table-background);
5921
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
5916
5922
  --sl-collection-disclosure-color: var(--sl-text-primary);
5917
5923
  --sl-description-list-row-border-color: var(--sl-border-subtle);
5918
5924
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -6100,6 +6106,8 @@
6100
6106
  --sl-app-bar-border-color: var(--sl-rule-color);
6101
6107
  --sl-app-bar-divider-color: var(--sl-border-strong);
6102
6108
  --sl-collection-tree-line-color: var(--sl-border-strong);
6109
+ --sl-collection-tree-parent-row-background: var(--sl-table-background);
6110
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
6103
6111
  --sl-collection-disclosure-color: var(--sl-text-primary);
6104
6112
  --sl-description-list-row-border-color: var(--sl-border-subtle);
6105
6113
  --sl-description-list-label-color: var(--sl-text-secondary);
@@ -6287,6 +6295,8 @@
6287
6295
  --sl-app-bar-border-color: var(--sl-rule-color);
6288
6296
  --sl-app-bar-divider-color: var(--sl-border-strong);
6289
6297
  --sl-collection-tree-line-color: var(--sl-border-strong);
6298
+ --sl-collection-tree-parent-row-background: var(--sl-table-background);
6299
+ --sl-collection-tree-parent-row-hover: var(--sl-table-row-hover);
6290
6300
  --sl-collection-disclosure-color: var(--sl-text-primary);
6291
6301
  --sl-description-list-row-border-color: var(--sl-border-subtle);
6292
6302
  --sl-description-list-label-color: var(--sl-text-secondary);
package/dist/tokens.d.ts CHANGED
@@ -2771,6 +2771,8 @@ declare const tokens: {
2771
2771
  readonly "header-height-md": string;
2772
2772
  readonly "tree-indent": string;
2773
2773
  readonly "tree-line-color": string;
2774
+ readonly "tree-parent-row-background": string;
2775
+ readonly "tree-parent-row-hover": string;
2774
2776
  readonly "disclosure-size-small": string;
2775
2777
  readonly "tree-line-offset": string;
2776
2778
  readonly "tree-row-height-parent": string;
@@ -2825,6 +2827,7 @@ declare const tokens: {
2825
2827
  readonly "picker-button": {
2826
2828
  readonly "max-width": string;
2827
2829
  readonly "label-color": string;
2830
+ readonly "text-offset": string;
2828
2831
  };
2829
2832
  readonly "popover": {
2830
2833
  readonly "text-max-width": string;
@@ -2846,6 +2849,7 @@ declare const tokens: {
2846
2849
  readonly "tab-color": string;
2847
2850
  readonly "tab-height": string;
2848
2851
  readonly "tab-padding-inline": string;
2852
+ readonly "tab-text-offset": string;
2849
2853
  readonly "tab-radius": string;
2850
2854
  readonly "header-gap": string;
2851
2855
  };
package/dist/tokens.js CHANGED
@@ -2771,6 +2771,8 @@ const tokens = {
2771
2771
  "header-height-md": "3.25rem",
2772
2772
  "tree-indent": "1rem",
2773
2773
  "tree-line-color": "#7c8980",
2774
+ "tree-parent-row-background": "#ffffff",
2775
+ "tree-parent-row-hover": "#f4e7ff",
2774
2776
  "disclosure-size-small": "1.25rem",
2775
2777
  "tree-line-offset": "0.5rem",
2776
2778
  "tree-row-height-parent": "2.25rem",
@@ -2824,7 +2826,8 @@ const tokens = {
2824
2826
  },
2825
2827
  "picker-button": {
2826
2828
  "max-width": "18rem",
2827
- "label-color": "#4f5852"
2829
+ "label-color": "#4f5852",
2830
+ "text-offset": "0px"
2828
2831
  },
2829
2832
  "popover": {
2830
2833
  "text-max-width": "45ch",
@@ -2846,6 +2849,7 @@ const tokens = {
2846
2849
  "tab-color": "#f8fbf9",
2847
2850
  "tab-height": "1.75rem",
2848
2851
  "tab-padding-inline": "0.875rem",
2852
+ "tab-text-offset": "0px",
2849
2853
  "tab-radius": "0.125rem",
2850
2854
  "header-gap": "0.75rem"
2851
2855
  },
package/dist/tokens.json CHANGED
@@ -20307,6 +20307,24 @@
20307
20307
  "references": "{border.strong}",
20308
20308
  "description": "The elbow connector from a child row back to its parent, with treeLines."
20309
20309
  },
20310
+ {
20311
+ "name": "--sl-collection-tree-parent-row-background",
20312
+ "path": "collection.tree-parent-row-background",
20313
+ "layer": "component",
20314
+ "type": "color",
20315
+ "value": "#ffffff",
20316
+ "references": "{table.background}",
20317
+ "description": "Fill of a parent row in a tree with treeLines, so a parent reads a step off its children."
20318
+ },
20319
+ {
20320
+ "name": "--sl-collection-tree-parent-row-hover",
20321
+ "path": "collection.tree-parent-row-hover",
20322
+ "layer": "component",
20323
+ "type": "color",
20324
+ "value": "#f4e7ff",
20325
+ "references": "{table.row-hover}",
20326
+ "description": "A parent row under the pointer, with treeLines. A brand sets it a step darker than table.row-hover so a parent still stands out when hovered."
20327
+ },
20310
20328
  {
20311
20329
  "name": "--sl-collection-disclosure-size-small",
20312
20330
  "path": "collection.disclosure-size-small",
@@ -20640,6 +20658,14 @@
20640
20658
  "references": "{text.secondary}",
20641
20659
  "description": "The caps label, quieter than the choice it names."
20642
20660
  },
20661
+ {
20662
+ "name": "--sl-picker-button-text-offset",
20663
+ "path": "picker-button.text-offset",
20664
+ "layer": "component",
20665
+ "type": "dimension",
20666
+ "value": "0px",
20667
+ "description": "Nudges the label and choice down together, for a typeface whose text sits high in the button. Zero keeps the baseline where the line box puts it."
20668
+ },
20643
20669
  {
20644
20670
  "name": "--sl-popover-text-max-width",
20645
20671
  "path": "popover.text-max-width",
@@ -20763,6 +20789,14 @@
20763
20789
  "references": "{space.3-5}",
20764
20790
  "description": "Space either side of the tab label's text."
20765
20791
  },
20792
+ {
20793
+ "name": "--sl-sheet-tab-text-offset",
20794
+ "path": "sheet.tab-text-offset",
20795
+ "layer": "component",
20796
+ "type": "dimension",
20797
+ "value": "0px",
20798
+ "description": "Nudges the tab label down, for a typeface whose caps sit high in the line box. Zero centers the line box."
20799
+ },
20766
20800
  {
20767
20801
  "name": "--sl-sheet-tab-radius",
20768
20802
  "path": "sheet.tab-radius",
@@ -23882,6 +23916,7 @@
23882
23916
  "--sl-avatar-initials-font-size-xl": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
23883
23917
  "--sl-button-radius": "0.0938rem",
23884
23918
  "--sl-collection-tree-line-color": "#6b8d99",
23919
+ "--sl-collection-tree-parent-row-hover": "#fedfd7",
23885
23920
  "--sl-collection-disclosure-color": "#203d48",
23886
23921
  "--sl-description-list-row-border-color": "#def6ff",
23887
23922
  "--sl-description-list-label-color": "#3c5a66",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere-mojave",
3
- "version": "0.13.0",
3
+ "version": "0.14.1",
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.13.0"
65
+ "@scattered-light/loomiere": "0.14.1"
66
66
  }
67
67
  }