Skip to content

Refactor theming system with dedicated theme classes. - #44

Merged
hasanmhallak merged 4 commits into
masterfrom
refactor-theming
Apr 5, 2026
Merged

Refactor theming system with dedicated theme classes.#44
hasanmhallak merged 4 commits into
masterfrom
refactor-theming

Conversation

@hasanmhallak

Copy link
Copy Markdown
Owner

Summary

  • Introduce a dedicated theme system (DatePickerPlusTheme with sub-themes for days, months, years, range, header, ink response, and days-of-the-week) replacing inline style parameters on widgets.
  • Add CellState enum to describe cell visual states (enabled, disabled, selected, selectedEdge, current, currentAndDisabled).
  • Add RangeDecorationPainter abstraction and RangeSelectionPainter for customizable range highlight painting, with support for returning null to skip painting.

@hasanmhallak hasanmhallak self-assigned this Apr 4, 2026
@hasanmhallak hasanmhallak added the enhancement New feature or request label Apr 4, 2026
@hasanmhallak
hasanmhallak merged commit 9896ed9 into master Apr 5, 2026
1 check passed
@hasanmhallak
hasanmhallak deleted the refactor-theming branch April 5, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant