@crewlethq/tokens 0.33.0 → 0.34.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/css/tokens.css +24 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +28 -0
- package/package.json +1 -1
package/dist/css/tokens.css
CHANGED
|
@@ -235,6 +235,30 @@
|
|
|
235
235
|
--z-index-modal: 9999; /** Dialog backdrop and frame. High enough to clear any page chrome an application stacks with its own numbers. */
|
|
236
236
|
--z-index-popover: 10000; /** Floating panels portaled to the body (Select menus, Popover, date pickers). Above modal because they are routinely opened from inside a dialog, and a panel under the backdrop is hidden and swallows clicks. */
|
|
237
237
|
--z-index-toast: 10001; /** Top of the stack. A toast reports the outcome of what somebody just did, often in a dialog or from a menu opened inside one, so it sits above both. */
|
|
238
|
+
--color-artifact-kind-doc: var(--color-node-blue); /** The hue an artifact kind is drawn in wherever its kind is pictured: the illustration on a Make something new tile and the ground a gallery card shows before its live preview arrives. Each kind is an ALIAS of one node hue (doc blue, slides amber, design purple, dashboard cyan, HTML rose, sheet green), so every theme repaints it with no value of its own, and the Ink, Fill and Line steps follow the node hue's own derived steps. A kind's hue is identity and never state: the kind's name is always drawn beside it. */
|
|
239
|
+
--color-artifact-kind-doc-ink: var(--color-node-blue-ink);
|
|
240
|
+
--color-artifact-kind-doc-fill: var(--color-node-blue-fill);
|
|
241
|
+
--color-artifact-kind-doc-line: var(--color-node-blue-line);
|
|
242
|
+
--color-artifact-kind-slides: var(--color-node-amber);
|
|
243
|
+
--color-artifact-kind-slides-ink: var(--color-node-amber-ink);
|
|
244
|
+
--color-artifact-kind-slides-fill: var(--color-node-amber-fill);
|
|
245
|
+
--color-artifact-kind-slides-line: var(--color-node-amber-line);
|
|
246
|
+
--color-artifact-kind-design: var(--color-node-purple);
|
|
247
|
+
--color-artifact-kind-design-ink: var(--color-node-purple-ink);
|
|
248
|
+
--color-artifact-kind-design-fill: var(--color-node-purple-fill);
|
|
249
|
+
--color-artifact-kind-design-line: var(--color-node-purple-line);
|
|
250
|
+
--color-artifact-kind-dashboard: var(--color-node-cyan);
|
|
251
|
+
--color-artifact-kind-dashboard-ink: var(--color-node-cyan-ink);
|
|
252
|
+
--color-artifact-kind-dashboard-fill: var(--color-node-cyan-fill);
|
|
253
|
+
--color-artifact-kind-dashboard-line: var(--color-node-cyan-line);
|
|
254
|
+
--color-artifact-kind-html: var(--color-node-rose);
|
|
255
|
+
--color-artifact-kind-html-ink: var(--color-node-rose-ink);
|
|
256
|
+
--color-artifact-kind-html-fill: var(--color-node-rose-fill);
|
|
257
|
+
--color-artifact-kind-html-line: var(--color-node-rose-line);
|
|
258
|
+
--color-artifact-kind-sheet: var(--color-node-green);
|
|
259
|
+
--color-artifact-kind-sheet-ink: var(--color-node-green-ink);
|
|
260
|
+
--color-artifact-kind-sheet-fill: var(--color-node-green-fill);
|
|
261
|
+
--color-artifact-kind-sheet-line: var(--color-node-green-line);
|
|
238
262
|
--color-change-mark: var(--color-brand-accent-soft-strong); /** The corner mark on a cell or an element that changed since the reader last looked. An alias of the accent's strong soft step, so the meaning has a name of its own and follows the accent in every palette; the mark is always paired with a tooltip that says who changed it and what it was. */
|
|
239
263
|
--radius-chip: calc(var(--radius-md) - 1px); /** The corner of a chip lifted INSIDE a well at --radius-md: one hairline tighter than the well around it, which is what reads as sitting in it. It sits between sm and md and is derived rather than written as 7px, so it follows --radius-md if that step ever moves. */
|
|
240
264
|
--shadow-cursor: var(--shadow-sm); /** The lift under a collaborator's live cursor and its name flag, so a pointer drawn over content reads as above it. An alias of the small step, so it repaints with the palette. */
|
package/dist/index.d.ts
CHANGED
|
@@ -139,6 +139,34 @@ export declare const color: {
|
|
|
139
139
|
readonly presence: {
|
|
140
140
|
readonly flagText: "#07080d";
|
|
141
141
|
};
|
|
142
|
+
readonly artifact: {
|
|
143
|
+
readonly kind: {
|
|
144
|
+
readonly doc: "#5b7fc7";
|
|
145
|
+
readonly docInk: "#b9c5e0";
|
|
146
|
+
readonly docFill: "rgba(91, 127, 199, 0.12)";
|
|
147
|
+
readonly docLine: "rgba(91, 127, 199, 0.38)";
|
|
148
|
+
readonly slides: "#c89866";
|
|
149
|
+
readonly slidesInk: "#e0c89e";
|
|
150
|
+
readonly slidesFill: "rgba(200, 152, 102, 0.12)";
|
|
151
|
+
readonly slidesLine: "rgba(200, 152, 102, 0.38)";
|
|
152
|
+
readonly design: "#8e6ed4";
|
|
153
|
+
readonly designInk: "#cabae0";
|
|
154
|
+
readonly designFill: "rgba(142, 110, 212, 0.12)";
|
|
155
|
+
readonly designLine: "rgba(142, 110, 212, 0.38)";
|
|
156
|
+
readonly dashboard: "#5ca8be";
|
|
157
|
+
readonly dashboardInk: "#b3d7e0";
|
|
158
|
+
readonly dashboardFill: "rgba(92, 168, 190, 0.12)";
|
|
159
|
+
readonly dashboardLine: "rgba(92, 168, 190, 0.38)";
|
|
160
|
+
readonly html: "#c8757f";
|
|
161
|
+
readonly htmlInk: "#e0bfc4";
|
|
162
|
+
readonly htmlFill: "rgba(200, 117, 127, 0.12)";
|
|
163
|
+
readonly htmlLine: "rgba(200, 117, 127, 0.38)";
|
|
164
|
+
readonly sheet: "#62a578";
|
|
165
|
+
readonly sheetInk: "#b8d8c0";
|
|
166
|
+
readonly sheetFill: "rgba(98, 165, 120, 0.12)";
|
|
167
|
+
readonly sheetLine: "rgba(98, 165, 120, 0.38)";
|
|
168
|
+
};
|
|
169
|
+
};
|
|
142
170
|
readonly changeMark: "rgba(124, 86, 255, 0.32)";
|
|
143
171
|
readonly scrollbar: "rgba(255, 255, 255, 0.16)";
|
|
144
172
|
readonly scrollbarHover: "rgba(255, 255, 255, 0.26)";
|
package/dist/index.js
CHANGED
|
@@ -140,6 +140,34 @@ export const color = {
|
|
|
140
140
|
"presence": {
|
|
141
141
|
"flagText": "#07080d"
|
|
142
142
|
},
|
|
143
|
+
"artifact": {
|
|
144
|
+
"kind": {
|
|
145
|
+
"doc": "#5b7fc7",
|
|
146
|
+
"docInk": "#b9c5e0",
|
|
147
|
+
"docFill": "rgba(91, 127, 199, 0.12)",
|
|
148
|
+
"docLine": "rgba(91, 127, 199, 0.38)",
|
|
149
|
+
"slides": "#c89866",
|
|
150
|
+
"slidesInk": "#e0c89e",
|
|
151
|
+
"slidesFill": "rgba(200, 152, 102, 0.12)",
|
|
152
|
+
"slidesLine": "rgba(200, 152, 102, 0.38)",
|
|
153
|
+
"design": "#8e6ed4",
|
|
154
|
+
"designInk": "#cabae0",
|
|
155
|
+
"designFill": "rgba(142, 110, 212, 0.12)",
|
|
156
|
+
"designLine": "rgba(142, 110, 212, 0.38)",
|
|
157
|
+
"dashboard": "#5ca8be",
|
|
158
|
+
"dashboardInk": "#b3d7e0",
|
|
159
|
+
"dashboardFill": "rgba(92, 168, 190, 0.12)",
|
|
160
|
+
"dashboardLine": "rgba(92, 168, 190, 0.38)",
|
|
161
|
+
"html": "#c8757f",
|
|
162
|
+
"htmlInk": "#e0bfc4",
|
|
163
|
+
"htmlFill": "rgba(200, 117, 127, 0.12)",
|
|
164
|
+
"htmlLine": "rgba(200, 117, 127, 0.38)",
|
|
165
|
+
"sheet": "#62a578",
|
|
166
|
+
"sheetInk": "#b8d8c0",
|
|
167
|
+
"sheetFill": "rgba(98, 165, 120, 0.12)",
|
|
168
|
+
"sheetLine": "rgba(98, 165, 120, 0.38)"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
143
171
|
"changeMark": "rgba(124, 86, 255, 0.32)",
|
|
144
172
|
"scrollbar": "rgba(255, 255, 255, 0.16)",
|
|
145
173
|
"scrollbarHover": "rgba(255, 255, 255, 0.26)",
|