allen-cell-animated / agave

Other
34 stars 6 forks source link

toolbar icons #75

Open toloudis opened 1 year ago

toloudis commented 1 year ago

Use Case

Toolbar buttons should have icons. Buttons with words are way too clunky, and take up too much space.

Solution

Each button gets an icon, buttons can be same size (standard Qt toolbar btn size), and can have dropdowns and toggle states as appropriate within Qt default standards. Tooltips and hover status text should be included for each button selection.

toloudis commented 4 months ago

see #177 Also what do we do with dark mode / light mode? I am considering implementing some automatic svg color manipulation to auto-change colors for the two modes.

toloudis commented 4 months ago

Look at how napari does this

thao-do commented 4 months ago

Look at how napari does this

Now I'm not sure if the below is helpful..

I found that they have depreciated the palettes (light/dark) the main theme file after v0.4.6 and using a get_theme or register_theme to switch theme files instead (https://napari.org/stable/gallery/set_theme.html).

Basically they have a palette with colors named "background", "foreground", "text", etc. with their values differs depends on light/dark mode (see screenshot)