Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

28 lines
867 B
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: 2cd465e94e439d21.d295534e06.js
* Module id: 507263
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
var t = e.i(282335),
r = e.i(801727);
function o({ color: e, theme: t, autoContrast: o }) {
return ("boolean" == typeof o ? o : t.autoContrast) &&
(0, r.parseThemeColor)({ color: e || t.primaryColor, theme: t }).isLight
? "var(--mantine-color-black)"
: "var(--mantine-color-white)";
}
function n(e, r) {
return o({
color: e.colors[e.primaryColor][(0, t.getPrimaryShade)(e, r)],
theme: e,
autoContrast: null,
});
}
e.s(["getContrastColor", () => o, "getPrimaryContrastColor", () => n]);
};
export default moduleFactory;