Skip to content

Commit

Permalink
Switch to using BeforeTemplateRenderedListener for injecting theme me…
Browse files Browse the repository at this point in the history
…tadata into body tag (#345)

Switch to using BeforeTemplateRenderedListener for injecting theme metadata into body tag, instead of trying to use the theming app for it. Use the dark theme for enforcement instead, as the theming app now requires the enforced app to be a valid theme.
  • Loading branch information
mwalbeck authored Aug 4, 2024
1 parent 1ce3193 commit 157f777
Show file tree
Hide file tree
Showing 10 changed files with 545 additions and 321 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Run prettier
if: ${{ always() }}
run: npm run prettier
- name: Run stylelint
continue-on-error: true
if: ${{ always() }}
run: npm run stylelint
# - name: Run stylelint
# continue-on-error: true
# if: ${{ always() }}
# run: npm run stylelint
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"request": "launch",
"port": 9003,
"pathMappings": {
"/var/www/html/lib/public": "${workspaceFolder}/vendor/christophwurst/nextcloud/OCP",
"/var/www/html/lib/public": "${workspaceFolder}/vendor/nextcloud/ocp/OCP",
"/var/www/html/custom_apps/breezedark": "${workspaceFolder}/../breezedark"
}
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"require": {},
"require-dev": {
"nextcloud/coding-standard": "^0.5.0",
"christophwurst/nextcloud": "^22"
"nextcloud/ocp": "^28"
}
}
Loading

0 comments on commit 157f777

Please sign in to comment.