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

All theming issues still to be fixed #454

Closed
10 tasks done
jancborchardt opened this issue Jul 19, 2016 · 21 comments
Closed
10 tasks done

All theming issues still to be fixed #454

jancborchardt opened this issue Jul 19, 2016 · 21 comments
Assignees
Labels
design Design, UI, UX, etc. enhancement feature: theming good first issue Small tasks with clear documentation about how and in which place you need to fix things in. medium

Comments

@jancborchardt
Copy link
Member

jancborchardt commented Jul 19, 2016

For convenience and easier overview in one single issue. If there are individual issues, we can link them here. cc @nextcloud/designers

In the Theming admin settings:

In general we need to take care that stuff still is nicely visible when a light color such as white is chosen. This goes especially for the favicons, action button etc. In this case we should either go for a standard grey (not ideal) or just leave the default blue.

@jancborchardt jancborchardt added enhancement design Design, UI, UX, etc. good first issue Small tasks with clear documentation about how and in which place you need to fix things in. 1. to develop Accepted and waiting to be taken care of medium feature: theming labels Jul 19, 2016
@jancborchardt jancborchardt added this to the Nextcloud Next milestone Jul 19, 2016
@jancborchardt
Copy link
Member Author

cc @nextcloud/theming I thought this would be nice as an overview what we still need to do. :) Everyone is welcome to get involved!

@savely-krasovsky
Copy link

@jancborchardt, as additional point you can add background tinting.

@oparoz
Copy link
Member

oparoz commented Jul 28, 2016

@Lord-Protector Are you referring to the login page?

@savely-krasovsky
Copy link

savely-krasovsky commented Jul 28, 2016

@oparoz yes.

About light colors: I think we can simply restrict to use very light colors. Here we can again use HSV-magic. Where hue and saturation can be any, but brightness must be less than 60, for example.

@jancborchardt
Copy link
Member Author

Added a new item app update page doesn’t use the theme values and images. Hope that’s possible? cc @LukasReschke @juliushaertl

@juliusknorr
Copy link
Member

@jancborchardt what exactly is meant by app update page?

@jancborchardt
Copy link
Member Author

@juliushaertl you can view it by setting the verson in the config/config.php down one number (the rightmost number).

That will trigger an update. It’s the general update page, not app update page – my mistake. :)

@jancborchardt
Copy link
Member Author

Btw I found another thing which also occurs in stable10: notifications app icon in top right (header) is still white for bright header colors. cc @nickvergessen for Notifications.
Maybe there we need to invert, but if possible leave the red circle red cause that’s for notifications. Otherwise we could make it monochrome.

@janis91
Copy link

janis91 commented Aug 6, 2016

During creating my own nextcloud app last weeks a few questions came up to me:

  1. The color picker on the admin settings page definitely changes the text color depending on the brightness of the background color. Is it planned to change the standard color also (eg. for the header-bar), according to this (i think) good automatic behavior of the color picker?
  2. Is it possible to get the colors from any css class or is there any other trick to get the actual theme easily adopted for my app? maybe something like the following:
    <div class="myOwnClass ncThemeBackgroundColor ncThemeColor">Text in themed color and with themed background color. All other styles come from myOwnClass</div>

@juliusknorr
Copy link
Member

The color picker on the admin settings page definitely changes the text color depending on the brightness of the background color. Is it planned to change the standard color also (eg. for the header-bar), according to this (i think) good automatic behavior of the color picker?

This is already implemented, on bright colors, the text in the header bar will switch to dark.

Is it possible to get the colors from any css class or is there any other trick to get the actual theme easily adopted for my app?

Good point, by now you could use dependency injection to inject the Template class to your controller and use getMailHeaderColor() to get the themed color value. But i'll add that to the todo list. ;)

@juliusknorr juliusknorr self-assigned this Aug 8, 2016
@janis91
Copy link

janis91 commented Aug 8, 2016

This is already implemented, on bright colors, the text in the header bar will switch to dark.

Which nc version are you talking about? because on 9.0.53 it is not working for me.
Thx for the hint for the Template class...

@juliusknorr
Copy link
Member

@janis91 right, this is available in NC 10, see #412 for reference.

@juliusknorr
Copy link
Member

@janis91 btw. we have some enhancements for apps regarding the theming app merged in #833

@janis91
Copy link

janis91 commented Aug 11, 2016

Amazing!

@jancborchardt
Copy link
Member Author

(BTW, @janis91 I saw you are based in Stuttgart, you might be interested in the planned meetup :) https://help.nextcloud.com/t/interesse-an-einem-meetup-im-raum-stuttgart/2115

@janis91
Copy link

janis91 commented Aug 25, 2016

@jancborchardt thanks for the hint. I am definitely interested!

@stephanedupont
Copy link

I don't know if it's the right place to post this, or if I should have made a new issue, but about the theme login image: it's really a nice feature, but shouldn't there be an option to display a plain color background instead of being force to display an image?

@MorrisJobke
Copy link
Member

All the remaining items are part of the 11 milestone.

@juliusknorr
Copy link
Member

@stephanedupont I like the idea, can you open a seperate issue for further discussion?

@stephanedupont
Copy link

@juliushaertl Thank you, here it is: #1414

@juliusknorr
Copy link
Member

Finally merged #840, so this is fixed.

@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 feature: theming good first issue Small tasks with clear documentation about how and in which place you need to fix things in. medium
Projects
None yet
Development

No branches or pull requests

8 participants