Get rid of Bootstrap style imports `client/branded/src/global-styles/nav.scss`
Created by: gitstart-sourcegraph
Problem statement
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.
Ref
https://github.com/sourcegraph/sourcegraph/issues/29200
Success criteria
All Bootstrap CSS rules that we need are incorporated in our codebase.
Implementation details
Let's start with these SCSS files and create a separate PR for each one:
client/branded/src/global-styles/nav.scss
Notes:
- We want to migrate away from SCSS variables to CSS variables when we bring Bootstrap styles to our codebase.
- 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.
- Some Bootstrap SCSS variables redefined on our side are located here:
- 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.