phocus/gtk

Selected items are black in nemo

snakedye opened this issue · 14 comments

selected:
image
unselected:
image

This affect icons as well as the text on the sidebar.

@snakedye So the sidebar is a normal GTK3 list widget, and the icons just take the same color as the text. I found that the elementary GTK theme does some stuff to color those icons separately (which i like), but i haven't looked it up in their code yet.

The main view on the other hand is a different story. It is a custom widget and i have no clue how it is styled. So if you have any information on this, i would appreciate it.

Also the styles for this will most likely be added as application specific styles, so they don't affect any other apps.

Thanks, I will look into this and hopefully come back with a PR.

No need for a pr, some information would be enough.

  &:selected {
    background: $accent-7;
    color: $background-2;
  }

Changing this in /scss/components/_treeview.css yields this result.
image

Something similar with selection in address bar in thunar, vivaldi, firefox, etc. can't distinguish between selected and not selected texts in the address bar .
These ones have selected texts:
snap_21_05_10_16_43
snap_21_05_10_16_48

and these are not selected.

snap_21_05_10_16_42
snap_21_05_10_16_50

@obliviousofcraps it looks like you are running an old version of phocus, or you restyled it in a way in which this is caused. Current phocus has bright purple selections everywhere:

firefox
thunar

There has been a lot of changes lately, so maybe you just didn't update in a while.

Edit: and the issue with the selected files in the file-view will be resolved in the near future.

Okay, i'mma try and will let you know how it goes.

Also which property do I need to play with to change the colors for that?

@obliviousofcraps currently it is the $primary-accent in https://github.com/phocus/gtk/blob/master/scss/gtk-3.0/_colors.scss#L16.
GTK3 phocus does not have a stable release yet (https://github.com/phocus/gtk/releases), which means this can change at any second, since i develop against the master branch, and i am still planning to restructure the options and colors to make it easier customizable, especially when there are dark and light variations and gtk3 plus gtk4 versions. (GTK2 will never be supported btw)

@snakedye i added some exceptions for nemo in the latest commits, it should look fine now:
image

The latest nautilus update is also themed properly. Just a shame that the new adwaita folder icons look so horrible:
image

Eagerly waiting for philes and it's beautiful icons.

@snakedye not gonna happen, but here is a screenshot of what pholders could have become if I would not have much more interesting things to work on:
image

Really nice, it has the flat style of Papirus which I'm currently using. I found it weird Adwaita doesn't have flat icons when the whole theme is now flat.