@blocklet/theme 2.13.36 → 2.13.38
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 +20 -8
- package/dist/es/index.js +20 -8
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -449,6 +449,26 @@ var BLOCKLET_THEME_LIGHT = {
|
|
|
449
449
|
backgroundImage: "none"
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
+
},
|
|
453
|
+
MuiAlert: {
|
|
454
|
+
styleOverrides: {
|
|
455
|
+
filledError: ({ theme }) => ({
|
|
456
|
+
color: theme.palette.common.white,
|
|
457
|
+
fontWeight: 300
|
|
458
|
+
}),
|
|
459
|
+
filledInfo: ({ theme }) => ({
|
|
460
|
+
color: theme.palette.common.white,
|
|
461
|
+
fontWeight: 300
|
|
462
|
+
}),
|
|
463
|
+
filledSuccess: ({ theme }) => ({
|
|
464
|
+
color: theme.palette.common.white,
|
|
465
|
+
fontWeight: 300
|
|
466
|
+
}),
|
|
467
|
+
filledWarning: ({ theme }) => ({
|
|
468
|
+
color: theme.palette.common.white,
|
|
469
|
+
fontWeight: 300
|
|
470
|
+
})
|
|
471
|
+
}
|
|
452
472
|
}
|
|
453
473
|
}
|
|
454
474
|
};
|
|
@@ -589,37 +609,29 @@ var BLOCKLET_THEME_DARK = merge(BLOCKLET_THEME_LIGHT, {
|
|
|
589
609
|
styleOverrides: {
|
|
590
610
|
standardError: {
|
|
591
611
|
backgroundColor: "rgba(255, 100, 103, 0.25)",
|
|
592
|
-
// @ts-ignore
|
|
593
612
|
color: paletteDark.warning.light,
|
|
594
613
|
"& .MuiAlert-icon": {
|
|
595
|
-
// @ts-ignore
|
|
596
614
|
color: paletteDark.warning.light
|
|
597
615
|
}
|
|
598
616
|
},
|
|
599
617
|
standardInfo: {
|
|
600
618
|
backgroundColor: "rgba(81, 162, 255, 0.25)",
|
|
601
|
-
// @ts-ignore
|
|
602
619
|
color: paletteDark.info.light,
|
|
603
620
|
"& .MuiAlert-icon": {
|
|
604
|
-
// @ts-ignore
|
|
605
621
|
color: paletteDark.info.light
|
|
606
622
|
}
|
|
607
623
|
},
|
|
608
624
|
standardWarning: {
|
|
609
625
|
backgroundColor: "rgba(255, 137, 4, 0.25)",
|
|
610
|
-
// @ts-ignore
|
|
611
626
|
color: paletteDark.warning.light,
|
|
612
627
|
"& .MuiAlert-icon": {
|
|
613
|
-
// @ts-ignore
|
|
614
628
|
color: paletteDark.warning.light
|
|
615
629
|
}
|
|
616
630
|
},
|
|
617
631
|
standardSuccess: {
|
|
618
632
|
backgroundColor: "rgba(5, 223, 114, 0.25)",
|
|
619
|
-
// @ts-ignore
|
|
620
633
|
color: paletteDark.success.light,
|
|
621
634
|
"& .MuiAlert-icon": {
|
|
622
|
-
// @ts-ignore
|
|
623
635
|
color: paletteDark.success.light
|
|
624
636
|
}
|
|
625
637
|
}
|
package/dist/es/index.js
CHANGED
|
@@ -432,6 +432,26 @@ var BLOCKLET_THEME_LIGHT = {
|
|
|
432
432
|
backgroundImage: "none"
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
+
},
|
|
436
|
+
MuiAlert: {
|
|
437
|
+
styleOverrides: {
|
|
438
|
+
filledError: ({ theme }) => ({
|
|
439
|
+
color: theme.palette.common.white,
|
|
440
|
+
fontWeight: 300
|
|
441
|
+
}),
|
|
442
|
+
filledInfo: ({ theme }) => ({
|
|
443
|
+
color: theme.palette.common.white,
|
|
444
|
+
fontWeight: 300
|
|
445
|
+
}),
|
|
446
|
+
filledSuccess: ({ theme }) => ({
|
|
447
|
+
color: theme.palette.common.white,
|
|
448
|
+
fontWeight: 300
|
|
449
|
+
}),
|
|
450
|
+
filledWarning: ({ theme }) => ({
|
|
451
|
+
color: theme.palette.common.white,
|
|
452
|
+
fontWeight: 300
|
|
453
|
+
})
|
|
454
|
+
}
|
|
435
455
|
}
|
|
436
456
|
}
|
|
437
457
|
};
|
|
@@ -572,37 +592,29 @@ var BLOCKLET_THEME_DARK = merge(BLOCKLET_THEME_LIGHT, {
|
|
|
572
592
|
styleOverrides: {
|
|
573
593
|
standardError: {
|
|
574
594
|
backgroundColor: "rgba(255, 100, 103, 0.25)",
|
|
575
|
-
// @ts-ignore
|
|
576
595
|
color: paletteDark.warning.light,
|
|
577
596
|
"& .MuiAlert-icon": {
|
|
578
|
-
// @ts-ignore
|
|
579
597
|
color: paletteDark.warning.light
|
|
580
598
|
}
|
|
581
599
|
},
|
|
582
600
|
standardInfo: {
|
|
583
601
|
backgroundColor: "rgba(81, 162, 255, 0.25)",
|
|
584
|
-
// @ts-ignore
|
|
585
602
|
color: paletteDark.info.light,
|
|
586
603
|
"& .MuiAlert-icon": {
|
|
587
|
-
// @ts-ignore
|
|
588
604
|
color: paletteDark.info.light
|
|
589
605
|
}
|
|
590
606
|
},
|
|
591
607
|
standardWarning: {
|
|
592
608
|
backgroundColor: "rgba(255, 137, 4, 0.25)",
|
|
593
|
-
// @ts-ignore
|
|
594
609
|
color: paletteDark.warning.light,
|
|
595
610
|
"& .MuiAlert-icon": {
|
|
596
|
-
// @ts-ignore
|
|
597
611
|
color: paletteDark.warning.light
|
|
598
612
|
}
|
|
599
613
|
},
|
|
600
614
|
standardSuccess: {
|
|
601
615
|
backgroundColor: "rgba(5, 223, 114, 0.25)",
|
|
602
|
-
// @ts-ignore
|
|
603
616
|
color: paletteDark.success.light,
|
|
604
617
|
"& .MuiAlert-icon": {
|
|
605
|
-
// @ts-ignore
|
|
606
618
|
color: paletteDark.success.light
|
|
607
619
|
}
|
|
608
620
|
}
|
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.38",
|
|
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": "5401918b99c57befaa866491d1b1b77e433bf290"
|
|
58
58
|
}
|