mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-11 23:32:22 -05:00
ce0fa69402
Bootstrap 5 Sass code tidy GitOrigin-RevId: 550add757c5bf1476446ad31c386c0a4e5522a9e
54 lines
1.8 KiB
SCSS
54 lines
1.8 KiB
SCSS
// Only include the parts of Bootstrap we need to minimize bundle size
|
|
|
|
// Include functions first (enabling manipulation of colors, SVGs, calc, etc. in the variable overrides)
|
|
@import 'bootstrap-5/scss/functions';
|
|
|
|
// Overrides for Bootstrap 5 Sass variables. These have to be included before
|
|
// Bootstrap itself because Bootstrap uses them to create the CSS variables it
|
|
// uses, and in calculations to determine, for example, what color text to use
|
|
// on a button based on contrast.
|
|
@import '../foundations/all';
|
|
@import '../abstracts/all';
|
|
|
|
// Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
|
|
@import 'bootstrap-5/scss/variables';
|
|
@import 'bootstrap-5/scss/variables-dark';
|
|
|
|
// Include remainder of required parts
|
|
@import 'bootstrap-5/scss/maps';
|
|
@import 'bootstrap-5/scss/mixins';
|
|
@import 'bootstrap-5/scss/utilities';
|
|
|
|
// Layout & components
|
|
@import 'bootstrap-5/scss/root';
|
|
@import 'bootstrap-5/scss/reboot';
|
|
@import 'bootstrap-5/scss/transitions';
|
|
@import 'bootstrap-5/scss/type';
|
|
@import 'bootstrap-5/scss/images';
|
|
@import 'bootstrap-5/scss/containers';
|
|
@import 'bootstrap-5/scss/grid';
|
|
@import 'bootstrap-5/scss/tables';
|
|
@import 'bootstrap-5/scss/forms';
|
|
@import 'bootstrap-5/scss/buttons';
|
|
@import 'bootstrap-5/scss/dropdown';
|
|
@import 'bootstrap-5/scss/button-group';
|
|
@import 'bootstrap-5/scss/badge';
|
|
@import 'bootstrap-5/scss/list-group';
|
|
@import 'bootstrap-5/scss/modal';
|
|
@import 'bootstrap-5/scss/tooltip';
|
|
@import 'bootstrap-5/scss/popover';
|
|
@import 'bootstrap-5/scss/spinners';
|
|
@import 'bootstrap-5/scss/card';
|
|
@import 'bootstrap-5/scss/close';
|
|
@import 'bootstrap-5/scss/nav';
|
|
@import 'bootstrap-5/scss/navbar';
|
|
@import 'bootstrap-5/scss/offcanvas';
|
|
|
|
// Helpers
|
|
@import 'bootstrap-5/scss/helpers';
|
|
|
|
// Utilities
|
|
@import 'bootstrap-5/scss/utilities/api';
|
|
|
|
// Mixins
|
|
@import 'bootstrap-5/scss/mixins/breakpoints';
|