Files
overleaf-cep/services/web/frontend/stylesheets/main-style.scss
T
Rebeka Dekany 3f11776ecd Remove LESS stylesheets and dependencies (#27409)
* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
2025-08-06 08:05:38 +00:00

52 lines
1.4 KiB
SCSS

// Web fonts
@import '../fonts/noto-sans/noto-sans.css';
@import '../fonts/dm-mono/dm-mono.css';
@import '../fonts/merriweather/merriweather.css';
@import '../fonts/source-code-pro/source-code-pro.css';
@import '../fonts/STIXTwoMath/stix-two-math.css';
@import '../fonts/noto-serif/noto-serif.css';
@import '../fonts/open-dyslexic-mono/open-dyslexic-mono.css';
@import '../fonts/material-symbols/material-symbols.css';
// Vendor CSS
// TODO Bootstrap 5: Check whether this works with Bootstrap 5, and whether we can replace it
@import 'vendor/select/select';
// Bootstrap-related
// Note that files containing Bootstrap or Sass files that interact with
// Bootstrap's Sass variables must use @import rather than @use because
// Bootstrap relies on its variables, mixins etc. all being global.
// Include Bootstrap 5 itself, plus overrides and extend Bootstrap styles.
@import 'base/bootstrap';
// Extra colours for the website redesign
@import 'base/colors';
// Components custom style
@import 'components/all';
// Typography-related
@import 'base/typography';
// Custom helpers
@import 'helpers/all';
// Modals
@import 'modals/all';
// Pages custom style
@import 'pages/all';
// Link styles
@import 'base/links';
@import 'base/base';
// Page layout that isn't related to a particular component or page
@import 'base/layout';
// Module styles
// TODO: find a way for modules to add styles dynamically
@import 'modules/all';