UNPKG

@frank-auth/react

Version:

Flexible and customizable React UI components for Frank Authentication

3 lines (2 loc) 456 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("@emotion/styled");const n=(r,c="primary",o=500)=>{switch(c){case"primary":return r.colors.primary[o];case"secondary":return r.colors.secondary[o];case"success":return r.colors.success[o];case"warning":return r.colors.warning[o];case"danger":return r.colors.danger[o];default:return r.colors.primary[o]}};exports.getColorVariant=n; //# sourceMappingURL=styled.cjs.map