@scattered-light/loomiere-mojave 0.4.1 → 0.5.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.
- package/brand/mojave.json +56 -0
- package/dist/exports/AGENTS.md +2 -0
- package/dist/exports/design-system/README.md +2 -0
- package/dist/exports/design-system/components/bundle.css +1718 -42
- package/dist/exports/design-system/components/bundle.js +1 -1
- package/dist/exports/figma.json +1 -1
- package/dist/tokens.css +1676 -0
- package/dist/tokens.json +2572 -0
- package/package.json +2 -2
package/brand/mojave.json
CHANGED
|
@@ -90,6 +90,62 @@
|
|
|
90
90
|
|
|
91
91
|
"motion": { "speed": 1, "durations": { "fast": 100, "normal": 200, "slow": 300 } },
|
|
92
92
|
|
|
93
|
+
|
|
94
|
+
"looks": {
|
|
95
|
+
"classic": {
|
|
96
|
+
"label": "Classic",
|
|
97
|
+
"description": "The look before the rebrand: slate teal chrome, a coral accent, Roboto and tight 3px corners.",
|
|
98
|
+
"color": {
|
|
99
|
+
"palettes": {
|
|
100
|
+
"neutral": {
|
|
101
|
+
"label": "harbor",
|
|
102
|
+
"contrast": "neutral",
|
|
103
|
+
"keys": ["#d1f3ff", "#a9d5e5", "#6b8d99", "#203d48"],
|
|
104
|
+
"exact": true,
|
|
105
|
+
"tone": { "color": "#6b8d99", "intensity": [0.3, 0.9] }
|
|
106
|
+
},
|
|
107
|
+
"primary": { "label": "coral", "keys": ["#fedfd7", "#e5927d", "#c37c6a"], "exact": true, "darkest": "#2b1a16" },
|
|
108
|
+
"secondary": { "label": "tide", "keys": ["#a9d5e5", "#336b7f"] },
|
|
109
|
+
"tertiary": { "label": "sand", "keys": ["#fff7d8", "#ead8a7"] },
|
|
110
|
+
"quaternary": { "label": "mint", "keys": ["#e0fcf0", "#8be0af", "#5ba37a"] },
|
|
111
|
+
"success": { "keys": ["#5ba37a"] },
|
|
112
|
+
"warning": { "keys": ["#e1b129"] },
|
|
113
|
+
"error": { "keys": ["#e50000"] },
|
|
114
|
+
"info": { "keys": ["#186ae1"] }
|
|
115
|
+
},
|
|
116
|
+
"data": [
|
|
117
|
+
["blue", "#346ea3"], ["orange", "#f6844e"], ["green", "#5ba37a"], ["gold", "#f1c54b"], ["slate", "#688d99"],
|
|
118
|
+
["red", "#f24646"], ["taupe", "#867775"], ["rose", "#e15a6a"], ["magenta", "#bb529e"], ["brown", "#b97350"],
|
|
119
|
+
["sky", "#70ace4"], ["peach", "#feb794"], ["mint", "#8be0af"], ["sand", "#e8d5a1"], ["ice", "#a9d5e5"],
|
|
120
|
+
["salmon", "#ff9797"], ["stone", "#bab5b4"], ["pink", "#ffb9c6"], ["orchid", "#f3a1dd"], ["tan", "#f0c5af"]
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"type": {
|
|
124
|
+
"families": {
|
|
125
|
+
"display": ["Roboto", "sans-serif"],
|
|
126
|
+
"body": ["Roboto", "sans-serif"]
|
|
127
|
+
},
|
|
128
|
+
"metrics": {
|
|
129
|
+
"display": { "ascent": 0.928, "descent": 0.244, "capHeight": 0.711, "xHeight": 0.528 },
|
|
130
|
+
"body": { "ascent": 0.928, "descent": 0.244, "capHeight": 0.711, "xHeight": 0.528 }
|
|
131
|
+
},
|
|
132
|
+
"base": { "min": 14, "max": 14 }
|
|
133
|
+
},
|
|
134
|
+
"radius": { "base": 3 },
|
|
135
|
+
"tokens": { "button.radius": "{radius.control}" },
|
|
136
|
+
"roles": {
|
|
137
|
+
"concepts": {
|
|
138
|
+
"chrome.fg": { "light": "neutral.1100" },
|
|
139
|
+
"accent.solid": { "light": "primary.500" },
|
|
140
|
+
"accent.solid-hover": { "light": "primary.600" },
|
|
141
|
+
"accent.solid-active": { "light": "primary.700" },
|
|
142
|
+
"accent.on-solid": { "light": "white" },
|
|
143
|
+
"accent.soft-active": { "light": "primary.100" }
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
|
|
93
149
|
"roles": {
|
|
94
150
|
"chrome": "neutral",
|
|
95
151
|
"accent": "primary",
|
package/dist/exports/AGENTS.md
CHANGED
|
@@ -148,6 +148,8 @@ Keyboard focus is one ring, `--sl-focus-outline` with `--sl-focus-outline-offset
|
|
|
148
148
|
|
|
149
149
|
Themes: `data-theme="light|dark|light-high-contrast|dark-high-contrast"` on the root, or the system setting (including `prefers-contrast: more`) when none is set. Color vision themes are themes of their own, each a light theme designed from this brand: `data-theme="deuteranopia|protanopia|tritanopia|achromatopsia"`. Never hand-pick dark colors; the tokens already flip.
|
|
150
150
|
|
|
151
|
+
Looks: this brand can look 2 ways. With no `data-look` it is Mojave; `data-look="classic"` on the root is Classic (The look before the rebrand: slate teal chrome, a coral accent, Roboto and tight 3px corners). A look changes token values, never names, so design with the tokens and every look follows. The values listed here are Mojave's; `bundle.css` holds every look.
|
|
152
|
+
|
|
151
153
|
### Components
|
|
152
154
|
|
|
153
155
|
The components are [Base UI](https://base-ui.com) parts styled by class name: `Accordion`, `AlertDialog`, `Autocomplete`, `Avatar`, `Button`, `Checkbox`, `CheckboxGroup`, `Collapsible`, `Combobox`, `ContextMenu`, `Dialog`, `Drawer`, `Field`, `Fieldset`, `Form`, `Input`, `Menu`, `Menubar`, `Meter`, `NavigationMenu`, `NumberField`, `OTPField`, `Popover`, `PreviewCard`, `Progress`, `Radio`, `ScrollArea`, `Select`, `Separator`, `Slider`, `Switch`, `Table`, `Tabs`, `Toast`, `Toggle`, `ToggleGroup`, `Toolbar`, `Tooltip`. Each component's README lists the classes its parts take and the data attributes they answer to (`data-size="sm|lg"`, `data-emphasis`, `data-color`).
|
|
@@ -140,6 +140,8 @@ Keyboard focus is one ring, `--sl-focus-outline` with `--sl-focus-outline-offset
|
|
|
140
140
|
|
|
141
141
|
Themes: `data-theme="light|dark|light-high-contrast|dark-high-contrast"` on the root, or the system setting (including `prefers-contrast: more`) when none is set. Color vision themes are themes of their own, each a light theme designed from this brand: `data-theme="deuteranopia|protanopia|tritanopia|achromatopsia"`. Never hand-pick dark colors; the tokens already flip.
|
|
142
142
|
|
|
143
|
+
Looks: this brand can look 2 ways. With no `data-look` it is Mojave; `data-look="classic"` on the root is Classic (The look before the rebrand: slate teal chrome, a coral accent, Roboto and tight 3px corners). A look changes token values, never names, so design with the tokens and every look follows. The values listed here are Mojave's; `bundle.css` holds every look.
|
|
144
|
+
|
|
143
145
|
## Components
|
|
144
146
|
|
|
145
147
|
The components are [Base UI](https://base-ui.com) parts styled by class name: `Accordion`, `AlertDialog`, `Autocomplete`, `Avatar`, `Button`, `Checkbox`, `CheckboxGroup`, `Collapsible`, `Combobox`, `ContextMenu`, `Dialog`, `Drawer`, `Field`, `Fieldset`, `Form`, `Input`, `Menu`, `Menubar`, `Meter`, `NavigationMenu`, `NumberField`, `OTPField`, `Popover`, `PreviewCard`, `Progress`, `Radio`, `ScrollArea`, `Select`, `Separator`, `Slider`, `Switch`, `Table`, `Tabs`, `Toast`, `Toggle`, `ToggleGroup`, `Toolbar`, `Tooltip`. Each component's README lists the classes its parts take and the data attributes they answer to (`data-size="sm|lg"`, `data-emphasis`, `data-color`).
|