Skip to content

Commit

Permalink
Upgrade deps and adjust for Sass v1.79
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Oct 1, 2024
1 parent cd7069c commit 3f9dc3d
Show file tree
Hide file tree
Showing 3 changed files with 403 additions and 334 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@
"dependencies": {
"cheerio": "^1.0.0",
"colorjs.io": "^0.5.2",
"css-tree": "^2.3.1",
"css-tree": "^3.0.0",
"gulp-rename": "^2.0.0",
"gulp-svg-symbols": "^3.2.3",
"html": "^1.0.0",
"lunr": "^2.3.9",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.1.0",
"markdown-it-anchor": "^9.2.0",
"nunjucks": "^3.2.4",
"readable-stream": "^4.5.2",
"sassdoc-extras": "^3.0.0",
Expand All @@ -89,14 +89,14 @@
"accoutrement": "^4.0.4",
"autoprefixer": "^10.4.20",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-loader": "^9.2.1",
"chalk": "^4.1.2",
"core-js": "^3.38.1",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"cssremedy": "^0.1.0-beta.2",
"del": "^6.1.1",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-node": "^0.3.9",
"eslint-import-resolver-webpack": "^0.13.9",
Expand All @@ -121,26 +121,26 @@
"mocha": "^10.7.3",
"mocha-junit-reporter": "^2.2.1",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"postcss": "^8.4.45",
"nyc": "^17.1.0",
"postcss": "^8.4.47",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.3",
"sass": "^1.78.0",
"sass-embedded": "^1.78.0",
"sass-loader": "^16.0.1",
"sass": "^1.79.4",
"sass-embedded": "^1.79.4",
"sass-loader": "^16.0.2",
"sass-true": "^8.0.0",
"sassdoc": "^2.7.4",
"sinon": "^18.0.0",
"sinon": "^18.0.1",
"srcdoc-polyfill": "^1.0.0",
"stylelint": "^16.9.0",
"stylelint-config-standard-scss": "^13.1.0",
"svgo": "^3.3.2",
"webpack": "^5.94.0",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
},
"resolutions": {
"cdocparser": "^0.15.0"
},
"packageManager": "yarn@4.4.1"
"packageManager": "yarn@4.5.0"
}
14 changes: 9 additions & 5 deletions test/sass/utilities/_maps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ $colors-compiled: (
'black': #3b4042,
);
$darken: (
'brand-blue': #063646,
'light-gray': #ababab,
'gray': #252728,
'black': #0b0c0c,
'brand-blue': rgb(10.4, 101.6, 132),
'light-gray': rgb(177.6, 177.6, 177.6),
'gray': rgb(68, 72.8, 75.2),
'black': rgb(47.2, 51.2, 52.8),
);
tools.$sizes: (
'root': 20px,
Expand All @@ -45,7 +45,11 @@ $sizes-compiled: (
@include true.describe('each-value [function]') {
@include true.it('returns a map with values run through a given function') {
@include true.assert-equal(
each-value($colors-compiled, meta.get-function('darken'), 20%),
each-value(
$colors-compiled,
meta.get-function('scale', $module: 'color'),
$lightness: -20%
),
$darken,
$inspect: true
);
Expand Down
Loading

0 comments on commit 3f9dc3d

Please sign in to comment.