mirror of
https://github.com/recloudstream/csdocs.git
synced 2024-08-14 22:46:50 +00:00
add custom inject thing
This commit is contained in:
parent
3a81a8a638
commit
ffcad484bc
3 changed files with 13 additions and 0 deletions
6
.github/workflows/retype_build.yml
vendored
6
.github/workflows/retype_build.yml
vendored
|
@ -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
|
||||
|
|
0
.inject/code.js
Normal file
0
.inject/code.js
Normal file
7
.inject/style.css
Normal file
7
.inject/style.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
.simplebar-content li img {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.dark .simplebar-content li img {
|
||||
filter: none;
|
||||
}
|
Loading…
Reference in a new issue