Skip to content

Commit

Permalink
UI: adjust SCSS Coding Guidelines for ILIAS 10. To compile the SCSS f…
Browse files Browse the repository at this point in the history
…iles without running into conflicts the repo's sass.js (in './node_modules/sass/') has to be used instead of the 'sass' command. (#8352)
  • Loading branch information
lukastocker authored Nov 6, 2024
1 parent 1fb8786 commit 6eecb28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/Guidelines_SCSS-Coding.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ Division with a slash (e.g. "10px / 2") outside of calc() is deprecated and MUST
CSS is obtained by using the latest Dart Sass compiler on delos.scss, e.g. like so:

```
sass templates/default/delos.scss templates/default/delos.css
./node_modules/sass/sass.js templates/default/delos.scss templates/default/delos.css
```

Note that the output heavily depends on the used sass version. You MUST use the latest release version of Dart Sass: https://github.com/sass/dart-sass/releases
Expand Down
4 changes: 2 additions & 2 deletions templates/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ up-to-date for fixes from the main repo.
Do not froget to re-compile the scss-file after each change. Switch to the delos scss folder and execute:

```
sass delos.scss mystyle.css
./node_modules/sass/sass.js delos.scss mystyle.css
```

or

```
sass --style=compressed delos.scss mystyle.css
./node_modules/sass/sass.js --style=compressed delos.scss mystyle.css
```

for a minified CSS version.
Expand Down

0 comments on commit 6eecb28

Please sign in to comment.