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.scssBootstrap 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?
