add custom inject thing

This commit is contained in:
Cloudburst 2023-01-22 11:32:47 +01:00
parent 3a81a8a638
commit ffcad484bc
3 changed files with 13 additions and 0 deletions

View file

@ -29,6 +29,12 @@ jobs:
- uses: retypeapp/action-build@latest - uses: retypeapp/action-build@latest
id: retypebuild id: retypebuild
- name: Inject custom css and js
run: |
cd ${{ steps.retypebuild.outputs.retype-output-path }}
cat .inject/style.css >> resources/css/retype.css
cat .inject/code.js >> resources/js/retype.js
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1

0
.inject/code.js Normal file
View file

7
.inject/style.css Normal file
View file

@ -0,0 +1,7 @@
.simplebar-content li img {
filter: invert(1);
}
.dark .simplebar-content li img {
filter: none;
}