@redocly/portal-legacy-ui
Version:
Library of legacy portal UI components
7 lines • 483 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.breakpoints = exports.getCssColorVariable = void 0;
const getCssColorVariable = (color, defaultValue = 'currentColor') => ((color === null || color === void 0 ? void 0 : color.startsWith('--')) ? `var(${color})` : color || defaultValue);
exports.getCssColorVariable = getCssColorVariable;
exports.breakpoints = { small: '550px', medium: '900px', large: '1200px' };
//# sourceMappingURL=utils.js.map