bootstrap.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Only include the parts of Bootstrap we need to minimize bundle size
  2. // Include functions first (enabling manipulation of colors, SVGs, calc, etc. in the variable overrides)
  3. @import 'bootstrap-5/scss/functions';
  4. // Overrides for Bootstrap 5 Sass variables. These have to be included before
  5. // Bootstrap itself because Bootstrap uses them to create the CSS variables it
  6. // uses, and in calculations to determine, for example, what color text to use
  7. // on a button based on contrast.
  8. @import 'foundations/all';
  9. @import 'abstracts/all';
  10. // Include remainder of required Bootstrap stylesheets (including any separate color mode stylesheets)
  11. @import 'bootstrap-5/scss/variables';
  12. @import 'bootstrap-5/scss/variables-dark';
  13. // Include remainder of required parts
  14. @import 'bootstrap-5/scss/maps';
  15. @import 'bootstrap-5/scss/mixins';
  16. @import 'bootstrap-5/scss/utilities';
  17. // Layout & components
  18. @import 'bootstrap-5/scss/root';
  19. @import 'bootstrap-5/scss/reboot';
  20. @import 'bootstrap-5/scss/type';
  21. @import 'bootstrap-5/scss/images';
  22. @import 'bootstrap-5/scss/containers';
  23. @import 'bootstrap-5/scss/grid';
  24. @import 'bootstrap-5/scss/buttons';
  25. @import 'bootstrap-5/scss/dropdown';
  26. @import 'bootstrap-5/scss/modal';
  27. @import 'bootstrap-5/scss/tooltip';
  28. @import 'bootstrap-5/scss/spinners';
  29. // Helpers
  30. @import 'bootstrap-5/scss/helpers';
  31. // Utilities
  32. @import 'bootstrap-5/scss/utilities/api';
  33. // Components custom style
  34. @import 'components/all';