@scattered-light/loomiere-mojave 0.12.0 → 0.13.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.
@@ -359,6 +359,7 @@
359
359
  --color-table-border: var(--sl-table-border-color);
360
360
  --color-table-row-border: var(--sl-table-row-border-color);
361
361
  --color-table-row-hover: var(--sl-table-row-hover);
362
+ --color-table-row-hover-fg: var(--sl-table-row-hover-color);
362
363
  --color-table-row-selected: var(--sl-table-row-selected);
363
364
  --color-table-row-current: var(--sl-table-row-current);
364
365
  --color-table-group-header: var(--sl-table-group-header-background);
@@ -1086,6 +1087,7 @@
1086
1087
  --sl-table-border-color: var(--sl-border-default);
1087
1088
  --sl-table-row-border-color: var(--sl-border-subtle);
1088
1089
  --sl-table-row-hover: var(--sl-item-background-hover);
1090
+ --sl-table-row-hover-color: var(--sl-item-color-hover);
1089
1091
  --sl-table-row-selected: var(--sl-item-background-selected);
1090
1092
  --sl-table-row-current: var(--sl-surface-tray);
1091
1093
  --sl-table-group-header-background: var(--sl-surface-tray);
@@ -1098,6 +1100,7 @@
1098
1100
  --sl-app-bar-border-color: var(--sl-rule-color);
1099
1101
  --sl-app-bar-divider-color: var(--sl-border-strong);
1100
1102
  --sl-collection-tree-line-color: var(--sl-border-strong);
1103
+ --sl-collection-disclosure-color: var(--sl-text-primary);
1101
1104
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1102
1105
  --sl-description-list-label-color: var(--sl-text-secondary);
1103
1106
  --sl-description-list-value-color: var(--sl-text-primary);
@@ -1271,6 +1274,7 @@
1271
1274
  --sl-table-border-color: var(--sl-border-default);
1272
1275
  --sl-table-row-border-color: var(--sl-border-subtle);
1273
1276
  --sl-table-row-hover: var(--sl-item-background-hover);
1277
+ --sl-table-row-hover-color: var(--sl-item-color-hover);
1274
1278
  --sl-table-row-selected: var(--sl-item-background-selected);
1275
1279
  --sl-table-row-current: var(--sl-surface-tray);
1276
1280
  --sl-table-group-header-background: var(--sl-surface-tray);
@@ -1283,6 +1287,7 @@
1283
1287
  --sl-app-bar-border-color: var(--sl-rule-color);
1284
1288
  --sl-app-bar-divider-color: var(--sl-border-strong);
1285
1289
  --sl-collection-tree-line-color: var(--sl-border-strong);
1290
+ --sl-collection-disclosure-color: var(--sl-text-primary);
1286
1291
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1287
1292
  --sl-description-list-label-color: var(--sl-text-secondary);
1288
1293
  --sl-description-list-value-color: var(--sl-text-primary);
@@ -1456,6 +1461,7 @@
1456
1461
  --sl-table-border-color: var(--sl-border-default);
1457
1462
  --sl-table-row-border-color: var(--sl-border-subtle);
1458
1463
  --sl-table-row-hover: var(--sl-item-background-hover);
1464
+ --sl-table-row-hover-color: var(--sl-item-color-hover);
1459
1465
  --sl-table-row-selected: var(--sl-item-background-selected);
1460
1466
  --sl-table-row-current: var(--sl-surface-tray);
1461
1467
  --sl-table-group-header-background: var(--sl-surface-tray);
@@ -1468,6 +1474,7 @@
1468
1474
  --sl-app-bar-border-color: var(--sl-rule-color);
1469
1475
  --sl-app-bar-divider-color: var(--sl-border-strong);
1470
1476
  --sl-collection-tree-line-color: var(--sl-border-strong);
1477
+ --sl-collection-disclosure-color: var(--sl-text-primary);
1471
1478
  --sl-description-list-row-border-color: var(--sl-border-subtle);
1472
1479
  --sl-description-list-label-color: var(--sl-text-secondary);
1473
1480
  --sl-description-list-value-color: var(--sl-text-primary);
@@ -8519,6 +8519,11 @@
8519
8519
  "$value": "{item.background-hover}",
8520
8520
  "$description": "Row under the pointer. Same tint as a highlighted menu row."
8521
8521
  },
8522
+ "row-hover-color": {
8523
+ "$type": "color",
8524
+ "$value": "{item.color-hover}",
8525
+ "$description": "Text on the row under the pointer. A brand whose hover is only a light tint points it at text.primary so the text does not change."
8526
+ },
8522
8527
  "row-selected": {
8523
8528
  "$value": "{item.background-selected}",
8524
8529
  "$description": "Selected rows. Same tint as the chosen menu row."
@@ -12197,6 +12202,39 @@
12197
12202
  "$value": "{space.5}",
12198
12203
  "$description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
12199
12204
  },
12205
+ "tree-line-offset": {
12206
+ "$value": "{space.2}",
12207
+ "$description": "Where a child's elbow starts, from the start of its level's indent. A brand with a wider tree-indent brings it closer to the parent's text."
12208
+ },
12209
+ "tree-row-height-parent": {
12210
+ "$value": "{collection.row-height-sm}",
12211
+ "$description": "A parent row's height in a table with treeLines, so a register can give its parents a little more room than the rows under them."
12212
+ },
12213
+ "tree-row-height-child": {
12214
+ "$value": "{collection.row-height-sm}",
12215
+ "$description": "A child row's height in a table with treeLines."
12216
+ },
12217
+ "total-row-height-subtotal": {
12218
+ "$value": "{collection.row-height-sm}",
12219
+ "$description": "A subtotal row's height in a table with treeLines."
12220
+ },
12221
+ "total-row-height-grand": {
12222
+ "$value": "{collection.row-height-sm}",
12223
+ "$description": "The grand-total row's height in a table with treeLines."
12224
+ },
12225
+ "disclosure-color": {
12226
+ "$type": "color",
12227
+ "$value": "{text.primary}",
12228
+ "$description": "The small expand button's chevron (disclosure=\"small\"). A brand points it at its accent."
12229
+ },
12230
+ "search-fixed-width": {
12231
+ "$value": "{space.80}",
12232
+ "$description": "The search field's width when the toolbar sets searchWidth=\"fixed\", the most it takes, so a count and a sort note can sit beside it."
12233
+ },
12234
+ "toolbar-frame-padding": {
12235
+ "$value": "{space.3}",
12236
+ "$description": "Padding around the toolbar when it is framed, inside a Sheet above a table that runs edge to edge."
12237
+ },
12200
12238
  "list-row-padding-block": {
12201
12239
  "$value": "{space.3}",
12202
12240
  "$description": "Vertical padding of a list row. The row is not a fixed height, because a second line and an extra slot have to fit."
package/dist/tokens.css CHANGED
@@ -1874,6 +1874,9 @@
1874
1874
  --sl-badge-dot-base: var(--sl-space-2); /** 8px. The base badge is taller, but the dot stays a mark. */
1875
1875
  --sl-collection-tree-indent: var(--sl-space-4); /** How far each deeper level steps in, so a child sits under its parent's text. */
1876
1876
  --sl-collection-disclosure-size-small: var(--sl-space-5); /** The expand and collapse button when a table sets disclosure="small", small enough that a parent row keeps its siblings' height. */
1877
+ --sl-collection-tree-line-offset: var(--sl-space-2); /** Where a child's elbow starts, from the start of its level's indent. A brand with a wider tree-indent brings it closer to the parent's text. */
1878
+ --sl-collection-search-fixed-width: var(--sl-space-80); /** The search field's width when the toolbar sets searchWidth="fixed", the most it takes, so a count and a sort note can sit beside it. */
1879
+ --sl-collection-toolbar-frame-padding: var(--sl-space-3); /** Padding around the toolbar when it is framed, inside a Sheet above a table that runs edge to edge. */
1877
1880
  --sl-collection-list-row-padding-block: var(--sl-space-3); /** Vertical padding of a list row. The row is not a fixed height, because a second line and an extra slot have to fit. */
1878
1881
  --sl-collection-list-row-gap: var(--sl-space-2); /** Between the checkbox, the text, the amount and the actions in a list row. */
1879
1882
  --sl-collection-toolbar-gap: var(--sl-space-2); /** Between the search, the filters and the actions. */
@@ -2278,6 +2281,11 @@
2278
2281
  --sl-status-level-success-bold-fg: var(--sl-scope-success-on-solid); /** bold in success: solid in success */
2279
2282
  --sl-status-level-warning-bold-fg: var(--sl-scope-warning-on-solid); /** bold in warning: solid in warning */
2280
2283
  --sl-status-level-error-bold-fg: var(--sl-scope-error-on-solid); /** bold in error: solid in error */
2284
+ --sl-collection-tree-row-height-parent: var(--sl-collection-row-height-sm); /** A parent row's height in a table with treeLines, so a register can give its parents a little more room than the rows under them. */
2285
+ --sl-collection-tree-row-height-child: var(--sl-collection-row-height-sm); /** A child row's height in a table with treeLines. */
2286
+ --sl-collection-total-row-height-subtotal: var(--sl-collection-row-height-sm); /** A subtotal row's height in a table with treeLines. */
2287
+ --sl-collection-total-row-height-grand: var(--sl-collection-row-height-sm); /** The grand-total row's height in a table with treeLines. */
2288
+ --sl-collection-disclosure-color: var(--sl-text-primary); /** The small expand button's chevron (disclosure="small"). A brand points it at its accent. */
2281
2289
  --sl-description-list-value-color: var(--sl-text-primary); /** Values. */
2282
2290
  --sl-side-nav-item-color: var(--sl-text-primary); /** A row's text. */
2283
2291
  --sl-side-nav-toggle-border-color: var(--sl-text-primary); /** The collapse handle's outline and chevron. It fills with this color on hover. */
@@ -2405,6 +2413,7 @@
2405
2413
  --sl-popup-background: var(--sl-surface-base); /** Popup fill. */
2406
2414
  --sl-popup-arrow-stroke: var(--sl-popup-border-color); /** Arrow edge, continuing the popup's border. */
2407
2415
  --sl-table-row-hover: var(--sl-item-background-hover); /** Row under the pointer. Same tint as a highlighted menu row. */
2416
+ --sl-table-row-hover-color: var(--sl-item-color-hover); /** Text on the row under the pointer. A brand whose hover is only a light tint points it at text.primary so the text does not change. */
2408
2417
  --sl-table-row-selected: var(--sl-item-background-selected); /** Selected rows. Same tint as the chosen menu row. */
2409
2418
  --sl-table-range-border: var(--sl-focus-ring); /** Edge of a range selection and of the focused cell, the same color as every focus ring. */
2410
2419
  --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. */
@@ -5891,6 +5900,7 @@
5891
5900
  --sl-table-border-color: var(--sl-border-default);
5892
5901
  --sl-table-row-border-color: var(--sl-border-subtle);
5893
5902
  --sl-table-row-hover: var(--sl-item-background-hover);
5903
+ --sl-table-row-hover-color: var(--sl-item-color-hover);
5894
5904
  --sl-table-row-selected: var(--sl-item-background-selected);
5895
5905
  --sl-table-row-current: var(--sl-surface-tray);
5896
5906
  --sl-table-group-header-background: var(--sl-surface-tray);
@@ -5903,6 +5913,7 @@
5903
5913
  --sl-app-bar-border-color: var(--sl-rule-color);
5904
5914
  --sl-app-bar-divider-color: var(--sl-border-strong);
5905
5915
  --sl-collection-tree-line-color: var(--sl-border-strong);
5916
+ --sl-collection-disclosure-color: var(--sl-text-primary);
5906
5917
  --sl-description-list-row-border-color: var(--sl-border-subtle);
5907
5918
  --sl-description-list-label-color: var(--sl-text-secondary);
5908
5919
  --sl-description-list-value-color: var(--sl-text-primary);
@@ -6076,6 +6087,7 @@
6076
6087
  --sl-table-border-color: var(--sl-border-default);
6077
6088
  --sl-table-row-border-color: var(--sl-border-subtle);
6078
6089
  --sl-table-row-hover: var(--sl-item-background-hover);
6090
+ --sl-table-row-hover-color: var(--sl-item-color-hover);
6079
6091
  --sl-table-row-selected: var(--sl-item-background-selected);
6080
6092
  --sl-table-row-current: var(--sl-surface-tray);
6081
6093
  --sl-table-group-header-background: var(--sl-surface-tray);
@@ -6088,6 +6100,7 @@
6088
6100
  --sl-app-bar-border-color: var(--sl-rule-color);
6089
6101
  --sl-app-bar-divider-color: var(--sl-border-strong);
6090
6102
  --sl-collection-tree-line-color: var(--sl-border-strong);
6103
+ --sl-collection-disclosure-color: var(--sl-text-primary);
6091
6104
  --sl-description-list-row-border-color: var(--sl-border-subtle);
6092
6105
  --sl-description-list-label-color: var(--sl-text-secondary);
6093
6106
  --sl-description-list-value-color: var(--sl-text-primary);
@@ -6261,6 +6274,7 @@
6261
6274
  --sl-table-border-color: var(--sl-border-default);
6262
6275
  --sl-table-row-border-color: var(--sl-border-subtle);
6263
6276
  --sl-table-row-hover: var(--sl-item-background-hover);
6277
+ --sl-table-row-hover-color: var(--sl-item-color-hover);
6264
6278
  --sl-table-row-selected: var(--sl-item-background-selected);
6265
6279
  --sl-table-row-current: var(--sl-surface-tray);
6266
6280
  --sl-table-group-header-background: var(--sl-surface-tray);
@@ -6273,6 +6287,7 @@
6273
6287
  --sl-app-bar-border-color: var(--sl-rule-color);
6274
6288
  --sl-app-bar-divider-color: var(--sl-border-strong);
6275
6289
  --sl-collection-tree-line-color: var(--sl-border-strong);
6290
+ --sl-collection-disclosure-color: var(--sl-text-primary);
6276
6291
  --sl-description-list-row-border-color: var(--sl-border-subtle);
6277
6292
  --sl-description-list-label-color: var(--sl-text-secondary);
6278
6293
  --sl-description-list-value-color: var(--sl-text-primary);
package/dist/tokens.d.ts CHANGED
@@ -2012,6 +2012,7 @@ declare const tokens: {
2012
2012
  readonly "border-color": string;
2013
2013
  readonly "row-border-color": string;
2014
2014
  readonly "row-hover": string;
2015
+ readonly "row-hover-color": string;
2015
2016
  readonly "row-selected": string;
2016
2017
  readonly "row-current": string;
2017
2018
  readonly "group-header-background": string;
@@ -2771,6 +2772,14 @@ declare const tokens: {
2771
2772
  readonly "tree-indent": string;
2772
2773
  readonly "tree-line-color": string;
2773
2774
  readonly "disclosure-size-small": string;
2775
+ readonly "tree-line-offset": string;
2776
+ readonly "tree-row-height-parent": string;
2777
+ readonly "tree-row-height-child": string;
2778
+ readonly "total-row-height-subtotal": string;
2779
+ readonly "total-row-height-grand": string;
2780
+ readonly "disclosure-color": string;
2781
+ readonly "search-fixed-width": string;
2782
+ readonly "toolbar-frame-padding": string;
2774
2783
  readonly "list-row-padding-block": string;
2775
2784
  readonly "list-row-gap": string;
2776
2785
  readonly "toolbar-gap": string;
package/dist/tokens.js CHANGED
@@ -2012,6 +2012,7 @@ const tokens = {
2012
2012
  "border-color": "#e7ece4",
2013
2013
  "row-border-color": "#eff3ee",
2014
2014
  "row-hover": "#f4e7ff",
2015
+ "row-hover-color": "#542775",
2015
2016
  "row-selected": "#e6c6ff",
2016
2017
  "row-current": "#f8fbf9",
2017
2018
  "group-header-background": "#f8fbf9",
@@ -2771,6 +2772,14 @@ const tokens = {
2771
2772
  "tree-indent": "1rem",
2772
2773
  "tree-line-color": "#7c8980",
2773
2774
  "disclosure-size-small": "1.25rem",
2775
+ "tree-line-offset": "0.5rem",
2776
+ "tree-row-height-parent": "2.25rem",
2777
+ "tree-row-height-child": "2.25rem",
2778
+ "total-row-height-subtotal": "2.25rem",
2779
+ "total-row-height-grand": "2.25rem",
2780
+ "disclosure-color": "#221928",
2781
+ "search-fixed-width": "20rem",
2782
+ "toolbar-frame-padding": "0.75rem",
2774
2783
  "list-row-padding-block": "0.75rem",
2775
2784
  "list-row-gap": "0.5rem",
2776
2785
  "toolbar-gap": "0.5rem",
package/dist/tokens.json CHANGED
@@ -14271,6 +14271,15 @@
14271
14271
  "references": "{item.background-hover}",
14272
14272
  "description": "Row under the pointer. Same tint as a highlighted menu row."
14273
14273
  },
14274
+ {
14275
+ "name": "--sl-table-row-hover-color",
14276
+ "path": "table.row-hover-color",
14277
+ "layer": "semantic",
14278
+ "type": "color",
14279
+ "value": "#542775",
14280
+ "references": "{item.color-hover}",
14281
+ "description": "Text on the row under the pointer. A brand whose hover is only a light tint points it at text.primary so the text does not change."
14282
+ },
14274
14283
  {
14275
14284
  "name": "--sl-table-row-selected",
14276
14285
  "path": "table.row-selected",
@@ -20306,6 +20315,71 @@
20306
20315
  "references": "{space.5}",
20307
20316
  "description": "The expand and collapse button when a table sets disclosure=\"small\", small enough that a parent row keeps its siblings' height."
20308
20317
  },
20318
+ {
20319
+ "name": "--sl-collection-tree-line-offset",
20320
+ "path": "collection.tree-line-offset",
20321
+ "layer": "component",
20322
+ "value": "0.5rem",
20323
+ "references": "{space.2}",
20324
+ "description": "Where a child's elbow starts, from the start of its level's indent. A brand with a wider tree-indent brings it closer to the parent's text."
20325
+ },
20326
+ {
20327
+ "name": "--sl-collection-tree-row-height-parent",
20328
+ "path": "collection.tree-row-height-parent",
20329
+ "layer": "component",
20330
+ "value": "2.25rem",
20331
+ "references": "{collection.row-height-sm}",
20332
+ "description": "A parent row's height in a table with treeLines, so a register can give its parents a little more room than the rows under them."
20333
+ },
20334
+ {
20335
+ "name": "--sl-collection-tree-row-height-child",
20336
+ "path": "collection.tree-row-height-child",
20337
+ "layer": "component",
20338
+ "value": "2.25rem",
20339
+ "references": "{collection.row-height-sm}",
20340
+ "description": "A child row's height in a table with treeLines."
20341
+ },
20342
+ {
20343
+ "name": "--sl-collection-total-row-height-subtotal",
20344
+ "path": "collection.total-row-height-subtotal",
20345
+ "layer": "component",
20346
+ "value": "2.25rem",
20347
+ "references": "{collection.row-height-sm}",
20348
+ "description": "A subtotal row's height in a table with treeLines."
20349
+ },
20350
+ {
20351
+ "name": "--sl-collection-total-row-height-grand",
20352
+ "path": "collection.total-row-height-grand",
20353
+ "layer": "component",
20354
+ "value": "2.25rem",
20355
+ "references": "{collection.row-height-sm}",
20356
+ "description": "The grand-total row's height in a table with treeLines."
20357
+ },
20358
+ {
20359
+ "name": "--sl-collection-disclosure-color",
20360
+ "path": "collection.disclosure-color",
20361
+ "layer": "component",
20362
+ "type": "color",
20363
+ "value": "#221928",
20364
+ "references": "{text.primary}",
20365
+ "description": "The small expand button's chevron (disclosure=\"small\"). A brand points it at its accent."
20366
+ },
20367
+ {
20368
+ "name": "--sl-collection-search-fixed-width",
20369
+ "path": "collection.search-fixed-width",
20370
+ "layer": "component",
20371
+ "value": "20rem",
20372
+ "references": "{space.80}",
20373
+ "description": "The search field's width when the toolbar sets searchWidth=\"fixed\", the most it takes, so a count and a sort note can sit beside it."
20374
+ },
20375
+ {
20376
+ "name": "--sl-collection-toolbar-frame-padding",
20377
+ "path": "collection.toolbar-frame-padding",
20378
+ "layer": "component",
20379
+ "value": "0.75rem",
20380
+ "references": "{space.3}",
20381
+ "description": "Padding around the toolbar when it is framed, inside a Sheet above a table that runs edge to edge."
20382
+ },
20309
20383
  {
20310
20384
  "name": "--sl-collection-list-row-padding-block",
20311
20385
  "path": "collection.list-row-padding-block",
@@ -22565,6 +22639,7 @@
22565
22639
  "--sl-table-border-color": "#d1f3ff",
22566
22640
  "--sl-table-row-border-color": "#def6ff",
22567
22641
  "--sl-table-row-hover": "#fedfd7",
22642
+ "--sl-table-row-hover-color": "#54352d",
22568
22643
  "--sl-table-row-selected": "#fedfd7",
22569
22644
  "--sl-table-row-current": "#f3fcff",
22570
22645
  "--sl-table-group-header-background": "#f3fcff",
@@ -23807,6 +23882,7 @@
23807
23882
  "--sl-avatar-initials-font-size-xl": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
23808
23883
  "--sl-button-radius": "0.0938rem",
23809
23884
  "--sl-collection-tree-line-color": "#6b8d99",
23885
+ "--sl-collection-disclosure-color": "#203d48",
23810
23886
  "--sl-description-list-row-border-color": "#def6ff",
23811
23887
  "--sl-description-list-label-color": "#3c5a66",
23812
23888
  "--sl-description-list-value-color": "#203d48",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere-mojave",
3
- "version": "0.12.0",
3
+ "version": "0.13.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.12.0"
65
+ "@scattered-light/loomiere": "0.13.0"
66
66
  }
67
67
  }