-
Notifications
You must be signed in to change notification settings - Fork 43
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
New colors set and css fixes #503
Conversation
By analyzing the blame information on this pull request, we identified @raghunayyar, @jancborchardt and @tomneedham to be potential reviewers |
// expected lightness range: [0, 1] | ||
var hslToRgb = function(hue, saturation, lightness){ | ||
// based on algorithm from http://en.wikipedia.org/wiki/HSL_and_HSV#Converting_to_RGB | ||
if( hue == undefined ){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use tabs instead of spaces :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damn copy/paste :p
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait a minute, the entire project uses space and not tabs, should I change the whole file @georgehrke ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, please change the entire file
I'm a bitnon the femce about the colors – the green looks too garish and the orange too flat. … but yeah they should come from the core generator. Any way to shift that orange and green a bit to make it a tad nicer? cc @georgehrke @raghunayyar @owncloud/designers check it out. |
We could also just add a colorwheel and remove the 9 colours ? :D |
@jancborchardt @skjnldsv just a suggestion, we can use HSLA colours and keep the saturation intact and change hue. The colors generated will probably will be on the same palette? What do you guys think? I think it works otherwise just the colours look too dull. |
@raghunayyar We need to store RGB in the CalDAV property |
@raghunayyar we're already doing that in core. |
Can't we convert the HSLA to RGB in that case, when we are storing the colorcode? |
@raghunayyar have you read this pull request?? |
@skjnldsv Lol, I am so sorry. Just reviewed the PR. I got quite emotional earlier seeing the colors being too light. Otherwise 👍 |
Ahaha, no problem! :p The colors being too light comes from the core generator then. But now that you said that, I maybe had forgotten to update the s&l values based on the luminosity. I need to take a look! |
👍 |
Which one do you prefer? :) |
I'd go with 00 |
I am missing a "real" blue and some other natural, but i think this is nothing we can change here 😢 |
Why not. This sounds reasonable. :) @skjnldsv is this somehow possible to accomplish? |
I really like it :) |
Hum, I may have pushed the wrong folder! :p
Because there is a 10th element added to the list, so it has to take the full width.
See: #509, this is not related to this pr. I didn't changed anything related to the loader here. EDIT: @georgehrke, I cheated, I did it from work! Could you check? :3 |
809f530
to
341f102
Compare
- Update css for colour palette - Fixed tabs - Use core generator with specific values
Hum, should I edit |
You have to build the app.js with Please excuse my brevity and typos.
|
@georgehrke Peeeerfect! That's why this wasn't working for you :) Thank you! |
How did you develop it without changing the app.js? ^^ Please excuse my brevity and typos.
|
@georgehrke I compiled in my head! :D |
@raghunayyar, @jancborchardt, @tomneedham, @georgehrke, @MorrisJobke Review please? |
👍 |
really like it! :) |
Thanks! :) |
Nice work @skjnldsv 👍 |
rgbToHex is pretty broken 🙈 will fix it in #543 |
@georgehrke is it due to a missing str_pad? |
Btw again @skjnldsv really good work! :) |
Thank you jan! :) |
This pr make the calendar app use the core colour generator to get an unified palette.
@jancborchardt
ref #344