@formant/ava-react
Version:
React components of AVA.
18 lines • 593 B
JavaScript
import styled from 'styled-components';
import { getThemeColor, getFontSize, getLineHeight } from "../theme";
export var Container = styled.div.withConfig({
displayName: "Container",
componentId: "ava-react-d63f__sc-1229xd3-0"
})(["font-family:PingFangSC,sans-serif;color:", ";font-size:", ";line-height:", ";"], function (_ref) {
var theme = _ref.theme;
return getThemeColor({
colorToken: 'colorBase',
theme: theme
});
}, function (_ref2) {
var size = _ref2.size;
return getFontSize(size);
}, function (_ref3) {
var size = _ref3.size;
return getLineHeight(size);
});