@tuya-sat/micro-dev-loader 2.2.10 → 2.2.13
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.
|
@@ -1291,14 +1291,15 @@ html {
|
|
|
1291
1291
|
|
|
1292
1292
|
// Tag
|
|
1293
1293
|
// ---
|
|
1294
|
-
|
|
1295
|
-
@info-color-deprecated-
|
|
1296
|
-
@
|
|
1297
|
-
@success-color-deprecated-
|
|
1298
|
-
@
|
|
1299
|
-
@warning-color-deprecated-
|
|
1300
|
-
@
|
|
1301
|
-
@error-color-deprecated-
|
|
1294
|
+
// --- 注释,使用css变量
|
|
1295
|
+
// @info-color-deprecated-bg: @primary-1;
|
|
1296
|
+
// @info-color-deprecated-border: @primary-3;
|
|
1297
|
+
// @success-color-deprecated-bg: @green-1;
|
|
1298
|
+
// @success-color-deprecated-border: @green-3;
|
|
1299
|
+
// @warning-color-deprecated-bg: @orange-1;
|
|
1300
|
+
// @warning-color-deprecated-border: @orange-3;
|
|
1301
|
+
// @error-color-deprecated-bg: @red-1;
|
|
1302
|
+
// @error-color-deprecated-border: @red-3;
|
|
1302
1303
|
|
|
1303
1304
|
// TimePicker
|
|
1304
1305
|
// ---
|
|
@@ -1395,18 +1396,19 @@ html {
|
|
|
1395
1396
|
|
|
1396
1397
|
// Alert
|
|
1397
1398
|
// ---
|
|
1398
|
-
|
|
1399
|
-
@alert-success-
|
|
1400
|
-
@alert-success-
|
|
1401
|
-
@alert-
|
|
1402
|
-
@alert-info-
|
|
1403
|
-
@alert-info-
|
|
1404
|
-
@alert-
|
|
1405
|
-
@alert-warning-
|
|
1406
|
-
@alert-warning-
|
|
1407
|
-
@alert-
|
|
1408
|
-
@alert-error-
|
|
1409
|
-
@alert-error-
|
|
1399
|
+
// --- 注释,使用css变量
|
|
1400
|
+
// @alert-success-border-color: @green-3;
|
|
1401
|
+
// @alert-success-bg-color: @green-1;
|
|
1402
|
+
// @alert-success-icon-color: @success-color;
|
|
1403
|
+
// @alert-info-border-color: @primary-3;
|
|
1404
|
+
// @alert-info-bg-color: @primary-1;
|
|
1405
|
+
// @alert-info-icon-color: @info-color;
|
|
1406
|
+
// @alert-warning-border-color: @gold-3;
|
|
1407
|
+
// @alert-warning-bg-color: @gold-1;
|
|
1408
|
+
// @alert-warning-icon-color: @warning-color;
|
|
1409
|
+
// @alert-error-border-color: @red-3;
|
|
1410
|
+
// @alert-error-bg-color: @red-1;
|
|
1411
|
+
// @alert-error-icon-color: @error-color;
|
|
1410
1412
|
|
|
1411
1413
|
// Timeline
|
|
1412
1414
|
// ---
|
|
@@ -111,7 +111,7 @@ function createHandleImportPlugin() {
|
|
|
111
111
|
class HandleImport extends less.FileManager {
|
|
112
112
|
constructor() {
|
|
113
113
|
super(...arguments);
|
|
114
|
-
this.interceptReg = /\/style\/themes\/variable(\.less)*$/;
|
|
114
|
+
this.interceptReg = /\/style\/themes\/(variable|default)(\.less)*$/;
|
|
115
115
|
}
|
|
116
116
|
loadFile(filename, currentDirectory, options, environment) {
|
|
117
117
|
const _super = Object.create(null, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuya-sat/micro-dev-loader",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.13",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@babel/generator": "7.17.7",
|
|
15
15
|
"@babel/plugin-syntax-typescript": "7.16.7",
|
|
16
16
|
"@babel/template": "7.16.7",
|
|
17
|
-
"@tuya-sat/micro-utils": "2.2.
|
|
17
|
+
"@tuya-sat/micro-utils": "2.2.13",
|
|
18
18
|
"cheerio": "1.0.0-rc.10",
|
|
19
19
|
"ejs": "3.1.6",
|
|
20
20
|
"fs-extra": "10.0.1",
|