@chai-ui/tokens 0.3.0 → 0.3.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/dist/css/tokens.css +1 -1
- package/dist/figma/tokens.figma.json +2 -2
- package/dist/js/index.js +2 -2
- package/package.json +1 -1
package/dist/css/tokens.css
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
--chai-motion-easing-growth: cubic-bezier(0.34, 1.2, 0.64, 1);
|
|
119
119
|
--chai-shadow-menu: 0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15);
|
|
120
120
|
--chai-gradient-ai: linear-gradient(90deg, #7b6fd6, #e08d75, #afc9f2, #7b6fd6);
|
|
121
|
-
--chai-gradient-media-fade: linear-gradient(180deg,
|
|
121
|
+
--chai-gradient-media-fade: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 8%, transparent) 30%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 30%, transparent) 60%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 70%, transparent) 85%, var(--chai-color-semantic-media-backdrop) 100%);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/* Material Design 3 roles, driven by Chai tokens (color.material in src/tokens.json). */
|
|
@@ -616,9 +616,9 @@
|
|
|
616
616
|
"description": "The AI shimmer: text revealing after prompt optimization"
|
|
617
617
|
},
|
|
618
618
|
"media-fade": {
|
|
619
|
-
"value": "linear-gradient(180deg,
|
|
619
|
+
"value": "linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 8%, transparent) 30%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 30%, transparent) 60%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 70%, transparent) 85%, var(--chai-color-semantic-media-backdrop) 100%)",
|
|
620
620
|
"type": "other",
|
|
621
|
-
"description": "
|
|
621
|
+
"description": "Fades the bottom of paginated media into the media-backdrop strip, so the model label and page dots read over any image. Built from media-backdrop: change that one token and the fade and the strip change together, with no seam. Eased: light most of the way, full strength only at the strip."
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
624
|
}
|
package/dist/js/index.js
CHANGED
|
@@ -170,7 +170,7 @@ export const tokens = {
|
|
|
170
170
|
},
|
|
171
171
|
"gradient": {
|
|
172
172
|
"ai": "linear-gradient(90deg, #7b6fd6, #e08d75, #afc9f2, #7b6fd6)",
|
|
173
|
-
"media-fade": "linear-gradient(180deg,
|
|
173
|
+
"media-fade": "linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 8%, transparent) 30%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 30%, transparent) 60%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 70%, transparent) 85%, var(--chai-color-semantic-media-backdrop) 100%)"
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
|
|
@@ -313,7 +313,7 @@ export const flatTokens = {
|
|
|
313
313
|
"motion.easing.growth": "cubic-bezier(0.34, 1.2, 0.64, 1)",
|
|
314
314
|
"shadow.menu": "0px 1px 2px 0px rgba(0, 0, 0, 0.3), 0px 2px 6px 2px rgba(0, 0, 0, 0.15)",
|
|
315
315
|
"gradient.ai": "linear-gradient(90deg, #7b6fd6, #e08d75, #afc9f2, #7b6fd6)",
|
|
316
|
-
"gradient.media-fade": "linear-gradient(180deg,
|
|
316
|
+
"gradient.media-fade": "linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 8%, transparent) 30%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 30%, transparent) 60%, color-mix(in srgb, var(--chai-color-semantic-media-backdrop) 70%, transparent) 85%, var(--chai-color-semantic-media-backdrop) 100%)"
|
|
317
317
|
};
|
|
318
318
|
|
|
319
319
|
/** Alias tokens and what they point at, e.g. tokenRefs["color.material.primary"] === "color.semantic.accent" */
|
package/package.json
CHANGED