@m4l/graphics 7.0.12 → 7.0.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.
- package/components/GlobalStyles/index.js +18 -31
- package/package.json +1 -1
|
@@ -1,43 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useTheme as
|
|
3
|
-
import { GlobalStyles as
|
|
4
|
-
import { globalRemSize as
|
|
5
|
-
function
|
|
6
|
-
const t =
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useTheme as i } from "@mui/material/styles";
|
|
3
|
+
import { GlobalStyles as o } from "@mui/material";
|
|
4
|
+
import { globalRemSize as e } from "@m4l/styles";
|
|
5
|
+
function n() {
|
|
6
|
+
const t = i();
|
|
7
|
+
return /* @__PURE__ */ r(
|
|
8
|
+
o,
|
|
9
9
|
{
|
|
10
10
|
styles: {
|
|
11
11
|
body: {
|
|
12
12
|
textRendering: "geometricPrecision",
|
|
13
13
|
width: "100%",
|
|
14
14
|
height: "100vh",
|
|
15
|
-
"input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active": {
|
|
16
|
-
color: t.vars.palette.text.primary
|
|
17
|
-
},
|
|
18
15
|
"*::-webkit-scrollbar": {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
height: "7px",
|
|
22
|
-
borderRadius: "3px",
|
|
23
|
-
backgroundColor: "transparent"
|
|
16
|
+
width: `${t.vars.size.baseSpacings.sp1}!important`,
|
|
17
|
+
height: `${t.vars.size.baseSpacings.sp1}!important`
|
|
24
18
|
},
|
|
25
19
|
"*::-webkit-scrollbar-track": {
|
|
26
|
-
// Camino de la barrra sin radio
|
|
27
|
-
backgroundColor: "transparent",
|
|
28
|
-
border: "0px solid transparent"
|
|
29
|
-
},
|
|
30
|
-
"*::-webkit-scrollbar-corner": {
|
|
31
20
|
backgroundColor: "transparent"
|
|
32
21
|
},
|
|
33
|
-
// FireFox
|
|
34
|
-
// scrollbarColor: `${theme.vars.palette.primary.main} white`,
|
|
35
|
-
// scrollbarWidth: 'thin',
|
|
36
|
-
// Chrome
|
|
37
22
|
"*::-webkit-scrollbar-thumb": {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
23
|
+
backgroundColor: `${t.vars.palette.default.focusOpacity}!important`,
|
|
24
|
+
borderRadius: `${t.vars.size.borderRadius["r0-5"]}!important`
|
|
25
|
+
},
|
|
26
|
+
"input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active": {
|
|
27
|
+
color: t.vars.palette.text.primary
|
|
41
28
|
},
|
|
42
29
|
"& #root": {
|
|
43
30
|
width: "100%",
|
|
@@ -68,9 +55,9 @@ function s() {
|
|
|
68
55
|
}
|
|
69
56
|
},
|
|
70
57
|
"& html": {
|
|
71
|
-
fontSize:
|
|
58
|
+
fontSize: e.desktop,
|
|
72
59
|
[t.breakpoints.down("sm")]: {
|
|
73
|
-
fontSize:
|
|
60
|
+
fontSize: e.mobile
|
|
74
61
|
}
|
|
75
62
|
}
|
|
76
63
|
}
|
|
@@ -78,5 +65,5 @@ function s() {
|
|
|
78
65
|
);
|
|
79
66
|
}
|
|
80
67
|
export {
|
|
81
|
-
|
|
68
|
+
n as G
|
|
82
69
|
};
|