@antscorp/antsomi-ui 1.3.5-beta.639 → 1.3.5-beta.640
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.
|
@@ -9,7 +9,7 @@ import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
|
9
9
|
import { far } from '@fortawesome/free-regular-svg-icons';
|
|
10
10
|
import { fab } from '@fortawesome/free-brands-svg-icons';
|
|
11
11
|
library.add(fas, far, fab);
|
|
12
|
-
const { accent7, gray5, scrollBarSize, bw3, bw4, bw5 } =
|
|
12
|
+
const { fontSize, accent7, gray5, scrollBarSize, bw3, bw4, bw5 } = globalToken || {};
|
|
13
13
|
export const GlobalStyle = () => {
|
|
14
14
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41;
|
|
15
15
|
return (React.createElement(Global, { styles: css `
|
|
@@ -237,6 +237,11 @@ export const GlobalStyle = () => {
|
|
|
237
237
|
&:focus {
|
|
238
238
|
background-color: ${(_o = THEME.token) === null || _o === void 0 ? void 0 : _o.bw0};
|
|
239
239
|
}
|
|
240
|
+
|
|
241
|
+
&::placeholder {
|
|
242
|
+
font-style: normal !important;
|
|
243
|
+
font-size: ${fontSize}px !important;
|
|
244
|
+
}
|
|
240
245
|
}
|
|
241
246
|
|
|
242
247
|
.antsomi-input-affix-wrapper {
|