1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6372: Restructure theme files & build process to avoid SCSS collisions

This commit is contained in:
checktheroads
2021-05-07 16:12:27 -07:00
parent 4dbe047512
commit 252bdcbbe0
17 changed files with 72 additions and 37 deletions

View File

@@ -27,8 +27,10 @@ if (args.includes('--no-cache')) {
// Style (SCSS) bundle jobs. Generally, everything should be bundled into netbox.css from main.scss
// unless there is a specific reason to do otherwise.
const styles = [
['main.scss', 'netbox.css'],
['rack_elevation.scss', 'rack_elevation.css'],
['_external.scss', 'netbox-external.css'],
['_light.scss', 'netbox-light.css'],
['_dark.scss', 'netbox-dark.css'],
['_elevations.scss', 'rack_elevation.css'],
];
// Script (JavaScript) bundle jobs. Generally, everything should be bundled into netbox.js from