Skip to content

Commit

Permalink
Update css generation, ignore stylelint issues for now with --force.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Aug 29, 2024
1 parent 16e4646 commit 04350b6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 117 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = function(grunt) { // jshint ignore:line
decachephp += 'require(\'' + configfile + '\');';
decachephp += 'purge_all_caches();';

const sass = require('node-sass');
const sass = require('sass');

// Project configuration.
grunt.initConfig({
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"grunt-exec": "3.0.0",
"grunt-sass": "3.1.0",
"grunt-stylelint": "^0.19.0",
"node-sass": "9.0.0",
"semver": "7.6.0",
"stylelint": "^15.11.0",
"sass": "1.77.8",
"semver": "7.6.3",
"stylelint": "^16.9.0",
"stylelint-checkstyle-formatter": "0.1.2",
"stylelint-csstree-validator": "^3.0.0",
"@xmldom/xmldom": ">=0.8.10",
"xpath": "0.0.32"
"xpath": "0.0.34"
},
"engines": {
"node": ">=20.11.0 <21"
Expand Down
2 changes: 1 addition & 1 deletion scss/_progress_chart.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $doughnut-fill-colour: #ff7518;

@for $i from 1 through 100 {
&.percent-#{$i} {
stroke-dashoffset: $doughnut-dasharray - ($i / 100 * $doughnut-dasharray);
stroke-dashoffset: calc($doughnut-dasharray - ($i / 100 * $doughnut-dasharray));
}
}
}
Expand Down
Loading

0 comments on commit 04350b6

Please sign in to comment.