@nayan-ui/react-native
Version:
React Native Component Library for smooth and faster mobile application development.
47 lines (46 loc) • 1.23 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.THEMES = void 0;
exports.cn = cn;
exports.defaultThemeColors = void 0;
var _native = require("@react-navigation/native");
var _clsx = require("clsx");
var _tailwindMerge = require("tailwind-merge");
function cn(...inputs) {
return (0, _tailwindMerge.twMerge)((0, _clsx.clsx)(inputs));
}
let THEMES = exports.THEMES = /*#__PURE__*/function (THEMES) {
THEMES["light"] = "light";
THEMES["dark"] = "dark";
THEMES["system"] = "system";
return THEMES;
}({});
const defaultThemeColors = exports.defaultThemeColors = {
light: {
..._native.DefaultTheme,
colors: {
primary: 'hsl(215 100% 45%)',
background: 'hsl(216 20% 95%)',
card: 'hsl(0 0% 100%)',
text: 'hsl(0 0% 2%)',
muted: 'hsl(0 0% 50%)',
border: 'hsl(0 0% 88%)',
notification: 'hsl(0 0% 100%)'
}
},
dark: {
..._native.DarkTheme,
colors: {
primary: 'hsl(209 100% 58%)',
background: 'hsl(0 0% 12%)',
card: 'hsl(0 0% 21%)',
text: 'hsl(0 0% 96%)',
muted: 'hsl(0 0% 69%)',
border: 'hsl(0 0% 31%)',
notification: 'hsl(0 0% 21%)'
}
}
};
//# sourceMappingURL=utils.js.map
;