UNPKG

@clubmed/trident-ui

Version:

Shared ClubMed React UI components

25 lines (24 loc) 619 B
import { c as e } from "../chunks/clsx.js"; import { getBorderColor as r, getTextColor as g, getBgColor as n, getComplementaryTextColor as i } from "./helpers/colors/colors.js"; const l = (t) => ({ solid: { thRoot: e(n(t), r(t), i(t)) }, outline: { thRoot: e("bg-transparent", r(t), g(t)) }, light: { thRoot: e("bg-lightSand text-black border-lightSand") }, dark: { thRoot: e("bg-ultramarine text-white border-ultramarine") } }), s = (t, { color: a }) => { const o = l(a); return o[t] || o.solid; }; export { s as getTheme, l as themes }; //# sourceMappingURL=Chip.themes.js.map