Skip to content

Commit 1c83c7c

Browse files
committed
ref(css): use sass for old css styles
1 parent b7f9c58 commit 1c83c7c

File tree

19 files changed

+956
-854
lines changed

19 files changed

+956
-854
lines changed

Gulpfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var paths = {
2727
output: 'src/main/xar-resources/resources/scripts/'
2828
},
2929
styles: {
30-
input: 'src/main/frontend/css/**',
30+
input: 'src/main/frontend/sass/*.{scss,sass}',
3131
output: 'src/main/xar-resources/resources/styles/'
3232
},
3333
svgs: {
@@ -287,10 +287,10 @@ var buildPack = function(done) {
287287

288288
// build highlight pack
289289
// see https://highlightjs.readthedocs.io/en/latest/building-testing.html
290-
// TODO currently building is bugged
290+
// TODO currently building is bugged when using npm
291291
let command = 'cd node_modules/highlight.js'
292292
+ ' && npm install'
293-
+ ' && node tools/build :common xquery'
293+
+ ' && node tools/build Apache CSS HTTP JavaScript Bash Makefile PHP Diff JSON Markdown Perl SQL HTML Java Nginx Shell Properties Less SCSS Puppet Dockerfile xquery'
294294

295295
exec(command, (err, stdout, stderr)=> {
296296
console.log(stderr)

package-lock.json

Lines changed: 114 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"gulp-flatmap": "^1.0.2",
3333
"gulp-header": "^2.0.7",
3434
"gulp-optimize-js": "^1.1.0",
35+
"gulp-postcss": "^8.0.0",
3536
"gulp-rename": "^1.4.0",
3637
"gulp-sass": "^4.0.2",
3738
"gulp-standard": "^12.0.0",

src/main/frontend/copy/styles/doc.css

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)