@m4l/styles 7.1.13 → 7.1.14
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/package.json +1 -1
- package/theme/shadows.d.ts +1 -0
- package/theme/shadows.js +22 -19
package/package.json
CHANGED
package/theme/shadows.d.ts
CHANGED
package/theme/shadows.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { alpha as x } from "@mui/material/styles";
|
|
2
2
|
import { G as r } from "./palette/greyPalette.js";
|
|
3
|
-
import { B as
|
|
4
|
-
import { C as
|
|
5
|
-
|
|
3
|
+
import { B as o } from "./palette/baseColors.js";
|
|
4
|
+
import { C as s } from "./palette/commonColors.js";
|
|
5
|
+
import { B as e } from "./palette/baseOpacityColors.js";
|
|
6
|
+
const i = r[500], d = "#000000", a = (t) => {
|
|
6
7
|
const p = x(t, 0.2), $ = x(t, 0.14), n = x(t, 0.12);
|
|
7
8
|
return [
|
|
8
9
|
"none",
|
|
@@ -31,19 +32,19 @@ const s = r[500], i = "#000000", a = (t) => {
|
|
|
31
32
|
`0px 11px 14px -7px ${p},0px 23px 36px 3px ${$},0px 9px 44px 8px ${n}`,
|
|
32
33
|
`0px 11px 15px -7px ${p},0px 24px 38px 3px ${$},0px 9px 46px 8px ${n}`
|
|
33
34
|
];
|
|
34
|
-
},
|
|
35
|
+
}, h = (t) => {
|
|
35
36
|
const p = {
|
|
36
|
-
info: `0px 2px 8px 0px ${x(
|
|
37
|
-
secondary: `0px 2px 8px 0px ${x(
|
|
38
|
-
success: `0px 2px 8px 0px ${x(
|
|
39
|
-
warning: `0px 2px 8px 0px ${x(
|
|
40
|
-
error: `0px 2px 8px 0px ${x(
|
|
37
|
+
info: `0px 2px 8px 0px ${x(o.patronusBlue[50], 0.2)}`,
|
|
38
|
+
secondary: `0px 2px 8px 0px ${x(o.patronusBlue[50], 0.24)}`,
|
|
39
|
+
success: `0px 2px 8px 0px ${x(o.acidGreen[50], 0.2)}`,
|
|
40
|
+
warning: `0px 2px 8px 0px ${x(o.middleYellow[50], 0.2)}`,
|
|
41
|
+
error: `0px 2px 8px 0px ${x(o.flameRed[50], 0.2)}`,
|
|
41
42
|
//
|
|
42
43
|
card: `0 0 2px 0 ${x(r[500], 0.2)}, 0 12px 24px -4px ${x(
|
|
43
44
|
r[500],
|
|
44
45
|
0.12
|
|
45
46
|
)}`,
|
|
46
|
-
dialog: `-40px 40px 80px -8px ${x(
|
|
47
|
+
dialog: `-40px 40px 80px -8px ${x(s.black, 0.24)}`,
|
|
47
48
|
dropdown: `0 0 2px 0 ${x(r[500], 0.24)}, -20px 20px 40px -4px ${x(
|
|
48
49
|
r[500],
|
|
49
50
|
0.24
|
|
@@ -58,8 +59,9 @@ const s = r[500], i = "#000000", a = (t) => {
|
|
|
58
59
|
// todo: solicitar a diseño crear token en base porque está quemado
|
|
59
60
|
z4: `0px 12px 32px 4px ${x("#243B46", 0.12)}`,
|
|
60
61
|
// todo: solicitar a diseño crear token en base porque está quemado
|
|
61
|
-
innerShadowContainer: `2px 2px 4px 1px ${x("#1C2121", 0.
|
|
62
|
-
innerShadowOutlinedText: `2px 2px
|
|
62
|
+
innerShadowContainer: `2px 2px 4px 1px ${x(e.onyx[80] || "#1C2121", 0.6)} inset`,
|
|
63
|
+
innerShadowOutlinedText: `2px 2px 6px 2px ${x(e.onyx[80] || "#1C2121", 0.48)} inset`,
|
|
64
|
+
innerShadowText: `2px 2px 4px 2px ${x(e.onyx[80] || "#1C2121", 0.16)} inset`,
|
|
63
65
|
...p
|
|
64
66
|
} : {
|
|
65
67
|
z1: `0px 2px 2px 2px ${x("#000000", 0.16)}`,
|
|
@@ -70,15 +72,16 @@ const s = r[500], i = "#000000", a = (t) => {
|
|
|
70
72
|
// todo: solicitar a diseño crear token en base porque está quemado
|
|
71
73
|
z4: `0px 12px 32px 4px ${x("#09090A", 0.35)}`,
|
|
72
74
|
// todo: solicitar a diseño crear token en base porque está quemado
|
|
73
|
-
innerShadowContainer: `
|
|
74
|
-
innerShadowOutlinedText: `
|
|
75
|
+
innerShadowContainer: `3px 3px 4px 1px ${x(e.onyx[80] || "#1C2121", 0.72)} inset`,
|
|
76
|
+
innerShadowOutlinedText: `3px 3px 6px 2px ${x(e.onyx[80] || "#1C2121", 0.72)} inset`,
|
|
77
|
+
innerShadowText: `2px 2px 4px 2px ${x(e.onyx[80] || "#1C2121", 0.72)} inset`,
|
|
75
78
|
...p
|
|
76
79
|
};
|
|
77
|
-
},
|
|
78
|
-
light: a(
|
|
79
|
-
dark: a(
|
|
80
|
+
}, l = {
|
|
81
|
+
light: a(i),
|
|
82
|
+
dark: a(d)
|
|
80
83
|
};
|
|
81
84
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
h as c,
|
|
86
|
+
l as s
|
|
84
87
|
};
|