ajoy-style-rules
v1.0.0
Published
CLI to generate style rules for React and React Native
Maintainers
Readme
AJOY STYLE RULES
A simple CLI tool to generate a clean design system for React or React Native.
Installation
npm install ajoy-style-rulesOr run directly:
npx ajoy-style-rulesUsage
Run the CLI:
npx ajoy-style-rulesYou will be prompted:
Choose your platform
> React (Web)
React NativeOutput
Based on your selection, a theme file will be created in your project:
React
theme.web.jsReact Native
theme.native.jsExample
import theme from "./theme";
const styles = {
container: {
backgroundColor: theme.bg.base,
padding: theme.spacing.lg,
},
};Features
- Clean design system
- Light & Dark themes
- Ready for production
- Works with React & React Native
Notes
- The file will be created in your current project folder
- Existing files will not be overwritten
Author
Ajoy Das
