@m4l/graphics 0.1.40 → 0.1.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.
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { useTheme as e } from "@mui/material/styles";
|
|
2
2
|
import { GlobalStyles as a } from "@mui/material";
|
|
3
|
-
import { globalRemSize as
|
|
4
|
-
import { jsx as
|
|
3
|
+
import { globalRemSize as t } from "@m4l/styles";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
function s() {
|
|
6
|
-
const
|
|
7
|
-
return console.log("test spacing formula ",
|
|
6
|
+
const o = e();
|
|
7
|
+
return console.log("test spacing formula ", o.spacing(1)), /* @__PURE__ */ r(a, {
|
|
8
8
|
styles: {
|
|
9
|
+
body: {
|
|
10
|
+
backgroundColor: `${o.palette.background.background}!important`
|
|
11
|
+
},
|
|
9
12
|
"#nprogress": {
|
|
10
13
|
pointerEvents: "none",
|
|
11
14
|
"& .bar": {
|
|
@@ -14,9 +17,9 @@ function s() {
|
|
|
14
17
|
height: 2,
|
|
15
18
|
width: "100%",
|
|
16
19
|
position: "fixed",
|
|
17
|
-
zIndex:
|
|
18
|
-
backgroundColor:
|
|
19
|
-
boxShadow: `0 0 2px ${
|
|
20
|
+
zIndex: o.zIndex.snackbar,
|
|
21
|
+
backgroundColor: o.palette.primary.main,
|
|
22
|
+
boxShadow: `0 0 2px ${o.palette.primary.main}`
|
|
20
23
|
},
|
|
21
24
|
"& .peg": {
|
|
22
25
|
right: 0,
|
|
@@ -26,13 +29,13 @@ function s() {
|
|
|
26
29
|
display: "block",
|
|
27
30
|
position: "absolute",
|
|
28
31
|
transform: "rotate(3deg) translate(0px, -4px)",
|
|
29
|
-
boxShadow: `0 0 10px ${
|
|
32
|
+
boxShadow: `0 0 10px ${o.palette.primary.main}, 0 0 5px ${o.palette.primary.main}`
|
|
30
33
|
}
|
|
31
34
|
},
|
|
32
35
|
"& html": {
|
|
33
|
-
fontSize:
|
|
34
|
-
[
|
|
35
|
-
fontSize:
|
|
36
|
+
fontSize: t.desktop,
|
|
37
|
+
[o.breakpoints.down("sm")]: {
|
|
38
|
+
fontSize: t.mobile
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
}
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as x } from "./components/GlobalStyle/index.
|
|
1
|
+
import { G as x } from "./components/GlobalStyle/index.2c5d07c1.js";
|
|
2
2
|
import { F as n, a as c } from "./contexts/FormatterContext/index.92336f4c.js";
|
|
3
3
|
import { L as F, a as v, g as C } from "./contexts/LocalesContext/index.53f0b702.js";
|
|
4
4
|
import { H as g, a as h } from "./contexts/HostThemeContext/index.a6a62c70.js";
|