@universal-labs/preset-tailwind
Version:
Tailwindcss StyleSheet generator for react native/web
23 lines • 853 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.positionRules = void 0;
const native_twin_1 = require("@universal-labs/native-twin");
exports.positionRules = [
(0, native_twin_1.matchThemeValue)('top-', 'spacing', 'top', {
canBeNegative: true,
}),
(0, native_twin_1.matchThemeValue)('left-', 'spacing', 'left', {
canBeNegative: true,
}),
(0, native_twin_1.matchThemeValue)('bottom-', 'spacing', 'bottom', {
canBeNegative: true,
}),
(0, native_twin_1.matchThemeValue)('right-', 'spacing', 'right', {
canBeNegative: true,
}),
(0, native_twin_1.matchThemeValue)('absolute|relative', 'position', 'position'),
(0, native_twin_1.matchThemeValue)('z-', 'zIndex', 'zIndex', {
canBeNegative: true,
}),
];
//# sourceMappingURL=position.js.map
;