@shiflo/ui 0.1.3 → 0.1.5
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/components/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/components/BottomSheet/BottomSheet.mjs +11 -12
- package/dist/components/Box/Box.mjs +12 -12
- package/dist/components/Button/Button.mjs +15 -19
- package/dist/components/Dialog/Dialog.mjs +1 -1
- package/dist/components/Icon/Icon.mjs +3 -3
- package/dist/components/Overlay/Overlay.mjs +36 -32
- package/dist/components/Snackbar/Snackbar.mjs +1 -1
- package/dist/components/Switch/Switch.mjs +1 -2
- package/dist/components/Tag/Tag.mjs +1 -1
- package/dist/components/TextField/TextField.mjs +3 -4
- package/dist/components/Typography/Typography.mjs +12 -12
- package/dist/theme/GlobalStyle.mjs +1 -1
- package/dist/theme/dark.mjs +1 -1
- package/dist/theme/light.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { BottomSheetProps } from '
|
|
1
|
+
import { BottomSheetProps } from '.';
|
|
2
2
|
declare function BottomSheet({ open, onClose, children, transitionDuration, maxWidth, onClick, ref, hideDragHandleBar, hideOverlay, style, dragThreshold, ...props }: BottomSheetProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BottomSheet;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o, jsxs as H } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useState as R, useRef as a, useImperativeHandle as S, useEffect as j } from "react";
|
|
3
|
+
import D from "../Overlay/Overlay.mjs";
|
|
3
4
|
import n from "@emotion/styled";
|
|
4
|
-
import { motion as
|
|
5
|
-
|
|
6
|
-
const O = n(D.div)`
|
|
5
|
+
import { motion as I } from "motion/react";
|
|
6
|
+
const O = n(I.div)`
|
|
7
7
|
width: calc(100% - ${({ theme: { spacing: t } }) => t[800]});
|
|
8
8
|
max-width: ${({ maxWidth: t = "375px" }) => t};
|
|
9
9
|
max-height: calc(100% - ${({ theme: { spacing: t } }) => t[800]});
|
|
@@ -30,7 +30,7 @@ const O = n(D.div)`
|
|
|
30
30
|
palette: { common: t }
|
|
31
31
|
}
|
|
32
32
|
}) => t.background};
|
|
33
|
-
transition: background-color 0.
|
|
33
|
+
transition: background-color 0.3s;
|
|
34
34
|
`, F = n.div`
|
|
35
35
|
width: 24px;
|
|
36
36
|
height: 4px;
|
|
@@ -40,13 +40,13 @@ const O = n(D.div)`
|
|
|
40
40
|
palette: { border: t }
|
|
41
41
|
}
|
|
42
42
|
}) => t.main};
|
|
43
|
-
transition: background-color 0.
|
|
43
|
+
transition: background-color 0.3s;
|
|
44
44
|
`;
|
|
45
45
|
function z({
|
|
46
46
|
open: t,
|
|
47
47
|
onClose: r,
|
|
48
48
|
children: m,
|
|
49
|
-
transitionDuration: i = 0.
|
|
49
|
+
transitionDuration: i = 0.3,
|
|
50
50
|
maxWidth: d = "375px",
|
|
51
51
|
onClick: c,
|
|
52
52
|
ref: f,
|
|
@@ -56,7 +56,7 @@ function z({
|
|
|
56
56
|
dragThreshold: h = 100,
|
|
57
57
|
...y
|
|
58
58
|
}) {
|
|
59
|
-
const [b, s] = R(!1), l = a(null),
|
|
59
|
+
const [b, s] = R(!1), l = a(null), $ = a(null), x = a(null);
|
|
60
60
|
S(f, () => l.current);
|
|
61
61
|
const v = (e) => {
|
|
62
62
|
e.stopPropagation(), typeof c == "function" && c(e);
|
|
@@ -72,9 +72,9 @@ function z({
|
|
|
72
72
|
e && cancelAnimationFrame(e);
|
|
73
73
|
};
|
|
74
74
|
}, [t]), /* @__PURE__ */ o(
|
|
75
|
-
|
|
75
|
+
D,
|
|
76
76
|
{
|
|
77
|
-
ref:
|
|
77
|
+
ref: $,
|
|
78
78
|
open: t,
|
|
79
79
|
onClose: r,
|
|
80
80
|
transitionDuration: i,
|
|
@@ -86,7 +86,7 @@ function z({
|
|
|
86
86
|
ref: l,
|
|
87
87
|
drag: "y",
|
|
88
88
|
dragConstraints: { top: 0, bottom: 0 },
|
|
89
|
-
dragElastic: { top: 0, bottom: 0.
|
|
89
|
+
dragElastic: { top: 0, bottom: 0.3 },
|
|
90
90
|
dragMomentum: !1,
|
|
91
91
|
onDragEnd: k,
|
|
92
92
|
maxWidth: d,
|
|
@@ -95,7 +95,6 @@ function z({
|
|
|
95
95
|
animate: {
|
|
96
96
|
y: b ? 0 : "200%"
|
|
97
97
|
},
|
|
98
|
-
exit: { y: "200%" },
|
|
99
98
|
transition: {
|
|
100
99
|
type: "spring",
|
|
101
100
|
duration: i,
|
|
@@ -104,7 +103,7 @@ function z({
|
|
|
104
103
|
style: g,
|
|
105
104
|
...y,
|
|
106
105
|
children: [
|
|
107
|
-
!p && /* @__PURE__ */ o(A, { ref:
|
|
106
|
+
!p && /* @__PURE__ */ o(A, { ref: x, children: /* @__PURE__ */ o(F, {}) }),
|
|
108
107
|
m
|
|
109
108
|
]
|
|
110
109
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import a from "@emotion/styled";
|
|
3
|
+
import f from "../../utils/getUtilityProps.mjs";
|
|
4
|
+
import r from "../../utils/getValueByPath.mjs";
|
|
5
|
+
const c = a.div`
|
|
6
6
|
transition: all 0.2s;
|
|
7
7
|
|
|
8
|
-
${({ theme: { palette: t }, backgroundColor:
|
|
8
|
+
${({ theme: { palette: t }, backgroundColor: s, borderColor: o, color: e, ...n }) => {
|
|
9
9
|
const i = {};
|
|
10
|
-
return Object.assign(i,
|
|
11
|
-
backgroundColor:
|
|
12
|
-
}), e && Object.assign(i, {
|
|
13
|
-
borderColor: s(t, e) || "inherit"
|
|
10
|
+
return Object.assign(i, f(n)), s && Object.assign(i, {
|
|
11
|
+
backgroundColor: r(t, s) || "inherit"
|
|
14
12
|
}), o && Object.assign(i, {
|
|
15
|
-
|
|
13
|
+
borderColor: r(t, o) || "inherit"
|
|
14
|
+
}), e && Object.assign(i, {
|
|
15
|
+
color: r(t, e) || "inherit"
|
|
16
16
|
}), i;
|
|
17
17
|
}}
|
|
18
|
-
`, y = (t) => /* @__PURE__ */ c
|
|
18
|
+
`, y = (t) => /* @__PURE__ */ m(c, { ...t });
|
|
19
19
|
export {
|
|
20
20
|
y as default
|
|
21
21
|
};
|
|
@@ -7,15 +7,15 @@ const m = v(f.button)`
|
|
|
7
7
|
justify-content: center;
|
|
8
8
|
gap: ${({ theme: { spacing: t } }) => t[100]};
|
|
9
9
|
font-weight: 500;
|
|
10
|
-
transition: all 0.
|
|
10
|
+
transition: all 0.3s;
|
|
11
11
|
|
|
12
12
|
${({ theme: t, variant: l, size: d, color: c }) => {
|
|
13
13
|
const {
|
|
14
14
|
mode: a,
|
|
15
15
|
palette: { primary: e, secondary: r, neutral: o, gradient: p },
|
|
16
|
-
typography: { body1: s, body2: g, small1: h, small2:
|
|
16
|
+
typography: { body1: s, body2: g, small1: h, small2: b },
|
|
17
17
|
spacing: n,
|
|
18
|
-
radius:
|
|
18
|
+
radius: u
|
|
19
19
|
} = t, i = {};
|
|
20
20
|
switch (l) {
|
|
21
21
|
case "ghost":
|
|
@@ -138,7 +138,7 @@ const m = v(f.button)`
|
|
|
138
138
|
case "large":
|
|
139
139
|
Object.assign(i, {
|
|
140
140
|
padding: `${n[300]} ${n[350]}`,
|
|
141
|
-
borderRadius:
|
|
141
|
+
borderRadius: u[300],
|
|
142
142
|
fontSize: s.fontSize,
|
|
143
143
|
lineHeight: s.lineHeight,
|
|
144
144
|
"& svg": {
|
|
@@ -150,7 +150,7 @@ const m = v(f.button)`
|
|
|
150
150
|
case "small":
|
|
151
151
|
Object.assign(i, {
|
|
152
152
|
padding: `${n[100]} ${n[150]}`,
|
|
153
|
-
borderRadius:
|
|
153
|
+
borderRadius: u[200],
|
|
154
154
|
fontSize: h.fontSize,
|
|
155
155
|
lineHeight: h.lineHeight,
|
|
156
156
|
"& svg": {
|
|
@@ -162,19 +162,19 @@ const m = v(f.button)`
|
|
|
162
162
|
case "xSmall":
|
|
163
163
|
Object.assign(i, {
|
|
164
164
|
padding: `${n[50]} ${n[100]}`,
|
|
165
|
-
borderRadius:
|
|
166
|
-
fontSize:
|
|
167
|
-
lineHeight:
|
|
165
|
+
borderRadius: u[150],
|
|
166
|
+
fontSize: b.fontSize,
|
|
167
|
+
lineHeight: b.lineHeight,
|
|
168
168
|
"& svg": {
|
|
169
|
-
width:
|
|
170
|
-
height:
|
|
169
|
+
width: b.fontSize,
|
|
170
|
+
height: b.fontSize
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
break;
|
|
174
174
|
default:
|
|
175
175
|
Object.assign(i, {
|
|
176
176
|
padding: `${n[200]} ${n[250]}`,
|
|
177
|
-
borderRadius:
|
|
177
|
+
borderRadius: u[250],
|
|
178
178
|
fontSize: g.fontSize,
|
|
179
179
|
lineHeight: g.lineHeight,
|
|
180
180
|
"& svg": {
|
|
@@ -204,14 +204,13 @@ function C({
|
|
|
204
204
|
variant: "text",
|
|
205
205
|
size: c,
|
|
206
206
|
color: "secondary",
|
|
207
|
-
layout: !0,
|
|
208
207
|
whileHover: {
|
|
209
208
|
scale: 1.02
|
|
210
209
|
},
|
|
211
210
|
whileTap: { scale: 0.98 },
|
|
212
211
|
transition: {
|
|
213
212
|
type: "spring",
|
|
214
|
-
duration: 0.
|
|
213
|
+
duration: 0.3,
|
|
215
214
|
bounce: 0.2
|
|
216
215
|
},
|
|
217
216
|
...o,
|
|
@@ -228,14 +227,13 @@ function C({
|
|
|
228
227
|
variant: "ghost",
|
|
229
228
|
size: c,
|
|
230
229
|
color: "primary",
|
|
231
|
-
layout: !0,
|
|
232
230
|
whileHover: {
|
|
233
231
|
scale: 1.02
|
|
234
232
|
},
|
|
235
233
|
whileTap: { scale: 0.98 },
|
|
236
234
|
transition: {
|
|
237
235
|
type: "spring",
|
|
238
|
-
duration: 0.
|
|
236
|
+
duration: 0.3,
|
|
239
237
|
bounce: 0.2
|
|
240
238
|
},
|
|
241
239
|
...o,
|
|
@@ -252,14 +250,13 @@ function C({
|
|
|
252
250
|
variant: "gradient",
|
|
253
251
|
size: c,
|
|
254
252
|
color: "primary",
|
|
255
|
-
layout: !0,
|
|
256
253
|
whileHover: {
|
|
257
254
|
scale: 1.02
|
|
258
255
|
},
|
|
259
256
|
whileTap: { scale: 0.98 },
|
|
260
257
|
transition: {
|
|
261
258
|
type: "spring",
|
|
262
|
-
duration: 0.
|
|
259
|
+
duration: 0.3,
|
|
263
260
|
bounce: 0.2
|
|
264
261
|
},
|
|
265
262
|
...o,
|
|
@@ -276,14 +273,13 @@ function C({
|
|
|
276
273
|
variant: d,
|
|
277
274
|
size: c,
|
|
278
275
|
color: a,
|
|
279
|
-
layout: !0,
|
|
280
276
|
whileHover: {
|
|
281
277
|
scale: 1.02
|
|
282
278
|
},
|
|
283
279
|
whileTap: { scale: 0.98 },
|
|
284
280
|
transition: {
|
|
285
281
|
type: "spring",
|
|
286
|
-
duration: 0.
|
|
282
|
+
duration: 0.3,
|
|
287
283
|
bounce: 0.2
|
|
288
284
|
},
|
|
289
285
|
...o,
|
|
@@ -5,9 +5,9 @@ import c from "@emotion/styled";
|
|
|
5
5
|
import d from "../../utils/getValueByPath.mjs";
|
|
6
6
|
const f = c.svg`
|
|
7
7
|
transition:
|
|
8
|
-
width 0.
|
|
9
|
-
height 0.
|
|
10
|
-
color 0.
|
|
8
|
+
width 0.3s,
|
|
9
|
+
height 0.3s,
|
|
10
|
+
color 0.3s;
|
|
11
11
|
|
|
12
12
|
width: ${({ width: t }) => `${t || 24}px`};
|
|
13
13
|
height: ${({ height: t }) => `${t || 24}px`};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
1
|
+
import { jsxs as O, jsx as f } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as b, useEffect as j } from "react";
|
|
3
3
|
import { createPortal as v } from "react-dom";
|
|
4
4
|
import { useTheme as x } from "@emotion/react";
|
|
5
|
-
import
|
|
6
|
-
import { motion as
|
|
7
|
-
const C =
|
|
5
|
+
import n from "@emotion/styled";
|
|
6
|
+
import { motion as a } from "motion/react";
|
|
7
|
+
const C = n(a.div)`
|
|
8
8
|
position: fixed;
|
|
9
9
|
top: 0;
|
|
10
10
|
left: 0;
|
|
11
11
|
z-index: 1;
|
|
12
|
-
`, A =
|
|
12
|
+
`, A = n(a.div)`
|
|
13
13
|
position: fixed;
|
|
14
14
|
top: 0;
|
|
15
15
|
left: 0;
|
|
16
16
|
width: 100%;
|
|
17
17
|
height: 100%;
|
|
18
|
-
`, w =
|
|
18
|
+
`, w = n(a.div)`
|
|
19
19
|
position: fixed;
|
|
20
20
|
width: 100%;
|
|
21
21
|
display: flex;
|
|
@@ -91,49 +91,53 @@ const C = r(n.div)`
|
|
|
91
91
|
function P({
|
|
92
92
|
children: o,
|
|
93
93
|
open: t,
|
|
94
|
-
onClose:
|
|
95
|
-
transitionDuration:
|
|
96
|
-
placement:
|
|
94
|
+
onClose: d,
|
|
95
|
+
transitionDuration: s = 0.3,
|
|
96
|
+
placement: p,
|
|
97
97
|
ref: I,
|
|
98
|
-
onClick:
|
|
99
|
-
hideOverlay:
|
|
100
|
-
...
|
|
98
|
+
onClick: g,
|
|
99
|
+
hideOverlay: r,
|
|
100
|
+
...i
|
|
101
101
|
}) {
|
|
102
102
|
const {
|
|
103
|
-
palette: { common:
|
|
104
|
-
} = x(), [u,
|
|
105
|
-
|
|
106
|
-
},
|
|
107
|
-
t ||
|
|
103
|
+
palette: { common: c }
|
|
104
|
+
} = x(), [u, l] = b(!0), [y, m] = b(!1), h = (e) => {
|
|
105
|
+
d?.(), g?.(e);
|
|
106
|
+
}, k = () => {
|
|
107
|
+
t || l(!0);
|
|
108
108
|
};
|
|
109
109
|
return j(() => {
|
|
110
110
|
let e;
|
|
111
|
-
return t ? (
|
|
112
|
-
|
|
113
|
-
})) :
|
|
111
|
+
return t ? (l(!1), e = requestAnimationFrame(() => {
|
|
112
|
+
m(!0);
|
|
113
|
+
})) : m(!1), () => {
|
|
114
114
|
e && cancelAnimationFrame(e);
|
|
115
115
|
};
|
|
116
|
-
}, [t,
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */
|
|
116
|
+
}, [t, s]), u ? null : v(
|
|
117
|
+
/* @__PURE__ */ O(C, { children: [
|
|
118
|
+
/* @__PURE__ */ f(
|
|
119
119
|
A,
|
|
120
120
|
{
|
|
121
|
-
initial: { opacity: 0, backgroundColor:
|
|
121
|
+
initial: { opacity: 0, backgroundColor: r ? "rgba(0, 0, 0, 0)" : c.overlay },
|
|
122
122
|
animate: {
|
|
123
|
-
opacity:
|
|
124
|
-
backgroundColor:
|
|
123
|
+
opacity: y ? 1 : 0,
|
|
124
|
+
backgroundColor: r ? "rgba(0, 0, 0, 0)" : c.overlay
|
|
125
125
|
},
|
|
126
126
|
transition: {
|
|
127
127
|
type: "spring",
|
|
128
|
-
duration:
|
|
128
|
+
duration: s,
|
|
129
129
|
bounce: 0.2
|
|
130
130
|
},
|
|
131
|
-
onAnimationComplete:
|
|
132
|
-
onClick:
|
|
133
|
-
...
|
|
131
|
+
onAnimationComplete: k,
|
|
132
|
+
onClick: h,
|
|
133
|
+
...i,
|
|
134
|
+
style: {
|
|
135
|
+
pointerEvents: r ? "none" : void 0,
|
|
136
|
+
...i.style
|
|
137
|
+
}
|
|
134
138
|
}
|
|
135
139
|
),
|
|
136
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ f(w, { placement: p, children: o })
|
|
137
141
|
] }),
|
|
138
142
|
document.body
|
|
139
143
|
);
|
|
@@ -7,7 +7,7 @@ const d = s(l.button)`
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
padding: 0 ${({ theme: { spacing: t } }) => t[100]};
|
|
9
9
|
border-radius: 9999px;
|
|
10
|
-
transition: background-color 0.
|
|
10
|
+
transition: background-color 0.3s;
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
|
|
13
13
|
${({ theme: { palette: t }, checked: i, disabled: r, size: a }) => {
|
|
@@ -101,7 +101,6 @@ function x({
|
|
|
101
101
|
onClick: (o) => {
|
|
102
102
|
!i && typeof a == "function" && a(o, !t), typeof e == "function" && e(o);
|
|
103
103
|
},
|
|
104
|
-
layout: !0,
|
|
105
104
|
style: {
|
|
106
105
|
justifyContent: t ? "flex-end" : "flex-start"
|
|
107
106
|
},
|
|
@@ -2,7 +2,7 @@ import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
|
2
2
|
import g from "@emotion/styled";
|
|
3
3
|
import { motion as b } from "motion/react";
|
|
4
4
|
const k = g(b.span)`
|
|
5
|
-
transition: all 0.
|
|
5
|
+
transition: all 0.3s;
|
|
6
6
|
cursor: default;
|
|
7
7
|
|
|
8
8
|
padding: ${({ theme: { spacing: r } }) => r[100]};
|
|
@@ -8,7 +8,7 @@ const b = l(c.div)`
|
|
|
8
8
|
gap: ${({ theme: { spacing: e } }) => e[200]};
|
|
9
9
|
border: 1px solid transparent;
|
|
10
10
|
border-radius: ${({ theme: { radius: e } }) => e[200]};
|
|
11
|
-
transition: all 0.
|
|
11
|
+
transition: all 0.3s;
|
|
12
12
|
background-color: ${({
|
|
13
13
|
theme: {
|
|
14
14
|
palette: { common: e }
|
|
@@ -147,7 +147,7 @@ const b = l(c.div)`
|
|
|
147
147
|
justify-content: center;
|
|
148
148
|
white-space: nowrap;
|
|
149
149
|
`;
|
|
150
|
-
function
|
|
150
|
+
function H({
|
|
151
151
|
variant: e = "outlined",
|
|
152
152
|
size: n = "medium",
|
|
153
153
|
fullWidth: o,
|
|
@@ -167,7 +167,6 @@ function y({
|
|
|
167
167
|
focused: g,
|
|
168
168
|
fullWidth: o,
|
|
169
169
|
disabled: t,
|
|
170
|
-
layout: !0,
|
|
171
170
|
children: [
|
|
172
171
|
r && /* @__PURE__ */ a(S, { children: r }),
|
|
173
172
|
/* @__PURE__ */ a(w, { ...f, onFocus: (s) => {
|
|
@@ -181,5 +180,5 @@ function y({
|
|
|
181
180
|
);
|
|
182
181
|
}
|
|
183
182
|
export {
|
|
184
|
-
|
|
183
|
+
H as default
|
|
185
184
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { motion as
|
|
1
|
+
import { jsx as f } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import y from "@emotion/styled";
|
|
3
|
+
import { motion as c } from "motion/react";
|
|
4
4
|
import d from "../../utils/getUtilityProps.mjs";
|
|
5
5
|
import r from "../../utils/getValueByPath.mjs";
|
|
6
|
-
const h =
|
|
7
|
-
transition: all 0.
|
|
6
|
+
const h = y(c.div)`
|
|
7
|
+
transition: all 0.3s;
|
|
8
8
|
|
|
9
|
-
${({ theme: { typography: t, palette: i }, variant: s, color: n, fontWeight:
|
|
9
|
+
${({ theme: { typography: t, palette: i }, variant: s, color: n, fontWeight: a, borderColor: e, ...l }) => {
|
|
10
10
|
const { fontSize: p, lineHeight: m } = t[s || "body2"], o = {
|
|
11
11
|
fontSize: p,
|
|
12
12
|
lineHeight: m,
|
|
13
|
-
fontWeight:
|
|
13
|
+
fontWeight: a
|
|
14
14
|
};
|
|
15
|
-
return Object.assign(o, d(
|
|
15
|
+
return Object.assign(o, d(l)), e && Object.assign(o, {
|
|
16
16
|
borderColor: r(i, e) || "inherit"
|
|
17
17
|
}), Object.assign(o, {
|
|
18
18
|
color: r(i, n) || "inherit"
|
|
@@ -32,10 +32,10 @@ const h = f(y.div)`
|
|
|
32
32
|
${({ lineClamp: t }) => t ? {
|
|
33
33
|
display: "-webkit-box",
|
|
34
34
|
overflow: "hidden",
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
WebkitLineClamp: t,
|
|
36
|
+
WebkitBoxOrient: "vertical"
|
|
37
37
|
} : {}};
|
|
38
|
-
`,
|
|
38
|
+
`, j = (t) => /* @__PURE__ */ f(h, { ...t });
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
j as default
|
|
41
41
|
};
|
|
@@ -33,7 +33,7 @@ function l() {
|
|
|
33
33
|
height: "100%",
|
|
34
34
|
color: e.primary,
|
|
35
35
|
backgroundColor: o.background,
|
|
36
|
-
transition: "background-color 0.
|
|
36
|
+
transition: "background-color 0.3s, color 0.3s",
|
|
37
37
|
fontFamily: `Spoqa Han Sans Neo, -apple-system, BlinkMacSystemFont, Helvetica Neue,
|
|
38
38
|
Apple SD Gothic Neo, Malgun Gothic, 맑은 고딕, 나눔고딕, Nanum Gothic,
|
|
39
39
|
Noto Sans KR, Noto Sans CJK KR, arial, 돋움, Dotum, Tahoma, Geneva, sans-serif`
|
package/dist/theme/dark.mjs
CHANGED
package/dist/theme/light.mjs
CHANGED