reshaped 3.6.0-canary.6 → 3.6.0-canary.7
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.
@@ -43,7 +43,7 @@ const generateMetaColors_1 = __importDefault(require("./tokens/color/utilities/g
|
|
43
43
|
const fn_1 = require("culori/require");
|
44
44
|
const transform = (name, definition, options) => {
|
45
45
|
const { isFragment, themeOptions } = options;
|
46
|
-
const generatedUnits =
|
46
|
+
const generatedUnits = (0, generate_1.generateUnits)(definition);
|
47
47
|
const generatedViewports = definition.viewport?.m?.minPx
|
48
48
|
? { s: { maxPx: definition.viewport.m.minPx - 1 } }
|
49
49
|
: {};
|
@@ -5,7 +5,7 @@ import generateMetaColors from "./tokens/color/utilities/generateMetaColors.js";
|
|
5
5
|
import { formatHex8, formatHex } from "culori/fn";
|
6
6
|
const transform = (name, definition, options) => {
|
7
7
|
const { isFragment, themeOptions } = options;
|
8
|
-
const generatedUnits =
|
8
|
+
const generatedUnits = generateUnits(definition);
|
9
9
|
const generatedViewports = definition.viewport?.m?.minPx
|
10
10
|
? { s: { maxPx: definition.viewport.m.minPx - 1 } }
|
11
11
|
: {};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "reshaped",
|
3
3
|
"description": "Professionally crafted design system in React & Figma for building products of any scale and complexity",
|
4
|
-
"version": "3.6.0-canary.
|
4
|
+
"version": "3.6.0-canary.7",
|
5
5
|
"license": "MIT",
|
6
6
|
"email": "hello@reshaped.so",
|
7
7
|
"homepage": "https://reshaped.so",
|