How to use Tailwind CSS theming on Shipixen
Shipixen provides built-in Tailwind CSS theming through its theme configuration panel and CSS variables. You can customize colors, typography, and components using the visual theme editor or by modifying the tailwind.config.js file directly.
Prerequisites
- Basic knowledge of Tailwind CSS
- Shipixen account and project
- Understanding of CSS custom properties
- Familiarity with component styling
Step-by-Step Instructions
Access the Theme Configuration
Configure Color Palette
Customize Typography Settings
Edit Component Themes
Configure Dark Mode
Add Custom CSS Variables
--variable-name: value. These variables can be referenced in your Tailwind classes and component styles throughout your Shipixen project.Export and Deploy Theme
tailwind.config.js and CSS files. Alternatively, click Deploy Changes to automatically apply the theme to your live site. Shipixen will regenerate all stylesheets and update your production deployment.Common Issues & Troubleshooting
Theme changes not appearing on the live site
Clear your browser cache and ensure you clicked Deploy Changes after making modifications. Check the deployment status in the Deployments tab to confirm the build completed successfully.
Custom colors not showing correct contrast ratios
Use Shipixen's built-in contrast checker in the color picker. Ensure your color combinations meet WCAG AA standards by maintaining a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text.
Dark mode colors appearing incorrect
Verify that dark mode colors are configured separately from light mode in the Dark Palette section. Check that components using custom CSS classes include proper dark: variants in their styling.
Fonts not loading properly after theme changes
Ensure Google Fonts are properly selected in the typography settings. If using custom fonts, verify they're uploaded correctly and check the network tab for any 404 errors when loading font files.