@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.
@@ -1,43 +1,30 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { useTheme as o } from "@mui/material/styles";
3
- import { GlobalStyles as a } from "@mui/material";
4
- import { globalRemSize as r } from "@m4l/styles";
5
- function s() {
6
- const t = o();
7
- return /* @__PURE__ */ e(
8
- a,
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
- // camino de la barra con radio
20
- width: "7px",
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
- // barra que se mueve
39
- background: t.vars.palette.general.scrollBar,
40
- borderRadius: "2px!important"
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: r.desktop,
58
+ fontSize: e.desktop,
72
59
  [t.breakpoints.down("sm")]: {
73
- fontSize: r.mobile
60
+ fontSize: e.mobile
74
61
  }
75
62
  }
76
63
  }
@@ -78,5 +65,5 @@ function s() {
78
65
  );
79
66
  }
80
67
  export {
81
- s as G
68
+ n as G
82
69
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/graphics",
3
- "version": "7.0.12",
3
+ "version": "7.0.13",
4
4
  "license": "UNLICENSED",
5
5
  "author": "M4L Team*",
6
6
  "type": "module",