@loomhq/lens 11.18.0 → 11.19.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-variables/index.d.ts +1 -0
- package/dist/index.js +8 -1
- package/dist/variables.d.ts +4 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export declare const radiusVariables: VarsObject;
|
|
|
7
7
|
export declare const shadowVariables: VarsObject;
|
|
8
8
|
export declare const spaceVariables: VarsObject;
|
|
9
9
|
export declare const formFieldVariables: VarsObject;
|
|
10
|
+
export declare const gradientVariables: VarsObject;
|
|
10
11
|
export declare const getSizingVariablesCssVarsObject: () => VarsObject;
|
|
11
12
|
export declare const getVariablesCssVarsObject: () => VarsObject;
|
|
12
13
|
export declare const getColorsCssVarsObject: () => VarsObject;
|
package/dist/index.js
CHANGED
|
@@ -484,6 +484,10 @@ var breakpoints = {
|
|
|
484
484
|
medium: "64em",
|
|
485
485
|
large: "75em"
|
|
486
486
|
};
|
|
487
|
+
var gradients = {
|
|
488
|
+
"ai-primary": "radial-gradient(134.96% 884.49% at 119.29% 112.58%, #DC43BE 0%, #565ADD 70%)",
|
|
489
|
+
"ai-secondary": "radial-gradient(100% 138.41% at 100% 100%, #EFF0FF 0%, #FFFFFF 100%)"
|
|
490
|
+
};
|
|
487
491
|
|
|
488
492
|
// src/components/text/text.tsx
|
|
489
493
|
import React2 from "react";
|
|
@@ -1220,6 +1224,7 @@ var themeColorVariables = getCssVarsFromObject(
|
|
|
1220
1224
|
void 0,
|
|
1221
1225
|
getThemeColorsObject()
|
|
1222
1226
|
);
|
|
1227
|
+
var gradientVariables = getCssVarsFromObject("gradient", gradients);
|
|
1223
1228
|
var sizingVariables = [
|
|
1224
1229
|
unitVariables,
|
|
1225
1230
|
textSizeVariables,
|
|
@@ -1235,7 +1240,7 @@ var getVariablesCssVarsObject = () => {
|
|
|
1235
1240
|
return Object.assign({}, fontWeightVariables, ...sizingVariables);
|
|
1236
1241
|
};
|
|
1237
1242
|
var getColorsCssVarsObject = () => {
|
|
1238
|
-
return __spreadValues(__spreadValues({}, colorVariables), themeColorVariables);
|
|
1243
|
+
return __spreadValues(__spreadValues(__spreadValues({}, colorVariables), themeColorVariables), gradientVariables);
|
|
1239
1244
|
};
|
|
1240
1245
|
var assignLightThemeColors = () => {
|
|
1241
1246
|
return Object.keys(themeColors.light).map(
|
|
@@ -7550,6 +7555,8 @@ export {
|
|
|
7550
7555
|
getThemeStyles,
|
|
7551
7556
|
getThemeStylesString,
|
|
7552
7557
|
getVariablesCssVarsObject,
|
|
7558
|
+
gradientVariables,
|
|
7559
|
+
gradients,
|
|
7553
7560
|
growRules,
|
|
7554
7561
|
heightRules,
|
|
7555
7562
|
hslaBaseColors,
|
package/dist/variables.d.ts
CHANGED