nextcloud / nextcloud/files_pdfviewer

Adjust pdfviewer theming based on accessibility usersetting

Open
#204 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop design enhancement papercut
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.