@scattered-light/loomiere-mojave 0.14.0 → 0.15.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.
@@ -367,6 +367,7 @@
367
367
  --color-table-range: var(--sl-table-range-background);
368
368
  --color-table-range-border: var(--sl-table-range-border);
369
369
  --color-table-total-rule: var(--sl-table-total-rule-color);
370
+ --color-table-grand-total-top: var(--sl-table-grand-total-top-color);
370
371
  --color-table-total: var(--sl-table-total-background);
371
372
  --color-gauge-track: var(--sl-gauge-track-color);
372
373
  --color-gauge-label: var(--sl-gauge-label-color);
@@ -1095,6 +1096,7 @@
1095
1096
  --sl-table-range-background: var(--sl-interactive-tint);
1096
1097
  --sl-table-range-border: var(--sl-focus-ring);
1097
1098
  --sl-table-total-rule-color: var(--sl-rule-color);
1099
+ --sl-table-grand-total-top-color: var(--sl-table-total-rule-color);
1098
1100
  --sl-table-total-background: var(--sl-table-background);
1099
1101
  --sl-app-bar-background: var(--sl-surface-raised);
1100
1102
  --sl-app-bar-border-color: var(--sl-rule-color);
@@ -1284,6 +1286,7 @@
1284
1286
  --sl-table-range-background: var(--sl-interactive-tint);
1285
1287
  --sl-table-range-border: var(--sl-focus-ring);
1286
1288
  --sl-table-total-rule-color: var(--sl-rule-color);
1289
+ --sl-table-grand-total-top-color: var(--sl-table-total-rule-color);
1287
1290
  --sl-table-total-background: var(--sl-table-background);
1288
1291
  --sl-app-bar-background: var(--sl-surface-raised);
1289
1292
  --sl-app-bar-border-color: var(--sl-rule-color);
@@ -1473,6 +1476,7 @@
1473
1476
  --sl-table-range-background: var(--sl-interactive-tint);
1474
1477
  --sl-table-range-border: var(--sl-focus-ring);
1475
1478
  --sl-table-total-rule-color: var(--sl-rule-color);
1479
+ --sl-table-grand-total-top-color: var(--sl-table-total-rule-color);
1476
1480
  --sl-table-total-background: var(--sl-table-background);
1477
1481
  --sl-app-bar-background: var(--sl-surface-raised);
1478
1482
  --sl-app-bar-border-color: var(--sl-rule-color);
@@ -8568,6 +8568,11 @@
8568
8568
  "$value": "{rule.color}",
8569
8569
  "$description": "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."
8570
8570
  },
8571
+ "grand-total-top-color": {
8572
+ "$type": "color",
8573
+ "$value": "{table.total-rule-color}",
8574
+ "$description": "The line above a grand total row. The total rule color by default; a brand can quiet it so the double rule under the figures leads."
8575
+ },
8571
8576
  "subtotal-rule-width": {
8572
8577
  "$value": "{stroke.default}",
8573
8578
  "$description": "The single line above a subtotal row (tr data-total=\"subtotal\"), the line an accountant draws before adding a column."
@@ -12394,6 +12399,11 @@
12394
12399
  "$type": "color",
12395
12400
  "$value": "{text.secondary}",
12396
12401
  "$description": "The caps label, quieter than the choice it names."
12402
+ },
12403
+ "text-offset": {
12404
+ "$type": "dimension",
12405
+ "$value": "0px",
12406
+ "$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."
12397
12407
  }
12398
12408
  },
12399
12409
  "popover": {
package/dist/tokens.css CHANGED
@@ -793,6 +793,7 @@
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. */
798
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. */
@@ -2429,6 +2430,7 @@
2429
2430
  --sl-toggle-group-segmented-pressed-color: var(--sl-text-on-inverse); /** Text on the pressed toggle. */
2430
2431
  --sl-check-background: var(--sl-field-background); /** Empty box, the same fill as a field so it reads as something to fill in. */
2431
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-table-grand-total-top-color: var(--sl-table-total-rule-color); /** The line above a grand total row. The total rule color by default; a brand can quiet it so the double rule under the figures leads. */
2432
2434
  --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. */
2433
2435
  }
2434
2436
 
@@ -5911,6 +5913,7 @@
5911
5913
  --sl-table-range-background: var(--sl-interactive-tint);
5912
5914
  --sl-table-range-border: var(--sl-focus-ring);
5913
5915
  --sl-table-total-rule-color: var(--sl-rule-color);
5916
+ --sl-table-grand-total-top-color: var(--sl-table-total-rule-color);
5914
5917
  --sl-table-total-background: var(--sl-table-background);
5915
5918
  --sl-app-bar-background: var(--sl-surface-raised);
5916
5919
  --sl-app-bar-border-color: var(--sl-rule-color);
@@ -6100,6 +6103,7 @@
6100
6103
  --sl-table-range-background: var(--sl-interactive-tint);
6101
6104
  --sl-table-range-border: var(--sl-focus-ring);
6102
6105
  --sl-table-total-rule-color: var(--sl-rule-color);
6106
+ --sl-table-grand-total-top-color: var(--sl-table-total-rule-color);
6103
6107
  --sl-table-total-background: var(--sl-table-background);
6104
6108
  --sl-app-bar-background: var(--sl-surface-raised);
6105
6109
  --sl-app-bar-border-color: var(--sl-rule-color);
@@ -6289,6 +6293,7 @@
6289
6293
  --sl-table-range-background: var(--sl-interactive-tint);
6290
6294
  --sl-table-range-border: var(--sl-focus-ring);
6291
6295
  --sl-table-total-rule-color: var(--sl-rule-color);
6296
+ --sl-table-grand-total-top-color: var(--sl-table-total-rule-color);
6292
6297
  --sl-table-total-background: var(--sl-table-background);
6293
6298
  --sl-app-bar-background: var(--sl-surface-raised);
6294
6299
  --sl-app-bar-border-color: var(--sl-rule-color);
package/dist/tokens.d.ts CHANGED
@@ -2024,6 +2024,7 @@ declare const tokens: {
2024
2024
  readonly "cell-padding-inline": string;
2025
2025
  readonly "radius": string;
2026
2026
  readonly "total-rule-color": string;
2027
+ readonly "grand-total-top-color": string;
2027
2028
  readonly "subtotal-rule-width": string;
2028
2029
  readonly "grand-total-rule-width": string;
2029
2030
  readonly "total-background": string;
@@ -2827,6 +2828,7 @@ declare const tokens: {
2827
2828
  readonly "picker-button": {
2828
2829
  readonly "max-width": string;
2829
2830
  readonly "label-color": string;
2831
+ readonly "text-offset": string;
2830
2832
  };
2831
2833
  readonly "popover": {
2832
2834
  readonly "text-max-width": string;
package/dist/tokens.js CHANGED
@@ -2024,6 +2024,7 @@ const tokens = {
2024
2024
  "cell-padding-inline": "0.75rem",
2025
2025
  "radius": "0.5rem",
2026
2026
  "total-rule-color": "#7c8980",
2027
+ "grand-total-top-color": "#7c8980",
2027
2028
  "subtotal-rule-width": "1px",
2028
2029
  "grand-total-rule-width": "3px",
2029
2030
  "total-background": "#ffffff"
@@ -2826,7 +2827,8 @@ const tokens = {
2826
2827
  },
2827
2828
  "picker-button": {
2828
2829
  "max-width": "18rem",
2829
- "label-color": "#4f5852"
2830
+ "label-color": "#4f5852",
2831
+ "text-offset": "0px"
2830
2832
  },
2831
2833
  "popover": {
2832
2834
  "text-max-width": "45ch",
package/dist/tokens.json CHANGED
@@ -14368,6 +14368,15 @@
14368
14368
  "references": "{rule.color}",
14369
14369
  "description": "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."
14370
14370
  },
14371
+ {
14372
+ "name": "--sl-table-grand-total-top-color",
14373
+ "path": "table.grand-total-top-color",
14374
+ "layer": "semantic",
14375
+ "type": "color",
14376
+ "value": "#7c8980",
14377
+ "references": "{table.total-rule-color}",
14378
+ "description": "The line above a grand total row. The total rule color by default; a brand can quiet it so the double rule under the figures leads."
14379
+ },
14371
14380
  {
14372
14381
  "name": "--sl-table-subtotal-rule-width",
14373
14382
  "path": "table.subtotal-rule-width",
@@ -20658,6 +20667,14 @@
20658
20667
  "references": "{text.secondary}",
20659
20668
  "description": "The caps label, quieter than the choice it names."
20660
20669
  },
20670
+ {
20671
+ "name": "--sl-picker-button-text-offset",
20672
+ "path": "picker-button.text-offset",
20673
+ "layer": "component",
20674
+ "type": "dimension",
20675
+ "value": "0px",
20676
+ "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."
20677
+ },
20661
20678
  {
20662
20679
  "name": "--sl-popover-text-max-width",
20663
20680
  "path": "popover.text-max-width",
@@ -22674,6 +22691,7 @@
22674
22691
  "--sl-table-range-border": "#a36759",
22675
22692
  "--sl-table-radius": "0.375rem",
22676
22693
  "--sl-table-total-rule-color": "#6b8d99",
22694
+ "--sl-table-grand-total-top-color": "#6b8d99",
22677
22695
  "--sl-font-body-base-font-family": "Roboto, sans-serif",
22678
22696
  "--sl-font-body-base-font-size": "0.875rem",
22679
22697
  "--sl-font-body-base-line-height": 1.352,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scattered-light/loomiere-mojave",
3
- "version": "0.14.0",
3
+ "version": "0.15.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.14.0"
65
+ "@scattered-light/loomiere": "0.15.0"
66
66
  }
67
67
  }