Skip to content

fix: use selectedForeground's computer colour (or theme's selectedForeground value) for the colour of text in permission selection (resolves #7246) - #7251

Merged
rekram1-node merged 1 commit into
anomalyco:devfrom
ariane-emory:fix/permission-prompt-contrast-7246
Jan 7, 2026
Merged

Conversation

@ariane-emory

Copy link
Copy Markdown
Contributor

This PR applies the same fix that was applied in the (long since merged) #4369 to solve the similar issue with the text colour when selecting responses to permission promps.

Before

Screenshot 2026-01-07 at 1 53 49 PM

After

Screenshot 2026-01-07 at 3 34 44 PM

Resolves#7246.

Calculate contrast color based on actual button background (warning) instead
of primary color when theme background is transparent. Fixesanomalyco#7246.
@ariane-emory
ariane-emory marked this pull request as ready for review January 7, 2026 20:35
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@rekram1-node

Copy link
Copy Markdown
Collaborator

/review

@github-actions

Copy link
Copy Markdown
Contributor

lgtm

@rekram1-node
rekram1-node merged commit 03eabb1 into anomalyco:devJan 7, 2026
3 checks passed
triklozoid pushed a commit to triklozoid/opencode that referenced this pull request Feb 2, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
…eground value) for the colour of text in permission selection (resolvesanomalyco#7246) (anomalyco#7251)
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
…eground value) for the colour of text in permission selection (resolves #7246) (#7251)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Selected permission option result unreadable when background colour is "none"

2 participants

@ariane-emory@rekram1-node