Theming
Mijn-UI uses Tawilind CSS variables for themeing.
Creating your own theme
The theme builder is currently not available and will be available soon. Stay tuned for updates!
Variables List
-
main
colors for backgrounds, text, and borders across the UI. -
surface
colors For panels, cards, and other contained elements. -
primary
colors for buttons, links, and other primary actions. -
secondary
colors for buttons, links, and other primary actions. -
accent
colors For interactive elements like hover effects. -
muted
colors for disabled or inactive elements. -
border
andring
colors -
input-border
Color Used in form fields like Input, Select, and Textarea.
Status Colors
-
info
Color for background, text, and text color when the background is filled for informational elements. -
warning
Color for background, text, and text color when the background is filled for warning elements. -
danger
Color for background, text, and text color when the background is filled for danger elements. -
success
Color for background, text, and text color when the background is filled for success elements.
Adding New Colors
To add new colors, you need to add them to your CSS file and to your tailwind.config.js file.
You can now use the new colors in your components.
Other Color Formats
You can also use other color formats if you prefer. Tailwind CSS supports various color formats including RGB, RGBA, and HSL.
For more information on using different color formats, refer to the Tailwind CSS documentation.