Skip to content

Add support for link and visited link colors in themes#199

Open
tnajdek wants to merge 1 commit into
zotero:masterfrom
tnajdek:custom-theme-colors-for-links
Open

Add support for link and visited link colors in themes#199
tnajdek wants to merge 1 commit into
zotero:masterfrom
tnajdek:custom-theme-colors-for-links

Conversation

@tnajdek

@tnajdek tnajdek commented Mar 23, 2026

Copy link
Copy Markdown
Member

Extend themes to provide link colors (active and visited). Custom themes can also provide values, current custom themes will fallback to text-color, which means users of custom themes should see no difference (but can tweak the themes to add new colors)

Requires two new .ftl strings in zotero/zotero.

This is a fix for problem reported here: https://forums.zotero.org/discussion/130492/bug-links-are-invisible-in-themes, using snapshot of the page from the example:

DARK
before_after

SEPIA
before_after3

@AbeJellinek

Copy link
Copy Markdown
Member

This looks fine to me - @mrtcode?

@mrtcode

mrtcode commented Jun 26, 2026

Copy link
Copy Markdown
Member

Looks good overall, but this seems to regress Original theme + Reading Mode: links now render in the normal text color instead of staying visually distinguishable.

Screenshot 2026-06-26 at 12 08 06

@tnajdek tnajdek force-pushed the custom-theme-colors-for-links branch from 0f326ab to 5c5eaa4 Compare July 6, 2026 23:54
@tnajdek

tnajdek commented Jul 7, 2026

Copy link
Copy Markdown
Member Author

@mrtcode good catch, thanks! Fixed it and rebased.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants