A comprehensive UI/UX enhancement package for ERPNext that provides modern design elements, improved user experience, and enhanced visual appeal.
- Color Palette: Modern, accessible colors
- Typography: Improved font system
- Spacing: Consistent spacing system
- Shadows: Subtle depth effects
- Border Radius: Modern rounded corners
- Modern Cards: Hover effects and transitions
- Glassmorphism: Modern glass effects
- Enhanced Buttons: Ripple effects
- Modern Forms: Improved input styling
- Enhanced Tables: Better readability
- Modern Navigation: Improved sidebar
- Smooth Animations: Fade-in and slide-up
- Hover Effects: Subtle transformations
- Loading States: Modern spinners
- Responsive Design: Mobile-friendly
- Dark Mode: Automatic detection
- Multiple Themes: Light, Dark, and Custom themes
- Theme Switcher: Easy theme switching
- Custom CSS: Support for custom CSS code
- Color Customization: Primary and secondary color options
- Automatic Update Checks: Daily monitoring for new versions
- Release Notes: View what's new in updates
- Upgrade Instructions: Step-by-step guidance
- Version Tracking: Monitor current and available versions
- UI/UX Analysis: Intelligent recommendations for improvements
- Category-based Suggestions: Theme, Performance, Accessibility, UX
- Priority System: High, Medium, Low priority suggestions
- Action Guidance: Clear steps for implementing suggestions
- Modern Color Palette: Carefully selected colors for better visual hierarchy
- Typography: Improved font system with better readability
- Spacing System: Consistent spacing using CSS custom properties
- Border Radius: Modern rounded corners for a softer look
- Shadows: Subtle shadows for depth and elevation
- Modern Cards: Hover effects and smooth transitions
- Glassmorphism: Modern glass-like effects
- Enhanced Buttons: Ripple effects and better interactions
- Modern Forms: Improved input styling and focus states
- Enhanced Tables: Better readability and hover effects
- Modern Navigation: Improved sidebar and navigation elements
- Smooth Animations: Fade-in and slide-up animations
- Hover Effects: Subtle transformations on hover
- Loading States: Modern loading spinners
- Responsive Design: Mobile-friendly interface
- Dark Mode Support: Automatic dark mode detection
- Multiple Themes: Light, Dark, and Custom themes
- Theme Switcher: Easy theme switching
- Custom CSS: Support for custom CSS code
- Color Customization: Primary and secondary color options
- ERPNext v15 or higher
- Frappe Framework v15 or higher
-
Clone the App
cd apps git clone https://github.com/mknoufi/ui-ux-upgrade.git -
Install the App
bench --site your-site.com install-app ui_ux_upgrade
-
Build Assets
bench build --app ui_ux_upgrade
-
Restart Services
bench restart
ui_ux_upgrade/
βββ ui_ux_upgrade/
β βββ config/
β β βββ desktop.py # Desktop configuration
β βββ install/
β β βββ after_install.py # Installation setup
β βββ public/
β β βββ css/
β β β βββ modern-ui.css # Main CSS file
β β βββ js/
β β βββ modern-ui.js # Main JavaScript file
β βββ __init__.py
βββ hooks.py # App configuration
βββ modules.txt # Module definitions
βββ README.md # This file
The app automatically enhances existing ERPNext elements with modern styling. No additional configuration is required.
Navigate to UI Settings to configure:
- Enable/disable animations
- Choose theme (Default, Dark, Light, Custom)
- Enable glassmorphism effects
- Enable shadows
Use Theme Manager to:
- Create custom themes
- Set primary and secondary colors
- Add custom CSS code
Access the enhanced dashboard at /modern-dashboard for:
- Improved card layouts
- Better data visualization
- Enhanced interactions
/* Modern Cards */
.modern-card
/* Glassmorphism Effect */
.glassmorphism
/* Modern Buttons */
.btn-modern
.btn-modern-primary
.btn-modern-secondary
/* Modern Forms */
.form-modern
.input-modern
/* Modern Tables */
.table-modern
/* Modern Alerts */
.alert-modern
.alert-modern-success
.alert-modern-warning
.alert-modern-error/* Fade In Animation */
.fade-in
/* Slide Up Animation */
.slide-up
/* Loading Spinner */
.spinner-modern- Go to Theme Manager
- Click New
- Set theme name and colors
- Add custom CSS if needed
- Save and apply
- Navigate to UI Settings
- Configure your preferences:
- Enable Animations: Toggle smooth animations
- Modern Theme: Choose your preferred theme
- Enable Glassmorphism: Toggle glass effects
- Enable Shadows: Toggle shadow effects
/* Add to Theme Manager or custom CSS file */
:root {
--primary-color: #your-color;
--secondary-color: #your-color;
}
.custom-element {
background: var(--primary-color);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
}// Access the ModernUI instance
window.modernUI.showNotification('Hello World!', 'success');
// Show loading state
const hideLoading = window.modernUI.showLoading(element);
// ... do something
hideLoading();The app includes responsive design features:
- Mobile-friendly navigation
- Responsive cards and tables
- Touch-friendly interactions
- Adaptive layouts
Automatic dark mode support:
- Detects system preference
- Smooth theme transitions
- Consistent color scheme
- Preserved user preferences
cd apps/ui_ux_upgrade
git pull origin main
bench build --app ui_ux_upgrade
bench restart- v1.0.0: Initial release with modern design system
- v1.1.0: Added theme manager and customization options
- v1.2.0: Enhanced animations and interactions
-
Styles Not Loading
bench build --app ui_ux_upgrade bench restart
-
JavaScript Errors
- Check browser console for errors
- Ensure all assets are built
- Clear browser cache
-
Theme Not Applying
- Check UI Settings configuration
- Verify theme exists in Theme Manager
- Clear browser cache
Enable debug mode in UI Settings to see detailed logs and error messages.
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
For support and questions:
- Create an issue on GitHub
- Contact: support@emart.com
- Documentation: [Link to docs]
- ERPNext Community
- Frappe Framework Team
- Modern UI/UX Design Principles
- CSS Grid and Flexbox
Made with β€οΈ by E-Mart Systems