Skip to content

Refine theme styling to improve Light Theme - #393

Merged
Ruben2776 merged 66 commits into
devfrom
theme
Sep 12, 2026
Merged

Refine theme styling to improve Light Theme#393
Ruben2776 merged 66 commits into
devfrom
theme

Conversation

@Ruben2776

Copy link
Copy Markdown
Owner

Description

Fixes hover styles for light theme. Fixes white scrollbar background in both themes. Cleans up old unused styling.


This pull request introduces extensive updates to theme styles and resources. Key updates include:

  • Simplifying and updating MenuItem styles with StyledMenuItem across views.
  • Refining button hover behavior, text alignment, and foreground colors.
  • Replacing ToggleButton with TextToggleButton for improved usability.
  • Adjusting and aligning color resources for better consistency in both light and dark themes.
  • Improving layout and styling for BatchResizeView, ZoomPreviewer, TabItem, and ToolWindow.

Additionally, several unused styles and logic have been removed to streamline theme maintenance.

Motivation and Context

These updates enhance visual consistency, usability, and maintainability of the UI by unifying styles, reducing complexity, and improving the overall user experience.

How Has This Been Tested?

The changes were tested manually across different views and components in both light and dark themes. Additional unit tests were added for specific controls like IconButton and TextIconButton to ensure functionality.

Screenshots (if appropriate):

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Ruben2776 and others added 30 commits August 22, 2026 15:21
…oss dark and light themes; adjust `DraggableTabItem` styles for improved tab appearance and hover/selection behavior.
…adjust colors for improved appearance, and apply unified brushes across buttons and the background.
# Conflicts:
#	src/PicView.Avalonia/Views/UC/BottomBar.axaml
# Conflicts:
#	src/PicView.Avalonia/Views/Gallery/GalleryItem.axaml
…l logic to `ThumbnailHelper`, and refactor DraggableProgressBar
Ruben2776 and others added 29 commits September 8, 2026 00:06
…Hover` class to `ToolButtonHover` in `ImageInfoView` for consistency.
…oView` for class consistency and improved styling.
…nd refine window styles for improved consistency and maintainability.
…tent hover classes, and update control templates for improved styling.
…styles, and align color resources across configuration views for improved consistency.
…mations, and refine color resources for consistency across views.
… control templates, and refine light theme.
…over styles, and refine color resources for light theme consistency.
…ove consistency with `MainTextColor`, and clean up brush usage.
…HoverBar` buttons, update hover bar color resources, and clean up unused styles for improved consistency and maintainability.
…mproved alignment and visual consistency, update `Scrollbar` and `Gallery` color resources.
… resources for better consistency, and clean up unused styles.
…urce usage in `BatchResizeResizeWindow`, add hover animations in `TabItem`, and update color resources for improved consistency across views.
…try` keys in icons for corrected functionality and consistency. #390
… update hover and border colors for improved consistency.
…andling to create private local copies for shared icons, and improve hover state management.
…, disable `GlassThemeBox`, update window background and hover colors, and refine text box and combo box color resources.
…r consistency, improve focus/tab behavior, and replace `MenuItem` with `StyledMenuItem`.
…erHeight`, updating foreground colors, replacing `ToggleButton` with `TextToggleButton`, and improving hover classes and text consistency.
…n styles with updated hover classes, text alignment, and foreground colors, and transition from `ToggleButton` to `TextToggleButton` for improved consistency and usability.
…te bindings for consistency with theming updates.
…across views to simplify initialization and improve maintainability.
…ransparent backgrounds, updating opacity behaviors, and transitioning static resources to dynamic for improved consistency.
… related styles; update scroll viewer templates and clean up redundant theme resources for improved simplicity and maintainability.
@Ruben2776
Ruben2776 merged commit 08f8528 into dev Sep 12, 2026
2 checks passed
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