gant-core 0.1.50 → 0.1.52
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/lib/cli/index.js +1 -1
- package/lib/index.js +81 -36
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/cli/index.js
CHANGED
|
@@ -66836,7 +66836,7 @@ const createCwdConfig = (cwd, name, vue) => {
|
|
|
66836
66836
|
};
|
|
66837
66837
|
|
|
66838
66838
|
var name = "gant-core";
|
|
66839
|
-
var version = "0.1.
|
|
66839
|
+
var version = "0.1.52";
|
|
66840
66840
|
var description = "";
|
|
66841
66841
|
var main = "lib/index.js";
|
|
66842
66842
|
var bin = {
|
package/lib/index.js
CHANGED
|
@@ -5771,10 +5771,10 @@ const generateNeutralColorPalettes$1 = (bgBaseColor, textBaseColor) => {
|
|
|
5771
5771
|
return {
|
|
5772
5772
|
colorBgBase,
|
|
5773
5773
|
colorTextBase,
|
|
5774
|
-
colorText: getAlphaColor
|
|
5775
|
-
colorTextSecondary: getAlphaColor
|
|
5776
|
-
colorTextTertiary: getAlphaColor
|
|
5777
|
-
colorTextQuaternary: getAlphaColor
|
|
5774
|
+
// colorText: getAlphaColor(colorTextBase, 0.88),
|
|
5775
|
+
// colorTextSecondary: getAlphaColor(colorTextBase, 0.65),
|
|
5776
|
+
// colorTextTertiary: getAlphaColor(colorTextBase, 0.45),
|
|
5777
|
+
// colorTextQuaternary: getAlphaColor(colorTextBase, 0.25),
|
|
5778
5778
|
colorFill: getAlphaColor$1(colorTextBase, 0.15),
|
|
5779
5779
|
colorFillSecondary: getAlphaColor$1(colorTextBase, 0.06),
|
|
5780
5780
|
colorFillTertiary: getAlphaColor$1(colorTextBase, 0.04),
|
|
@@ -5785,6 +5785,10 @@ const generateNeutralColorPalettes$1 = (bgBaseColor, textBaseColor) => {
|
|
|
5785
5785
|
colorBgSpotlight: getAlphaColor$1(colorTextBase, 0.85),
|
|
5786
5786
|
colorBorder: getDarkenSolidColor(colorBgBase, 15),
|
|
5787
5787
|
colorBorderSecondary: getDarkenSolidColor(colorBgBase, 6),
|
|
5788
|
+
colorText: '#333',
|
|
5789
|
+
colorTextSecondary: '#666',
|
|
5790
|
+
colorTextTertiary: '#999',
|
|
5791
|
+
colorTextQuaternary: '#999',
|
|
5788
5792
|
};
|
|
5789
5793
|
};
|
|
5790
5794
|
|
|
@@ -5900,8 +5904,8 @@ const generateNeutralColorPalettes = (bgBaseColor, textBaseColor) => {
|
|
|
5900
5904
|
colorTextBase,
|
|
5901
5905
|
colorText: getAlphaColor$1(colorTextBase, 0.85),
|
|
5902
5906
|
colorTextSecondary: getAlphaColor$1(colorTextBase, 0.65),
|
|
5903
|
-
colorTextTertiary: getAlphaColor$1(colorTextBase, 0.
|
|
5904
|
-
colorTextQuaternary: getAlphaColor$1(colorTextBase, 0.
|
|
5907
|
+
colorTextTertiary: getAlphaColor$1(colorTextBase, 0.35),
|
|
5908
|
+
colorTextQuaternary: getAlphaColor$1(colorTextBase, 0.35),
|
|
5905
5909
|
colorFill: getAlphaColor$1(colorTextBase, 0.18),
|
|
5906
5910
|
colorFillSecondary: getAlphaColor$1(colorTextBase, 0.12),
|
|
5907
5911
|
colorFillTertiary: getAlphaColor$1(colorTextBase, 0.08),
|
|
@@ -6126,7 +6130,7 @@ function formatToken(derivativeToken) {
|
|
|
6126
6130
|
borderRadiusXS: mergedToken.borderRadiusXS,
|
|
6127
6131
|
borderRadiusSM: mergedToken.borderRadiusSM,
|
|
6128
6132
|
borderRadiusLG: mergedToken.borderRadiusLG,
|
|
6129
|
-
fontWeightStrong:
|
|
6133
|
+
fontWeightStrong: 700,
|
|
6130
6134
|
opacityLoading: 0.65,
|
|
6131
6135
|
linkDecoration: 'none',
|
|
6132
6136
|
linkHoverDecoration: 'none',
|
|
@@ -6155,18 +6159,18 @@ function formatToken(derivativeToken) {
|
|
|
6155
6159
|
marginXL: mergedToken.sizeXL,
|
|
6156
6160
|
marginXXL: mergedToken.sizeXXL,
|
|
6157
6161
|
boxShadow: `
|
|
6158
|
-
0
|
|
6159
|
-
0
|
|
6160
|
-
0
|
|
6162
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.04),
|
|
6163
|
+
0 1px 8px -1px rgba(0, 0, 0, 0.03),
|
|
6164
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
6161
6165
|
`,
|
|
6162
6166
|
boxShadowSecondary: `
|
|
6163
|
-
0
|
|
6164
|
-
0
|
|
6165
|
-
0
|
|
6167
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.04),
|
|
6168
|
+
0 1px 8px -1px rgba(0, 0, 0, 0.03),
|
|
6169
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
6166
6170
|
`,
|
|
6167
6171
|
boxShadowTertiary: `
|
|
6168
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.
|
|
6169
|
-
0 1px
|
|
6172
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.04),
|
|
6173
|
+
0 1px 8px -1px rgba(0, 0, 0, 0.03),
|
|
6170
6174
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
6171
6175
|
`,
|
|
6172
6176
|
screenXS,
|
|
@@ -6187,35 +6191,76 @@ function formatToken(derivativeToken) {
|
|
|
6187
6191
|
screenXXL,
|
|
6188
6192
|
screenXXLMin: screenXXL,
|
|
6189
6193
|
boxShadowPopoverArrow: '2px 2px 5px rgba(0, 0, 0, 0.05)',
|
|
6190
|
-
boxShadowCard: `
|
|
6191
|
-
0 1px 2px -2px ${new TinyColor('rgba(0, 0, 0, 0.16)').toRgbString()},
|
|
6192
|
-
0 3px 6px 0 ${new TinyColor('rgba(0, 0, 0, 0.12)').toRgbString()},
|
|
6193
|
-
0 5px 12px 4px ${new TinyColor('rgba(0, 0, 0, 0.09)').toRgbString()}
|
|
6194
|
-
`,
|
|
6194
|
+
boxShadowCard: `0px 0px 10px 0px rgba(0, 0, 0, 0.1)`,
|
|
6195
6195
|
boxShadowDrawerRight: `
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6196
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.04),
|
|
6197
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.03),
|
|
6198
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.02)
|
|
6199
6199
|
`,
|
|
6200
6200
|
boxShadowDrawerLeft: `
|
|
6201
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.
|
|
6202
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.
|
|
6203
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.
|
|
6201
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.04),
|
|
6202
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.03),
|
|
6203
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.02)
|
|
6204
6204
|
`,
|
|
6205
6205
|
boxShadowDrawerUp: `
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6206
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.04),
|
|
6207
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.03),
|
|
6208
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.02)
|
|
6209
6209
|
`,
|
|
6210
6210
|
boxShadowDrawerDown: `
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6211
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.04),
|
|
6212
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.03),
|
|
6213
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.02)
|
|
6214
|
+
`,
|
|
6215
|
+
boxShadowTabsOverflowLeft: `
|
|
6216
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.04),
|
|
6217
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.03),
|
|
6218
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.02)
|
|
6219
|
+
`,
|
|
6220
|
+
boxShadowTabsOverflowRight: `
|
|
6221
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.04),
|
|
6222
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.03),
|
|
6223
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.02)
|
|
6224
|
+
`,
|
|
6225
|
+
boxShadowTabsOverflowTop: `
|
|
6226
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.04),
|
|
6227
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.03),
|
|
6228
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.02)
|
|
6229
|
+
`,
|
|
6230
|
+
boxShadowTabsOverflowBottom: `
|
|
6231
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.04),
|
|
6232
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.03),
|
|
6233
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.02)
|
|
6214
6234
|
`,
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6235
|
+
// boxShadowCard: `
|
|
6236
|
+
// 0 1px 2px -2px ${new TinyColor('rgba(0, 0, 0, 0.16)').toRgbString()},
|
|
6237
|
+
// 0 3px 6px 0 ${new TinyColor('rgba(0, 0, 0, 0.12)').toRgbString()},
|
|
6238
|
+
// 0 5px 12px 4px ${new TinyColor('rgba(0, 0, 0, 0.09)').toRgbString()}
|
|
6239
|
+
// `,
|
|
6240
|
+
// boxShadowDrawerRight: `
|
|
6241
|
+
// -6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
6242
|
+
// -3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
6243
|
+
// -9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
6244
|
+
// `,
|
|
6245
|
+
// boxShadowDrawerLeft: `
|
|
6246
|
+
// 6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
6247
|
+
// 3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
6248
|
+
// 9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
6249
|
+
// `,
|
|
6250
|
+
// boxShadowDrawerUp: `
|
|
6251
|
+
// 0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
6252
|
+
// 0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6253
|
+
// 0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
6254
|
+
// `,
|
|
6255
|
+
// boxShadowDrawerDown: `
|
|
6256
|
+
// 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
6257
|
+
// 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6258
|
+
// 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
6259
|
+
// `,
|
|
6260
|
+
// boxShadowTabsOverflowLeft: 'inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)',
|
|
6261
|
+
// boxShadowTabsOverflowRight: 'inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)',
|
|
6262
|
+
// boxShadowTabsOverflowTop: 'inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)',
|
|
6263
|
+
// boxShadowTabsOverflowBottom: 'inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)',
|
|
6219
6264
|
// Override AliasToken
|
|
6220
6265
|
...overrideTokens,
|
|
6221
6266
|
};
|