Skip to content

Feature contrast slider#118

Open
cssma wants to merge 3 commits intomainfrom
feature-contrast-slider
Open

Feature contrast slider#118
cssma wants to merge 3 commits intomainfrom
feature-contrast-slider

Conversation

@cssma
Copy link
Copy Markdown
Collaborator

@cssma cssma commented Apr 19, 2026

📄 Pull Request Description


🧩 What was changed?

Added a contrast slider accessible from the top bar. Clicking the contrast icon opens a popover with a slider.


💡 Why was it changed?

Users can adjust the contrast level to suit their visual needs


⚙️ How was it implemented?

The slider (range 1.0–1.2) applies filter: contrast() on the element. The selected value is persisted in localStorage. In light mode, borders are slightly darkened via a CSS class high-contrast to compensate for the filter washing them out. Used two new shadcn components: Slider (radix-ui) and Popover (radix-ui)


⚠️ Side Effects or Risks

none


✅ Checklist

  • All 4 sections above are clearly filled out
  • Tests and documentation updated

cssma and others added 2 commits April 19, 2026 13:49
@cssma cssma requested review from kingazm and kon-mtal and removed request for kingazm April 19, 2026 14:03
Sign up for free to 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.

1 participant