UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

17 lines 787 B
var _templateObject; function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); } import { createStyles } from 'antd-style'; export var useStyles = createStyles(function (_ref) { var css = _ref.css, token = _ref.token, stylish = _ref.stylish; return { borderless: stylish.variantBorderless, disabled: stylish.disabled, filled: stylish.variantFilledWithoutHover, glass: stylish.blur, outlined: stylish.variantOutlinedWithoutHover, root: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n border-radius: ", "px;\n "])), token.borderRadius), shadow: stylish.shadow }; });