UNPKG

@brizy/ui

Version:
19 lines (18 loc) 784 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRounded = void 0; const constants_1 = require("../constants"); const getRounded = (rounded) => { return rounded ? { [`--${constants_1.BRZ_PREFIX}-tooltip-rounded`]: "80px", [`--${constants_1.BRZ_PREFIX}-tooltip-fontSize`]: "13px", [`--${constants_1.BRZ_PREFIX}-tooltip-fontWeight`]: "700", [`--${constants_1.BRZ_PREFIX}-tooltip-lineHeight`]: "16px", [`--${constants_1.BRZ_PREFIX}-tooltip-padding`]: "7px 17px 5px", [`--${constants_1.BRZ_PREFIX}-tooltip-letterSpacing`]: "0", [`--${constants_1.BRZ_PREFIX}-tooltip-maxWidth`]: "none", } : undefined; }; exports.getRounded = getRounded;