Skip to content

Get rid of Bootstrap style imports `client/branded/src/global-styles/nav.scss`

Administrator requested to merge contractors/SG-29253 into main

Created by: gitstart-sourcegraph

Problem

We depend on Bootstrap styles in our global styles a lot. But we don't plan to move forward with Bootstrap because we're working on our design system called Wildcard. To ease the transition to our styles and gain more control over visual changes, we want to move Bootstrap styles that we need into our codebase and eventually drop Bootstrap dependency.

Refs

Gitstart Task SourceGraph Issue

Success criteria

All Bootstrap CSS rules that we need are incorporated in our codebase.PR.

Implementation details

Let's start with these SCSS files and create a separate PR for each one:

  1. client/branded/src/global-styles/nav.scss

Notes:

  1. We want to migrate away from SCSS variables to CSS variables when we bring Bootstrap styles to our codebas
  • Some Bootstrap SCSS variables redefined on our side are located here: client/branded/src/global-styles/index.scss. Keep that in mind while migrating to CSS variables.
  1. We don't need to bring all styles defined in the imported Bootstrap package. Check what styles do we use in the codebase first.

Time estimate

  • Pull requests with ~450 lines changed should take 6 hours at maximum. Ping the reviewer in the spec pull request if time-consuming changes are required.

  • Split the work into multiple pull requests if the total diff is bigger than 450 lines of code.

Merge request reports

Loading