-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Css4 variables migration #9723
Css4 variables migration #9723
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9723 +/- ##
============================================
- Coverage 52.08% 52.06% -0.03%
+ Complexity 25915 25901 -14
============================================
Files 1642 1642
Lines 95747 95876 +129
Branches 1289 1319 +30
============================================
+ Hits 49874 49920 +46
- Misses 45873 45956 +83
|
Question time!
|
Yes, except IE11 (but the ponyfill is working fine and will be added into this pr as well)
No because scss also add more stuff like the colour manipulation functions, calculation and most importantly, our nesting css properties :) |
I wasn't suggesting killing SCSS. More like if we could do it only once when creating tarballs basically. But I guess not if we need colour manipulating functions etc. |
@rullzer sorry, I misunderstood :) |
@juliushaertl would you take a look at the theming part? |
@skjnldsv Sure, I'll have a look. |
@skjnldsv I adjusted the theming preview code to just reload the css variables and the theming.scss file (which has some additional customizations) It is indeed a lot faster than rebuilding the whole server.scss file. I didn't move the whole theming to css vars for now, since that would actually be something i would tackle in a separate PR. Would that be ok for you? |
Perfect! @juliushaertl For 14, we'll keep them both since theming is designed to be instance-wide, I like it a lot that we have both available |
@danxuliu There is some strange behaviour with some acceptance tests. Sometimes it passes, sometimes not, maybe a timeout issue? Could you take a quick look please? <3 |
Is the flickering the downside? Then it should be okay. |
@MorrisJobke Yes, the flickering! :) |
Sure, here is the summary:
As they are not related to this one, the pending changes to the acceptance tests will be done in other pull requests ;-) |
@danxuliu thanks!! <3 |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Before, the acceptance tests checked the header colour just once, as the header colour was immediately changed once the new theming colour was saved. This is no longer the case, as currently a transition is used to change between the original colour and the new one, so now the acceptance tests check repeteadly for the expected header colour until it matches or the timeout expires. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Failure not related
|
Why?
Fixes #6727
How
which works perfectlyonly a small downside, see comments)