@blocklet/theme 2.13.39 → 2.13.41
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/cjs/index.js +25 -2
- package/dist/es/index.js +25 -2
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -388,6 +388,29 @@ var BLOCKLET_THEME_LIGHT = {
|
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
|
+
MuiTextField: {
|
|
392
|
+
styleOverrides: {
|
|
393
|
+
// 调整输入框 normal 状态和 hover 状态的边框颜色,不影响 error、focus、disabled 状态
|
|
394
|
+
root: ({ theme }) => ({
|
|
395
|
+
"& .MuiOutlinedInput-root": {
|
|
396
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
397
|
+
borderColor: theme.palette.grey[300]
|
|
398
|
+
},
|
|
399
|
+
"&:hover:not(.Mui-focused):not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
|
|
400
|
+
borderColor: theme.palette.grey[400]
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"& .MuiInput-root": {
|
|
404
|
+
"&:before": {
|
|
405
|
+
borderColor: theme.palette.grey[300]
|
|
406
|
+
},
|
|
407
|
+
"&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": {
|
|
408
|
+
borderColor: theme.palette.grey[400]
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
})
|
|
412
|
+
}
|
|
413
|
+
},
|
|
391
414
|
MuiButtonGroup: {
|
|
392
415
|
styleOverrides: {
|
|
393
416
|
root: {
|
|
@@ -532,12 +555,12 @@ var paletteDark = {
|
|
|
532
555
|
},
|
|
533
556
|
text: {
|
|
534
557
|
primary: "#ffffff",
|
|
535
|
-
secondary: "#
|
|
558
|
+
secondary: "#A1a1aa",
|
|
536
559
|
disabled: "#52525c",
|
|
537
560
|
hint: "#71717b",
|
|
538
561
|
contrast: "#18181b"
|
|
539
562
|
},
|
|
540
|
-
divider: "#
|
|
563
|
+
divider: "#27272A",
|
|
541
564
|
background: {
|
|
542
565
|
default: "#121212",
|
|
543
566
|
paper: "#18181b"
|
package/dist/es/index.js
CHANGED
|
@@ -371,6 +371,29 @@ var BLOCKLET_THEME_LIGHT = {
|
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
|
+
MuiTextField: {
|
|
375
|
+
styleOverrides: {
|
|
376
|
+
// 调整输入框 normal 状态和 hover 状态的边框颜色,不影响 error、focus、disabled 状态
|
|
377
|
+
root: ({ theme }) => ({
|
|
378
|
+
"& .MuiOutlinedInput-root": {
|
|
379
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
380
|
+
borderColor: theme.palette.grey[300]
|
|
381
|
+
},
|
|
382
|
+
"&:hover:not(.Mui-focused):not(.Mui-error) .MuiOutlinedInput-notchedOutline": {
|
|
383
|
+
borderColor: theme.palette.grey[400]
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"& .MuiInput-root": {
|
|
387
|
+
"&:before": {
|
|
388
|
+
borderColor: theme.palette.grey[300]
|
|
389
|
+
},
|
|
390
|
+
"&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": {
|
|
391
|
+
borderColor: theme.palette.grey[400]
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
})
|
|
395
|
+
}
|
|
396
|
+
},
|
|
374
397
|
MuiButtonGroup: {
|
|
375
398
|
styleOverrides: {
|
|
376
399
|
root: {
|
|
@@ -515,12 +538,12 @@ var paletteDark = {
|
|
|
515
538
|
},
|
|
516
539
|
text: {
|
|
517
540
|
primary: "#ffffff",
|
|
518
|
-
secondary: "#
|
|
541
|
+
secondary: "#A1a1aa",
|
|
519
542
|
disabled: "#52525c",
|
|
520
543
|
hint: "#71717b",
|
|
521
544
|
contrast: "#18181b"
|
|
522
545
|
},
|
|
523
|
-
divider: "#
|
|
546
|
+
divider: "#27272A",
|
|
524
547
|
background: {
|
|
525
548
|
default: "#121212",
|
|
526
549
|
paper: "#18181b"
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.13.
|
|
6
|
+
"version": "2.13.41",
|
|
7
7
|
"description": "A preset MUI-based theme configuration designed for use with Blocklet.",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"module": "dist/es/index.js",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"ts-jest": "^29.1.2",
|
|
55
55
|
"typescript": "~5.5.4"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "333c9629e6d8ec6a25b85baf28ccf1899c135279"
|
|
58
58
|
}
|