nextcloud / nextcloud/files_pdfviewer
Adjust pdfviewer theming based on accessibility usersetting
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 108
- Forks
- 61
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 29
Description
Hi,
The following PR will probably soon be merged: https://github.com/mozilla/pdf.js/pull/11077 which will bring theming support and a light and dark mode, afaik.
So I guess it would be great if the theming could be automatically toggled depending on the accessibility usersetting (dark/normal).
Cheers!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked pdf.js PR #11077 to understand the available light and dark theming support, then inspect how this repository integrates the PDF viewer. Determine how the accessibility user setting is exposed and verify that the viewer theme follows its normal or dark value. Done means the theme switches automatically for both settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100