Custom Styling
There are two ways to customize the appearance of VistaView:
- Update CSS variables - Quick customization using existing variables
- Create a custom CSS file - Full theme with custom styling
Method 1: Update CSS Variables
Section titled “Method 1: Update CSS Variables”The simplest way to customize VistaView is by overriding CSS variables in your own stylesheet.
Import after the base styles:
See the CSS Variables reference for all available variables.
Method 2: Create a Custom Theme
Section titled “Method 2: Create a Custom Theme”For more control, create a complete custom theme file that includes both variable overrides and custom styling.
Import after the base styles:
Accessibility Features
Section titled “Accessibility Features”Automatic Reduced Motion Support
Section titled “Automatic Reduced Motion Support”VistaView detects the browser’s prefers-reduced-motion setting and automatically disables slide transitions. This happens at runtime - no CSS configuration needed.
High Contrast Mode
Section titled “High Contrast Mode”Next Steps
Section titled “Next Steps”- Review CSS variables reference
- Explore pre-built themes
- Check out configuration options