-
Notifications
You must be signed in to change notification settings - Fork 74
Theme: Add new theme called "Base" #248
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
Conversation
"dependsOn": "jQuery1.6+", | ||
"label": "Experimental" | ||
}, | ||
{ |
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.
Note to self. This is a temporary change. Remove before landing.
Follow these instructions to run the server locally using "Base" by default:
|
jQuery UI 1.9.2, 1.10.4, 1.11.2, 1.12.0-pre packages with the new theme called "Base" available for download: |
Didn't I see a better mockup somewhere with the rounded corners removed and a better font? This feels very similar to smoothness with just a slight color and maybe a font change when I look at it. |
We changed the font-size in general, independent of this new theme. That doesn't seem to be included here, though. Rounded corners are still in the new theme, its just smaller radii(?). The smaller font-size might make the rounded corners more obvious. One thing that looks very wrong on the screenshot is the overlay and shadow element demo. The overlay doesn't cover the background, the shadow also disappears in the middle. |
Please, can you point me to this change? |
I'm assuming changes are going to be made on jquery/jquery-ui#1384, so I can later update this PR accordingly. |
|
Let me rephrase my comment. Can we get rid of the rounded corners in this new base theme to make it feel more current? |
You can check out the actual theme and discuss it at the original PR: jquery/jquery-ui#1374 |
I thought this was the Theme PR. The one you referenced is just the font size change so this would be the appropriate place to discuss the removal of the rounded corners. It doesn't seem like too much to ask for since most themes for current frameworks have removed rounded corners. They make it feel outdated no matter what you do to color or font. |
Maybe you meant jquery/jquery-ui#1384 which I see now. I will comment there. |
Yes, sorry, that's the one I meant. |
This PR is now (temporarily) pointing to d2eb0c93cfc5fce158ac2af6ca7b0f50760d9b90, i.e., @jzaefferer's jquery/jquery-ui#1420. I have it deployed locally. Please, @jzaefferer just let me know if I can provide a screenshot of a particular place or perform any test and post here. |
Updated jQuery UI 1.9.2, 1.10.4, 1.11.2, 1.12.0-pre packages using the new "Base" theme (based on d2eb0c93cfc5fce158ac2af6ca7b0f50760d9b90). They're available for download on https://gist.github.com/rxaviers/edd9cb1ecdedb3e65b10. Below is how the tooltip dropshadow is presented to me on 1.12.0-pre package and on 1.11.2.
The Overlay shadow also changed. It looks better on 1.12.0-pre (although, the white stripe underneath it is still present). Using the Base theme on 1.11.2 or older packages is still problematic.
|
Jörn and I had a chat. Below is the outcome:
Double check:
|
2ba432c
to
f095a1a
Compare
Updated jQuery UI 1.9.2, 1.10.4, 1.11.2, 1.12.0-pre packages using the new "Base" theme (based on 4371d59abd4a24275e0aaa4cae49a2fed591c9ae). They're available for download on https://gist.github.com/rxaviers/5293bc717f283f5eaad7 |
f095a1a
to
4e9efe9
Compare
Keep "Smoothness" and "UI Lightness" in the gallery, while the new theme will be available as "Base" and it will be the default. Ref jquery/jquery-ui#1384
Temporary update jquery/jquery-ui#1420 @ d2eb0c93cfc5fce158ac2af6ca7b0f50760d9b90 Do not use an image when using the flat texture. Updated index.html for the 1.12.0 package.
@ 4371d59abd4a24275e0aaa4cae49a2fed591c9ae
4e9efe9
to
8ac9a2d
Compare
Fixed this regression with dc11c77. |
So with Jasper's last update and this fix, is everything addressed and we can merge both PRs to master? Or are we still missing something? |
It'd be good if @jaspermdegroot could make a final review (packages at https://gist.github.com/rxaviers/5293bc717f283f5eaad7). At least, browsing |
To Whom It May Concern, Based on the "we shouldn't bring back those comments/variables" decision (jquery/jquery-ui#1436), TR is going to have dead controls for such variables until the baseline of the available releases for download is at least 1.12.0, when those controls could be removed from TR. |
I'm okay with that. Specifically the shadow controls have probably seen very little use anyway. Are we ready to land this? I suggest keeping the extra changes until we merge this and the UI theme PR to master, test on stage, then remove it until we release 1.12. |
Yeap. I still suggest that @jaspermdegroot make a final review on all packages at https://gist.github.com/rxaviers/5293bc717f283f5eaad7.
Ok. |
I suppose the reason that all the changes in the default theme (except changes in 1.12: The color for Other than that it looks good! |
That's wrong. Based on the discussion we had around this, it sounded like TR would use the |
I'm confused. I think @jaspermdegroot and @jzaefferer are talking about two different things. Correct me if I'm wrong. I think @jaspermdegroot is talking about the fact the Custom Downloads for 1.12.0 and all the previous releases (1.11.2, 1.10.4 and 1.9.2) will include the Base theme by default from now on as decided prior to the creation of this PR. Although, the Quick Downloads will include Base for 1.12.0, but UI Lightness for the previous ones (given the fact those are existing old packages). I think Jasper has a valid point. But, the decision is up to you all. @jzaefferer is talking about either of these two things: (a) the custom downloads should use the |
Alright, I misunderstood that. Let's go ahead and merge this and the UI PR. |
Changes tooltip to use the ui-widget-shadow class, which now applies the box-shadow style. .ui-widget-shadow was created when box-shadow wasn't available. By now, there's no point in faking a custom shadow anymore. This removes the only non-structural CSS from a widget-specific file. Updates demos to use the same font-family, removes unused images. Will be available as the new default theme on ThemeRoller called "Base", while "UI Smoothness" and "UI Lightness" will still be available in the gallery. Fixes #10617 Fixes #10880 Closes gh-1436 Ref jquery/download.jqueryui.com#248
Upstream change landed in jquery/jquery-ui@79c4fa1 |
Still need to integrate this into |
These are still needed. Ref gh-1436 Ref jquery/download.jqueryui.com#248
Keep "Smoothness" and "UI Lightness" in the gallery, while the new
theme will be available as "Base" and it will be the default.
Ref jquery/jquery-ui#1384
TODO: