mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
* Remove bootstrap-3 entrypoint * Rename bootstrap-5 entrypoint to bootstrap * Restore entrypoints * Remove `bootstrap-5` and `bootstrap-3` entrypoints and a single `bootstrap.ts` file is now the default entrypoint * Update `bootstrap-5` component imports to `bootstrap` * Update `bootstrap-5` CSS imports to `bootstrap` * Remove the `isBootstrap5` utility * Remove `bootstrapVersion` * Remove `ol-bootstrapVersion` * Remove getCssThemeModifier * Update path and rename * Source format * Remove Bootstrap v3 and Bootstrap v5 alias npm packages * Remove bootstrap argument * Remove unused files * Update with the latest split tests * Remove remaining bootstrap5PageStatus * Update path GitOrigin-RevId: 7acda2f80114d2de8699e1f06729a2a29218e284
55 lines
1.8 KiB
SCSS
55 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/scss/functions';
|
|
|
|
// Overrides for Bootstrap 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/scss/variables';
|
|
@import 'bootstrap/scss/variables-dark';
|
|
|
|
// Include remainder of required parts
|
|
@import 'bootstrap/scss/maps';
|
|
@import 'bootstrap/scss/mixins';
|
|
@import 'bootstrap/scss/utilities';
|
|
|
|
// Layout & components
|
|
@import 'bootstrap/scss/root';
|
|
@import 'bootstrap/scss/reboot';
|
|
@import 'bootstrap/scss/transitions';
|
|
@import 'bootstrap/scss/type';
|
|
@import 'bootstrap/scss/images';
|
|
@import 'bootstrap/scss/containers';
|
|
@import 'bootstrap/scss/grid';
|
|
@import 'bootstrap/scss/tables';
|
|
@import 'bootstrap/scss/forms';
|
|
@import 'bootstrap/scss/buttons';
|
|
@import 'bootstrap/scss/dropdown';
|
|
@import 'bootstrap/scss/button-group';
|
|
@import 'bootstrap/scss/badge';
|
|
@import 'bootstrap/scss/list-group';
|
|
@import 'bootstrap/scss/modal';
|
|
@import 'bootstrap/scss/tooltip';
|
|
@import 'bootstrap/scss/popover';
|
|
@import 'bootstrap/scss/spinners';
|
|
@import 'bootstrap/scss/card';
|
|
@import 'bootstrap/scss/close';
|
|
@import 'bootstrap/scss/nav';
|
|
@import 'bootstrap/scss/navbar';
|
|
@import 'bootstrap/scss/offcanvas';
|
|
|
|
// Helpers
|
|
@import 'bootstrap/scss/helpers';
|
|
|
|
// Utilities
|
|
@import 'bootstrap/scss/utilities/api';
|
|
|
|
// Mixins
|
|
@import 'bootstrap/scss/mixins/breakpoints';
|