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

Use dark icons for app management #649

Closed
jancborchardt opened this issue Jul 29, 2016 · 12 comments · Fixed by #834
Closed

Use dark icons for app management #649

jancborchardt opened this issue Jul 29, 2016 · 12 comments · Fixed by #834
Labels
design Design, UI, UX, etc. enhancement

Comments

@jancborchardt
Copy link
Member

As a follow-up of #627 (white app menu with dark icons) it would be good for consistency if the app management would also use dark icons. Then we can also get rid of the strange grey box we needed to make the white icons visible.

@juliushaertl are you also up for this? ;) cc @nextcloud/designers

@jancborchardt jancborchardt added enhancement design Design, UI, UX, etc. 1. to develop Accepted and waiting to be taken care of labels Jul 29, 2016
@jancborchardt jancborchardt added this to the Nextcloud 11.0 milestone Jul 29, 2016
@Bugsbane
Copy link
Member

Bugsbane commented Aug 8, 2016

Let me know if you need the actual SVG's modified to make them darker (ie if it's not being done in code), and I'll take care of it. Given the simplicity of the icons though, I'd say there's a good chance we could just do a find and replace on them all for:

Find:
fill="#FFF"

Replace:
fill="#000"

@raghunayyar
Copy link
Member

I would like to take this up if no one is doing this. :-)

@raghunayyar
Copy link
Member

Simply replacing the fill works for me. There is a PR already on this. ;)

@juliusknorr
Copy link
Member

I'd propose to just keep with the white icons as svg files and use the color inversion trick (like here:

<svg width="32" height="32" viewBox="0 0 32 32">
<defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter></defs>
<image x="0" y="0" width="32" height="32" preserveAspectRatio="true" filter="url(#invert)" xlink:href="<?php print_unescaped($entry['icon']); ?>" class="app-icon"/>
</svg>
) to render them as black icons in the app management as well.

Otherwise we would have some white icons on white background for apps we don't maintain.

@Bugsbane
Copy link
Member

I'd propose to just keep with the white icons as svg files and use the color inversion trick

Agreed. I suggested that earlier more as a hack for if we didn't find a better way, which we did.

@juliusknorr
Copy link
Member

pr #834
stable10 #897

@Mannshoch
Copy link

I would Like to use a dark color for the bar at top. How could I change to normal?

@jancborchardt
Copy link
Member Author

@Mannshoch you probably use the »Direct Menu« which conveniently enough is also developed by the awesome @juliushaertl ;)

@juliushaertl if that app is enabled, then for bright header bar colors it probably makes sense to use the dark icons just as we switch the font to black for better contrast.

@juliusknorr
Copy link
Member

@jancborchardt That should already work like that 😄

@jancborchardt
Copy link
Member Author

@juliushaertl hehe! Nice :D

@Mannshoch what’s your problem then?

@Mannshoch
Copy link

@jancborchardt Yes, your Right I use »Direct Menu« in which CSS File do I have to manipulate this? Or would you maybe add a checkbox which allow to switch the color?

@juliusknorr
Copy link
Member

@Mannshoch the color of the icons should be switched automatically if the chosen theming color is too bright. (If you are using direct_menu version 0.9.1 or later) Maybe opening an issue over at https://github.com/juliushaertl/direct_menu/ would be better then discussing here. 😉

@MorrisJobke MorrisJobke removed the 1. to develop Accepted and waiting to be taken care of label Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design, UI, UX, etc. enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants