UNPKG

antd-style

Version:

css-in-js solution for application combine with antd v5 token system and emotion

25 lines (24 loc) 656 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createAntdStylish = void 0; var createAntdStylish = exports.createAntdStylish = function createAntdStylish(_ref) { var css = _ref.css, token = _ref.token; return { buttonDefaultHover: css({ backgroundColor: token.colorBgContainer, border: "1px solid ".concat(token.colorBorder), cursor: 'pointer', ':hover': { color: token.colorPrimaryHover, borderColor: token.colorPrimaryHover }, ':active': { color: token.colorPrimaryActive, borderColor: token.colorPrimaryActive } }) }; };