Skip to content

Commit

Permalink
fix css-loader issues in docusaurus sass plugin after deps upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Feb 4, 2021
1 parent 3a866bb commit d403e81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@docusaurus/plugin-pwa": "2.0.0-alpha.dbfa256a7",
"@docusaurus/preset-classic": "2.0.0-alpha.dbfa256a7",
"clsx": "^1.1.1",
"docusaurus-plugin-sass": "^0.1.11",
"docusaurus-plugin-sass": "git+https://github.com/slorber/docusaurus-plugin-sass.git#patch-2",
"fs-extra": "^9.0.1",
"globby": "^11.0.1",
"react": "^16.10.2",
Expand Down
8 changes: 4 additions & 4 deletions website/static/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ div.jest-card-front {

div.jest-card-back {
background-color: #c2a813;
background-image: url(/img/running-card-background.png);
background-image: url('@site/static/img/running-card-background.png');
background-size: 20px;
border: 5px solid #c2a813;
backface-visibility: hidden;
Expand Down Expand Up @@ -256,7 +256,7 @@ div.jest-card-pass .jest-card-logo-container {
div.jest-card-pass .jest-card-logo {
width: 90%;
height: 90%;
background-image: url(/img/jest-card-pass.svg);
background-image: url(@site/static/img/jest-card-pass.svg);
transform: rotate(-65deg);
background-size: 65% 65%;
background-position: 50% 75%;
Expand All @@ -269,15 +269,15 @@ div.jest-card-fail .jest-card-logo-container {
div.jest-card-fail .jest-card-logo {
background-position: 50% 65%;
background-size: 65% 65%;
background-image: url(/img/jest-card-fail.svg);
background-image: url(@site/static/img/jest-card-fail.svg);
}

div.jest-card-run .jest-card-logo-container {
background-color: white;
}

div.jest-card-run .jest-card-logo {
background-image: url(/img/jest-card-run.svg);
background-image: url(@site/static/img/jest-card-run.svg);
}

@keyframes spin {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10836,15 +10836,15 @@ __metadata:
languageName: node
linkType: hard

"docusaurus-plugin-sass@npm:^0.1.11":
"docusaurus-plugin-sass@git+https://github.com/slorber/docusaurus-plugin-sass.git#patch-2":
version: 0.1.11
resolution: "docusaurus-plugin-sass@npm:0.1.11"
resolution: "docusaurus-plugin-sass@https://github.com/slorber/docusaurus-plugin-sass.git#commit=1cb0a8d9e0f1a553782fe931a821d5b7cf8c6d20"
dependencies:
node-sass: ^4.13.1
sass-loader: ^10.0.2
peerDependencies:
"@docusaurus/core": ^2.0.0
checksum: 2ac96c2d3afa4a73d96774cb59e814f53c22f3b6cfd96f7c844c503198bef0c22ca5b392f81870cf17df50c39b01f558f4f6d7757fab921973163d3a812b8c0d
checksum: 3b577d5e41bdebbbf80b8152b634627c2db0b1c12027a2841f59ec44c34fe69bfeb9e9862115d895f131b08ab91e3010e9fcd98370c372c17b292b5889d80c18
languageName: node
linkType: hard

Expand Down Expand Up @@ -16124,7 +16124,7 @@ fsevents@~2.3.1:
"@docusaurus/plugin-pwa": 2.0.0-alpha.dbfa256a7
"@docusaurus/preset-classic": 2.0.0-alpha.dbfa256a7
clsx: ^1.1.1
docusaurus-plugin-sass: ^0.1.11
docusaurus-plugin-sass: "git+https://github.com/slorber/docusaurus-plugin-sass.git#patch-2"
fs-extra: ^9.0.1
globby: ^11.0.1
graphql: ^15.3.0
Expand Down

0 comments on commit d403e81

Please sign in to comment.