Styling

FrontWing uses SCSS and Bootstrap 5 for styling. All custom styles are currently centralized in a single SCSS file: main.scss, located in app/assets/scss/.

Structure & Setup

At the moment, the project uses just one SCSS file – main.scss – which is imported in the main app entry. This file:

  • Imports fonts (e.g. Google Fonts – Inter)

  • Sets base variables (e.g. Bootstrap colors)

  • Overrides Bootstrap components (e.g. buttons, breadcrumbs)

You can easily extend this structure by creating more SCSS files and organizing them into folders inside assets/scss/, e.g.:

assets/
└── scss/
    β”œβ”€β”€ main.scss
    β”œβ”€β”€ _variables.scss
    β”œβ”€β”€ _buttons.scss
    └── components/
        └── _breadcrumb.scss

Bootstrap Intergration

Bootstrap is included via npm and used as the base styling system. FrontWing overrides it using CSS variables directly in SCSS – for example:

No Sass $variables are used at the moment – everything is customized via native CSS variables, making it simpler to override styles on the fly.

Fonts

The Inter font is imported at the top of main.scss from Google Fonts:

Overrriding Components

You can override Bootstrap components by targeting their classes and using SCSS nesting:

Or:

These overrides are currently kept in main.scss, but you can extract them into component-specific files later.

Last updated

Was this helpful?