Quasar’s theming system is built on SCSS variables that feed directly into the component library’s own stylesheets. Every color, surface shade, and semantic state in the Despacho Frontend flows from a single file:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fredy-rizo/despacho-frontend/llms.txt
Use this file to discover all available pages before exploring further.
src/css/quasar.variables.scss. Changing a value there ripples through every Quasar component that uses that token — buttons, badges, chips, alerts, and more — without touching individual component styles.
Design token file
The completesrc/css/quasar.variables.scss:
Color palette reference
All ten SCSS variables and their roles in the UI:| Variable | Hex value | Role |
|---|---|---|
$primary | #1368c7 | Main brand blue — primary buttons, active nav, links, focus rings |
$secondary | #42b441 | Mid-range green — secondary actions and supplementary highlights |
$accent | #abe648 | Bright lime — decorative badges and high-visibility CTA elements |
$buttom | #ff7110 | Orange — high-urgency CTA elements (note: typo in source, not $button) |
$dark | #1d1d1d | Dark mode surface color for cards, drawers, and toolbars |
$dark-page | #121212 | Dark mode page background — darker than $dark for depth hierarchy |
$positive | #21ba45 | Semantic success — success notifications, badges, form validation |
$negative | #c10015 | Semantic error/danger — destructive buttons, error banners |
$info | #31ccec | Sky blue — informational messages and neutral status indicators |
$warning | #f2c037 | Amber — warnings, permission issues, and caution notices |
How Quasar maps tokens to component props
Every SCSS variable listed above corresponds to a named color in Quasar’s design system. You reference them by name (lowercase, no$) in component color props and CSS utility classes:
Overriding and extending the palette
Open quasar.variables.scss
Navigate to
src/css/quasar.variables.scss. This is the only file you need to edit for global color changes.Change or add variables
Modify any existing value or add new SCSS variables for project-specific tokens:
Line Awesome icons
The Line Awesome icon font is enabled inquasar.config.js:
las (solid), lar (regular), or lab (brands) prefixes:
Line Awesome uses the same class-name conventions as Font Awesome 5, so any Font Awesome 5 icon name works if you substitute the
fa prefix with la. Browse the full catalog at icons8.com/line-awesome.Global stylesheet — app.scss
src/css/app.scss is loaded via the css array in quasar.config.js:
app.scss imports four Google Fonts (with one duplicate import):
app.scss:
Using colors in custom component styles
Becausequasar.variables.scss is processed at build time, any .vue file’s <style lang="scss"> block can import and use these variables directly:
Quasar automatically makes
quasar.variables.scss available in every component’s SCSS scope — you do not need to manually @import the variables file. The Quasar CLI handles the injection.Related pages
Quasar Config
Full reference for
quasar.config.js including boot, extras, and build settings.Environment Config
Configure the API base URL and inject runtime variables via
build.env and dotenv.Project Structure
How source files, CSS, and assets are organized in the repository.
