Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom icon themes #520

Merged
merged 22 commits into from
Jul 9, 2024
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
d2938c2
:wrench: Add methods for listing user icons
Schneegans Jul 5, 2024
f50d9ad
:wrench: Use icon theme registry in the menu class
Schneegans Jul 5, 2024
045138c
:wrench: Allow loading local files during development
Schneegans Jul 6, 2024
cef629e
:tada: Add user icon themes
Schneegans Jul 6, 2024
61114eb
:wrench: Prevent custom icons from being draggable
Schneegans Jul 6, 2024
ae8f4ce
:bug: Hide custom icons on minimized menu items
Schneegans Jul 7, 2024
65cc444
:wrench: Load icons only if they are in view in the icon picker
Schneegans Jul 7, 2024
74e4158
:wrench: Load custom icon themes recursively
Schneegans Jul 7, 2024
ed47027
:wrench: Run checks also on pull requests
Schneegans Jul 7, 2024
0a511b7
:wrench: Delete tooltips when reloading the icon list
Schneegans Jul 7, 2024
0c2d9c3
Merge branch 'main' into feature/custom-icon-themes
Schneegans Jul 8, 2024
958b46c
:wrench: Show a question mark if no icon theme is found
Schneegans Jul 8, 2024
aed5932
:memo: Add changelog entry
Schneegans Jul 8, 2024
bbc3da9
:memo: Split configuring docs into two files
Schneegans Jul 8, 2024
201f4fa
:memo: Add some docs on icon themes
Schneegans Jul 8, 2024
1d25ae2
:memo: Update icon docs
Schneegans Jul 8, 2024
e5069ca
:memo: Rename docs page
Schneegans Jul 9, 2024
bdef677
:memo: Add new documentation chapter
Schneegans Jul 9, 2024
0dee79d
:twisted_rightwards_arrows: Merge branch 'main' into feature/custom-i…
Schneegans Jul 9, 2024
8a9784b
:bug: Properly close the editor when opening an external link
Schneegans Jul 9, 2024
47a96fb
:wrench: Add header to icon picker
Schneegans Jul 9, 2024
3b8ae33
:bug: Fix scrolling icon into view when opening the icon picker
Schneegans Jul 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🐛 Hide custom icons on minimized menu items
  • Loading branch information
Schneegans committed Jul 7, 2024
commit ae8f4ce8fb283a39ce2dcaddd67f64197f1665f3
7 changes: 4 additions & 3 deletions src/renderer/menu/menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
.icon-container {
transition: $menu-transition;

color: transparent;
opacity: 0;
color: $text-color;

container-type: size;
width: 100%;
Expand Down Expand Up @@ -92,7 +93,7 @@
transform: scale(0.9);

& > .icon-container {
color: $text-color;
opacity: 1;
font-size: calc($root-size * 0.75);
}
}
Expand Down Expand Up @@ -130,7 +131,7 @@
transform: scale(1);

& > .icon-container {
color: $text-color;
opacity: 1;
font-size: calc($child-size * 0.75);
}
}
Expand Down