SASS Variables
Vuetify provides a comprehensive set of SASS variables that allow you to customize the framework’s appearance at build time. These variables control everything from spacing and typography to borders and breakpoints.Getting Started
To customize SASS variables, create a SASS file that overrides the default values before importing Vuetify’s main stylesheet:Core Variables
Typography
Control font families, sizes, and text styles:Spacing
Vuetify uses a 4px base spacer with 16 steps by default:Custom Spacing Example
Custom Spacing Example
To use an 8px spacing system:This generates utility classes like
ma-1 (8px), ma-2 (16px), ma-3 (24px), etc.Borders
Customize border styles, widths, and radii:Opacity & States
Control opacity levels for interactive states:Breakpoints & Grid
Responsive Breakpoints
Define custom breakpoint values:Using Custom Breakpoints
Using Custom Breakpoints
Grid System
Customize grid behavior:Transitions & Animations
Control timing functions and durations:Component Sizing
Define size scales for components:Elevations
Customize shadow definitions:Complete Example
Here’s a comprehensive example of customizing multiple variables:Variable Reference
All SASS variables are located in/packages/vuetify/src/styles/settings/:
_variables.scss- Core variables (spacing, typography, borders)_colors.scss- Material color palette_elevations.scss- Shadow definitions_utilities.scss- Utility class configuration
SASS variables are evaluated at build time. For runtime customization, use theme configuration instead.