29 lines
789 B
JavaScript
29 lines
789 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.prepareComponentToken = exports.default = void 0;
|
|
var _internal = require("../../theme/internal");
|
|
// =============================== Base ===============================
|
|
const genBaseStyle = token => {
|
|
const {
|
|
componentCls,
|
|
colorText,
|
|
fontSize,
|
|
lineHeight,
|
|
fontFamily
|
|
} = token;
|
|
return {
|
|
[componentCls]: {
|
|
color: colorText,
|
|
fontSize,
|
|
lineHeight,
|
|
fontFamily
|
|
}
|
|
};
|
|
};
|
|
const prepareComponentToken = () => ({});
|
|
// ============================== Export ==============================
|
|
exports.prepareComponentToken = prepareComponentToken;
|
|
var _default = exports.default = (0, _internal.genStyleHooks)('App', genBaseStyle, prepareComponentToken); |