Skip to content

Fix icons - #563

Merged
R0drigoSchwartz merged 31 commits into
devfrom
fix_icons
Jul 31, 2026
Merged

Fix icons#563
R0drigoSchwartz merged 31 commits into
devfrom
fix_icons

Conversation

@R0drigoSchwartz

@R0drigoSchwartz R0drigoSchwartz commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

This PR changes the icon approach. Previously, whenever the theme changed, we would manually color the icons by iterating over them.

We now have two resource files: one for the dark theme and another for the light theme. If we want to change the icon colors, we simply need to modify the DARK_ICON_COLOR and LIGHT_ICON_COLOR constants in the __init__.py file. Then, we can run the paint_icons.py script located in the scripts folder. This script will color all the icons in the light_theme and dark_theme folders and subsequently generate two new resource files containing the colored icons. If the theme changes, we just need to change the resource file.

Closes #562

@R0drigoSchwartz R0drigoSchwartz added this to the 2.2 milestone Jul 28, 2026
@R0drigoSchwartz
R0drigoSchwartz requested a review from andrefpf July 28, 2026 17:49
@R0drigoSchwartz R0drigoSchwartz self-assigned this Jul 28, 2026
@R0drigoSchwartz R0drigoSchwartz added Optimization 🏎️ The solution for this issue will make the software run faster in the average case Usability ✨ The solution for this issue will make the software easier to use. labels Jul 28, 2026
@andrefpf

Copy link
Copy Markdown
Collaborator

I noticed a small color difference of the icons compared to the logos.
Can we update the icons to match?

The dark theme is BLUE_7 (#84AAFF) and the light theme is BLUE_3 (#0051A2)

image image

@andrefpf andrefpf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice

@R0drigoSchwartz
R0drigoSchwartz merged commit 03a7de8 into dev Jul 31, 2026
1 check passed
@R0drigoSchwartz
R0drigoSchwartz deleted the fix_icons branch July 31, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Optimization 🏎️ The solution for this issue will make the software run faster in the average case Usability ✨ The solution for this issue will make the software easier to use.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants