Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Cleaner separation between the "jQuery for mobile" bit and the themes bit #5777

Closed
wuggy opened this issue Mar 16, 2013 · 3 comments
Closed

Comments

@wuggy
Copy link

wuggy commented Mar 16, 2013

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!

@jaspermdegroot
Copy link
Contributor

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]
Sent: zaterdag 16 maart 2013 17:08
To: jquery/jquery-mobile
Subject: [jquery-mobile] Make jQuery Mobile independent from jQuery UI (#5777)

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!


Reply to this email directly or view it on GitHub #5777 . https://github.com/notifications/beacon/cvagmh9zhx9ukgQsrZOFaIFN2_Fv5w8TPpTace6VTkVn9RiGKzeDKkkhO47XmgIk.gif

@wuggy
Copy link
Author

wuggy commented Mar 18, 2013

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?

@arschmitz
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants