@scattered-light/loomiere-mojave 0.8.0 → 0.9.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 +4 -0
- package/dist/exports/design-system/README.md +3 -3
- package/dist/exports/design-system/components/AppBar/README.md +58 -0
- package/dist/exports/design-system/components/AppBar/preview.html +19 -0
- package/dist/exports/design-system/components/PickerButton/README.md +56 -0
- package/dist/exports/design-system/components/PickerButton/preview.html +19 -0
- package/dist/exports/design-system/components/ToggleGroup/README.md +2 -2
- package/dist/exports/design-system/components/ToggleGroup/preview.html +1 -1
- package/dist/exports/design-system/components/bundle.css +362 -163
- 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 +24 -0
- package/dist/exports/tokens.dtcg.json +70 -0
- package/dist/tokens.css +144 -106
- package/dist/tokens.d.ts +20 -0
- package/dist/tokens.js +20 -0
- package/dist/tokens.json +128 -1
- package/package.json +2 -2
package/dist/tokens.d.ts
CHANGED
|
@@ -2723,6 +2723,16 @@ declare const tokens: {
|
|
|
2723
2723
|
};
|
|
2724
2724
|
};
|
|
2725
2725
|
};
|
|
2726
|
+
readonly "app-bar": {
|
|
2727
|
+
readonly "height": string;
|
|
2728
|
+
readonly "padding-inline": string;
|
|
2729
|
+
readonly "gap": string;
|
|
2730
|
+
readonly "background": string;
|
|
2731
|
+
readonly "border-width": string;
|
|
2732
|
+
readonly "border-color": string;
|
|
2733
|
+
readonly "divider-height": string;
|
|
2734
|
+
readonly "divider-color": string;
|
|
2735
|
+
};
|
|
2726
2736
|
readonly "avatar": {
|
|
2727
2737
|
readonly "size-xs": string;
|
|
2728
2738
|
readonly "size-sm": string;
|
|
@@ -2801,6 +2811,10 @@ declare const tokens: {
|
|
|
2801
2811
|
readonly "popup-min-width": string;
|
|
2802
2812
|
readonly "column-width": string;
|
|
2803
2813
|
};
|
|
2814
|
+
readonly "picker-button": {
|
|
2815
|
+
readonly "max-width": string;
|
|
2816
|
+
readonly "label-color": string;
|
|
2817
|
+
};
|
|
2804
2818
|
readonly "popover": {
|
|
2805
2819
|
readonly "text-max-width": string;
|
|
2806
2820
|
readonly "popup-min-width": string;
|
|
@@ -2867,6 +2881,12 @@ declare const tokens: {
|
|
|
2867
2881
|
readonly "viewport-margin": string;
|
|
2868
2882
|
readonly "viewport-margin-md": string;
|
|
2869
2883
|
};
|
|
2884
|
+
readonly "toggle-group": {
|
|
2885
|
+
readonly "segmented-border-color": string;
|
|
2886
|
+
readonly "segmented-background": string;
|
|
2887
|
+
readonly "segmented-pressed-background": string;
|
|
2888
|
+
readonly "segmented-pressed-color": string;
|
|
2889
|
+
};
|
|
2870
2890
|
readonly "toggle": {
|
|
2871
2891
|
readonly "opacity-disabled": string;
|
|
2872
2892
|
};
|
package/dist/tokens.js
CHANGED
|
@@ -2723,6 +2723,16 @@ const tokens = {
|
|
|
2723
2723
|
}
|
|
2724
2724
|
}
|
|
2725
2725
|
},
|
|
2726
|
+
"app-bar": {
|
|
2727
|
+
"height": "4rem",
|
|
2728
|
+
"padding-inline": "1.5rem",
|
|
2729
|
+
"gap": "0.625rem",
|
|
2730
|
+
"background": "#f8fbf9",
|
|
2731
|
+
"border-width": "1px",
|
|
2732
|
+
"border-color": "#7c8980",
|
|
2733
|
+
"divider-height": "1.5rem",
|
|
2734
|
+
"divider-color": "#7c8980"
|
|
2735
|
+
},
|
|
2726
2736
|
"avatar": {
|
|
2727
2737
|
"size-xs": "2rem",
|
|
2728
2738
|
"size-sm": "2.5rem",
|
|
@@ -2801,6 +2811,10 @@ const tokens = {
|
|
|
2801
2811
|
"popup-min-width": "400px",
|
|
2802
2812
|
"column-width": "12rem"
|
|
2803
2813
|
},
|
|
2814
|
+
"picker-button": {
|
|
2815
|
+
"max-width": "18rem",
|
|
2816
|
+
"label-color": "#4f5852"
|
|
2817
|
+
},
|
|
2804
2818
|
"popover": {
|
|
2805
2819
|
"text-max-width": "45ch",
|
|
2806
2820
|
"popup-min-width": "200px"
|
|
@@ -2867,6 +2881,12 @@ const tokens = {
|
|
|
2867
2881
|
"viewport-margin": "1rem",
|
|
2868
2882
|
"viewport-margin-md": "2rem"
|
|
2869
2883
|
},
|
|
2884
|
+
"toggle-group": {
|
|
2885
|
+
"segmented-border-color": "#7c8980",
|
|
2886
|
+
"segmented-background": "#f8fbf9",
|
|
2887
|
+
"segmented-pressed-background": "#353d38",
|
|
2888
|
+
"segmented-pressed-color": "#f8fbf9"
|
|
2889
|
+
},
|
|
2870
2890
|
"toggle": {
|
|
2871
2891
|
"opacity-disabled": "0.5"
|
|
2872
2892
|
},
|
package/dist/tokens.json
CHANGED
|
@@ -19991,6 +19991,73 @@
|
|
|
19991
19991
|
"references": "{scope.error.solid-hover}",
|
|
19992
19992
|
"description": "quiet in error: outline in error"
|
|
19993
19993
|
},
|
|
19994
|
+
{
|
|
19995
|
+
"name": "--sl-app-bar-height",
|
|
19996
|
+
"path": "app-bar.height",
|
|
19997
|
+
"layer": "component",
|
|
19998
|
+
"value": "4rem",
|
|
19999
|
+
"references": "{space.16}",
|
|
20000
|
+
"description": "Least height of the bar. It grows if its contents wrap."
|
|
20001
|
+
},
|
|
20002
|
+
{
|
|
20003
|
+
"name": "--sl-app-bar-padding-inline",
|
|
20004
|
+
"path": "app-bar.padding-inline",
|
|
20005
|
+
"layer": "component",
|
|
20006
|
+
"value": "1.5rem",
|
|
20007
|
+
"references": "{space.6}",
|
|
20008
|
+
"description": "Space at the bar's start and end."
|
|
20009
|
+
},
|
|
20010
|
+
{
|
|
20011
|
+
"name": "--sl-app-bar-gap",
|
|
20012
|
+
"path": "app-bar.gap",
|
|
20013
|
+
"layer": "component",
|
|
20014
|
+
"value": "0.625rem",
|
|
20015
|
+
"references": "{space.2-5}",
|
|
20016
|
+
"description": "Space between the things in the bar."
|
|
20017
|
+
},
|
|
20018
|
+
{
|
|
20019
|
+
"name": "--sl-app-bar-background",
|
|
20020
|
+
"path": "app-bar.background",
|
|
20021
|
+
"layer": "component",
|
|
20022
|
+
"type": "color",
|
|
20023
|
+
"value": "#f8fbf9",
|
|
20024
|
+
"references": "{surface.raised}",
|
|
20025
|
+
"description": "The bar's fill: one step off the page, like a card, so the page reads as sitting under it."
|
|
20026
|
+
},
|
|
20027
|
+
{
|
|
20028
|
+
"name": "--sl-app-bar-border-width",
|
|
20029
|
+
"path": "app-bar.border-width",
|
|
20030
|
+
"layer": "component",
|
|
20031
|
+
"value": "1px",
|
|
20032
|
+
"references": "{stroke.default}",
|
|
20033
|
+
"description": "The line under the bar while rule.width is 0. With rule.width on, the line takes the thicker of the two."
|
|
20034
|
+
},
|
|
20035
|
+
{
|
|
20036
|
+
"name": "--sl-app-bar-border-color",
|
|
20037
|
+
"path": "app-bar.border-color",
|
|
20038
|
+
"layer": "component",
|
|
20039
|
+
"type": "color",
|
|
20040
|
+
"value": "#7c8980",
|
|
20041
|
+
"references": "{rule.color}",
|
|
20042
|
+
"description": "The line under the bar, in the rule color, so an ink rule brand gets an ink line here too."
|
|
20043
|
+
},
|
|
20044
|
+
{
|
|
20045
|
+
"name": "--sl-app-bar-divider-height",
|
|
20046
|
+
"path": "app-bar.divider-height",
|
|
20047
|
+
"layer": "component",
|
|
20048
|
+
"value": "1.5rem",
|
|
20049
|
+
"references": "{space.6}",
|
|
20050
|
+
"description": "Height of a vertical Separator between groups of actions in the bar."
|
|
20051
|
+
},
|
|
20052
|
+
{
|
|
20053
|
+
"name": "--sl-app-bar-divider-color",
|
|
20054
|
+
"path": "app-bar.divider-color",
|
|
20055
|
+
"layer": "component",
|
|
20056
|
+
"type": "color",
|
|
20057
|
+
"value": "#7c8980",
|
|
20058
|
+
"references": "{border.strong}",
|
|
20059
|
+
"description": "Color of a vertical Separator in the bar."
|
|
20060
|
+
},
|
|
19994
20061
|
{
|
|
19995
20062
|
"name": "--sl-avatar-size-xs",
|
|
19996
20063
|
"path": "avatar.size-xs",
|
|
@@ -20466,6 +20533,22 @@
|
|
|
20466
20533
|
"value": "12rem",
|
|
20467
20534
|
"description": "Width of each column in a two-column link list."
|
|
20468
20535
|
},
|
|
20536
|
+
{
|
|
20537
|
+
"name": "--sl-picker-button-max-width",
|
|
20538
|
+
"path": "picker-button.max-width",
|
|
20539
|
+
"layer": "component",
|
|
20540
|
+
"value": "18rem",
|
|
20541
|
+
"description": "Widest the button grows. A longer choice is cut with an ellipsis; the label never is."
|
|
20542
|
+
},
|
|
20543
|
+
{
|
|
20544
|
+
"name": "--sl-picker-button-label-color",
|
|
20545
|
+
"path": "picker-button.label-color",
|
|
20546
|
+
"layer": "component",
|
|
20547
|
+
"type": "color",
|
|
20548
|
+
"value": "#4f5852",
|
|
20549
|
+
"references": "{text.secondary}",
|
|
20550
|
+
"description": "The caps label, quieter than the choice it names."
|
|
20551
|
+
},
|
|
20469
20552
|
{
|
|
20470
20553
|
"name": "--sl-popover-text-max-width",
|
|
20471
20554
|
"path": "popover.text-max-width",
|
|
@@ -20858,6 +20941,42 @@
|
|
|
20858
20941
|
"references": "{space.8}",
|
|
20859
20942
|
"description": "Distance from the screen corner from 500px up."
|
|
20860
20943
|
},
|
|
20944
|
+
{
|
|
20945
|
+
"name": "--sl-toggle-group-segmented-border-color",
|
|
20946
|
+
"path": "toggle-group.segmented-border-color",
|
|
20947
|
+
"layer": "component",
|
|
20948
|
+
"type": "color",
|
|
20949
|
+
"value": "#7c8980",
|
|
20950
|
+
"references": "{rule.color}",
|
|
20951
|
+
"description": "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."
|
|
20952
|
+
},
|
|
20953
|
+
{
|
|
20954
|
+
"name": "--sl-toggle-group-segmented-background",
|
|
20955
|
+
"path": "toggle-group.segmented-background",
|
|
20956
|
+
"layer": "component",
|
|
20957
|
+
"type": "color",
|
|
20958
|
+
"value": "#f8fbf9",
|
|
20959
|
+
"references": "{surface.raised}",
|
|
20960
|
+
"description": "Fill of a toggle that is not pressed."
|
|
20961
|
+
},
|
|
20962
|
+
{
|
|
20963
|
+
"name": "--sl-toggle-group-segmented-pressed-background",
|
|
20964
|
+
"path": "toggle-group.segmented-pressed-background",
|
|
20965
|
+
"layer": "component",
|
|
20966
|
+
"type": "color",
|
|
20967
|
+
"value": "#353d38",
|
|
20968
|
+
"references": "{fill.inverse}",
|
|
20969
|
+
"description": "Fill of the pressed toggle: the solid chrome color, dark on light pages and light on dark ones."
|
|
20970
|
+
},
|
|
20971
|
+
{
|
|
20972
|
+
"name": "--sl-toggle-group-segmented-pressed-color",
|
|
20973
|
+
"path": "toggle-group.segmented-pressed-color",
|
|
20974
|
+
"layer": "component",
|
|
20975
|
+
"type": "color",
|
|
20976
|
+
"value": "#f8fbf9",
|
|
20977
|
+
"references": "{text.on-inverse}",
|
|
20978
|
+
"description": "Text on the pressed toggle."
|
|
20979
|
+
},
|
|
20861
20980
|
{
|
|
20862
20981
|
"name": "--sl-toggle-opacity-disabled",
|
|
20863
20982
|
"path": "toggle.opacity-disabled",
|
|
@@ -23466,6 +23585,9 @@
|
|
|
23466
23585
|
"--sl-status-level-error-quiet-fg": "#a70000",
|
|
23467
23586
|
"--sl-status-level-error-quiet-border": "#c70000",
|
|
23468
23587
|
"--sl-status-level-error-quiet-border-hover": "#a70000",
|
|
23588
|
+
"--sl-app-bar-background": "#f3fcff",
|
|
23589
|
+
"--sl-app-bar-border-color": "#6b8d99",
|
|
23590
|
+
"--sl-app-bar-divider-color": "#6b8d99",
|
|
23469
23591
|
"--sl-avatar-initials-font-size-md": "0.875rem",
|
|
23470
23592
|
"--sl-avatar-initials-font-size-lg": "clamp(0.875rem, 0.8167rem + 0.2917vw, 1.05rem)",
|
|
23471
23593
|
"--sl-avatar-initials-font-size-xl": "clamp(1.26rem, 1.176rem + 0.42vw, 1.512rem)",
|
|
@@ -23475,6 +23597,7 @@
|
|
|
23475
23597
|
"--sl-description-list-value-color": "#203d48",
|
|
23476
23598
|
"--sl-description-list-leader-color": "#6b8d99",
|
|
23477
23599
|
"--sl-drawer-handle-color": "#6b8d99",
|
|
23600
|
+
"--sl-picker-button-label-color": "#3c5a66",
|
|
23478
23601
|
"--sl-sheet-background": "#f3fcff",
|
|
23479
23602
|
"--sl-sheet-border-color": "#d1f3ff",
|
|
23480
23603
|
"--sl-sheet-rule-color": "#6b8d99",
|
|
@@ -23489,7 +23612,11 @@
|
|
|
23489
23612
|
"--sl-stat-figure-figure-color-accent": "#70463c",
|
|
23490
23613
|
"--sl-stat-figure-underline-color": "#6b8d99",
|
|
23491
23614
|
"--sl-stat-figure-label-color": "#3c5a66",
|
|
23492
|
-
"--sl-stat-figure-caption-color": "#3c5a66"
|
|
23615
|
+
"--sl-stat-figure-caption-color": "#3c5a66",
|
|
23616
|
+
"--sl-toggle-group-segmented-border-color": "#6b8d99",
|
|
23617
|
+
"--sl-toggle-group-segmented-background": "#f3fcff",
|
|
23618
|
+
"--sl-toggle-group-segmented-pressed-background": "#203d48",
|
|
23619
|
+
"--sl-toggle-group-segmented-pressed-color": "#f3fcff"
|
|
23493
23620
|
}
|
|
23494
23621
|
}
|
|
23495
23622
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scattered-light/loomiere-mojave",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.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.9.0"
|
|
66
66
|
}
|
|
67
67
|
}
|