-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Cleaner separation between the "jQuery for mobile" bit and the themes bit #5777
Comments
Can you clearify a bit more what you mean? jQuery Mobile and jQuery UI are two different projects, we don’t use the CSS from jQuery UI. Your first link is a forum post about overriding the jQuery Mobile CSS when elements are enhanced by the framework. The second link is an SO question how to prevent the framework from enhancing elements at all. From: wuggy [mailto:notifications@github.com] Like they say in this post: http://forum.jquery.com/topic/overriding-jquery-mobile-default-styles Using jQuery Mobile's built-in UI widgets are great for initial prototyping but most people have their own designs for their apps. Therefore, if we could make jQuery Mobile independent from jQuery UI's CSS so that developers won't have to go to such extreme lengths http://stackoverflow.com/questions/10014609/how-to-stop-jqm-from-styling-a-page disabling stuff, that would be cool. Thank you! — |
More and more people seem to prefer their own designs over jQuery Mobile's themes, and get sad when they realize how hard it is to use jQuery Mobile without being forced to use these themes. For this reason, it would be cool with a cleaner separation between the "jQuery for mobile" bit, and the themes bit. For instance, the "jQuery for mobile" bit could be the API stuff, the animations, and minimally styled widgets with cross-browser support and fully customizable class names. jQuery Mobile should by default not attempt to style pages unless absolutely necessary or otherwise specified by the user. This way, developers who previously had to create their own widgets are now more likely to use jQuery Mobile's. The themes bit would be the colors, gradients, shadows, and the ThemeBuilder -- perhaps better suited as part of a new project called jQuery Mobile UI? |
there is already essentially separation in this way. if you read the blog post here http://jquerymobile.com/blog/2013/02/20/jquery-mobile-1-3-0-released/ and go to the down load section you will see under css "Uncompressed structure without a theme" option this is adds the necessary structure with out any theme. Since this is already possible im going to close this. @wuggy if i have misunderstood your request please let us know and we will reconsider. |
Like they say in this post:
http://forum.jquery.com/topic/overriding-jquery-mobile-default-styles
Using jQuery Mobile's built-in UI widgets are great for initial prototyping but most people have their own designs for their apps. Therefore, if we could make jQuery Mobile independent from jQuery UI's CSS so that developers won't have to go to such extreme lengths disabling stuff, that would be cool.
Thank you!
The text was updated successfully, but these errors were encountered: