notohh
36bbb8603a
All checks were successful
flake check / check (push) Successful in 11m1s
fmt check / check (push) Successful in 1m6s
24 lines
481 B
JavaScript
24 lines
481 B
JavaScript
import { App, Utils } from './import.js';
|
|
import { Bar } from './js/main.js'
|
|
|
|
|
|
const scss = App.configDir + '/main.scss'
|
|
const css = App.configDir + '/style.css'
|
|
|
|
Utils.exec(`sass ${scss} ${css}`);
|
|
|
|
function reloadCss() {
|
|
console.log("scss updating");
|
|
Utils.exec(`sass ${scss} ${css}`);
|
|
App.resetCss();
|
|
App.applyCss(css);
|
|
}
|
|
|
|
Utils.monitorFile(`${App.configDir}/scss`, reloadCss, "directory");
|
|
|
|
export default {
|
|
style: css,
|
|
windows: [
|
|
Bar(2)
|
|
]
|
|
}
|