diff --git a/.github/workflows/retype_build.yml b/.github/workflows/retype_build.yml index 5adb825..70baac4 100644 --- a/.github/workflows/retype_build.yml +++ b/.github/workflows/retype_build.yml @@ -29,6 +29,12 @@ jobs: - uses: retypeapp/action-build@latest 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 uses: actions/upload-pages-artifact@v1 diff --git a/.inject/code.js b/.inject/code.js new file mode 100644 index 0000000..e69de29 diff --git a/.inject/style.css b/.inject/style.css new file mode 100644 index 0000000..45c8ff4 --- /dev/null +++ b/.inject/style.css @@ -0,0 +1,7 @@ +.simplebar-content li img { + filter: invert(1); +} + +.dark .simplebar-content li img { + filter: none; +} \ No newline at end of file