A complete ecosystem for building sophisticated theme transformation capabilities in web applications
Neomorph is a comprehensive solution that enables developers to quickly add advanced theme customization and transformation capabilities to their web applications. With just a few lines of code, users can design, preview, and apply dynamic themes in real-time.
- 🔧 Universal SDK - Easy integration with any web framework
- 🎨 Visual Theme Designer - Drag-and-drop interface for theme creation
- ⚡ Real-time Preview - See changes instantly as you design
- 📱 Responsive Design - Works seamlessly across all devices
- 🔌 Simple Integration - Just add one script tag to get started
- 💾 Theme Export/Import - Save and share themes as JSON
- 🎯 CSS Variable Based - Works with any application using CSS custom properties
Your web application must use CSS custom properties (CSS variables) for theming. For example:
:root {
--primary-color: #3498db;
--secondary-color: #2ecc71;
--background-color: #ffffff;
--text-color: #333333;
--border-radius: 4px;
--font-size-base: 16px;
}
.button {
background-color: var(--primary-color);
color: var(--text-color);
border-radius: var(--border-radius);
font-size: var(--font-size-base);
}The project consists of three main components:
The core JavaScript SDK that provides APIs for advanced theme transformation and management.
Key Features:
- Theme validation and parsing
- CSS variable management
- Event system for theme changes
- Export/import functionality
- Framework-agnostic design
A sophisticated web application that provides the visual interface for dynamic theme creation and transformation.
Key Features:
- Color picker with accessibility validation
- Typography controls
- Spacing and layout adjustments
- Real-time preview
- Theme templates and presets
- Export to multiple formats
A lightweight integration script that weaves theme transformations seamlessly into your application.
Key Features:
- Automatic CSS variable detection
- Cross-origin communication
- Theme persistence
- Hot-swapping capabilities
- Minimal performance impact
Note: The project is currently in development. Usage examples and API documentation will be added once the interfaces are finalized.
- SaaS Applications - Let users customize their dashboard themes
- E-commerce Platforms - Allow merchants to brand their stores
- Content Management Systems - Enable theme customization for websites
- White-label Products - Provide branding capabilities to clients
- Design Systems - Create theme variations for different brands
- Node.js 18+
- pnpm (recommended) or npm
- Modern browser with ES2020 support
Note: Setup instructions will be finalized once the project structure is implemented.
# Clone the repository
git clone https://github.com/sinha-sahil/neomorph.git
cd neomorph
# Setup instructions coming soon...neomorph/
├── packages/
│ ├── sdk/ # @neomorph/sdk - Core transformation SDK
│ ├── loomer/ # @neomorph/loomer - Theme designer UI
│ └── weaver/ # @neomorph/weaver - Integration script
├── examples/ # Integration examples
└── docs/ # Documentation
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Add tests for new functionality
- Run the test suite:
pnpm test - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Sahil Sinha