@braineet/ui
Version:
Braineet design system
23 lines (22 loc) • 1.09 kB
JavaScript
;
exports.__esModule = true;
exports.TooltipStyled = void 0;
var _tooltip = require("ariakit/tooltip");
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _styledSystem = require("styled-system");
var _utils = require("../../utils");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
var TooltipStyled = exports.TooltipStyled = (0, _styledComponents.default)(_tooltip.Tooltip).withConfig({
displayName: "styles__TooltipStyled",
componentId: "sc-pz2l5y-0"
})(["border-radius:", ";background-color:", ";max-width:320px;min-width:max-content;padding:", ";word-wrap:break-word;text-align:center;font-size:", ";box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);color:", ";z-index:", ";", ""], function (props) {
return props.theme.borderRadius.sm;
}, function (props) {
return props.theme.colors.black;
}, function (props) {
return props.theme.spaces.md;
}, (0, _utils.fluid)(12), function (props) {
return props.theme.colors.white;
}, function (props) {
return props.theme.zIndex.tooltip;
}, _styledSystem.color);