Skip to content

fix: circle control contrast#1835

Merged
pedrolamas merged 2 commits into
fluidd-core:developfrom
pedrolamas:pedrolamas/fix-1312
May 11, 2026
Merged

fix: circle control contrast#1835
pedrolamas merged 2 commits into
fluidd-core:developfrom
pedrolamas:pedrolamas/fix-1312

Conversation

@pedrolamas
Copy link
Copy Markdown
Member

@pedrolamas pedrolamas commented May 11, 2026

localhost_8080__printer=96443f870b81ad378effd57e4e63f0f4 localhost_8080__printer=96443f870b81ad378effd57e4e63f0f4_2 localhost_8080__printer=96443f870b81ad378effd57e4e63f0f4_4 localhost_8080__printer=96443f870b81ad378effd57e4e63f0f4_3

Fixes #1312

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas added this to the 1.37 milestone May 11, 2026
@pedrolamas pedrolamas added the GH - Bug Something isn't working label May 11, 2026
@pedrolamas pedrolamas requested a review from Copilot May 11, 2026 00:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the toolhead “circle control” SVG theming so button/label foreground colors switch to a contrasting text color when the configured primary color is bright (e.g., white), improving readability in the toolhead widget.

Changes:

  • Add a theme--text--contrast class toggle based on primary color brightness ($filters.isColorDark).
  • Refactor SCSS into a theme mixin that can be applied for dark vs light text material tokens.
  • Apply the appropriate theme mixin variant to the SVG control based on the new contrast class.

Comment thread src/components/widgets/toolhead/ToolheadControlCircle.vue
@pedrolamas pedrolamas changed the title fix: console text selection (#1834) fix: console text selection May 11, 2026
@pedrolamas pedrolamas requested a review from Copilot May 11, 2026 08:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@pedrolamas pedrolamas changed the title fix: console text selection fix: circle control contrast May 11, 2026
@pedrolamas pedrolamas merged commit 5828c5b into fluidd-core:develop May 11, 2026
9 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/fix-1312 branch May 11, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GH - Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Circle controls don't play nice with white accent color

2 participants