使用 jquery ui themeroller 主题的最佳方法是什么
昨晚我第一次下载 jquery
和 jquery-ui
来使用/学习。
我想出了如何让它工作,现在我正在玩 themeroller 上的可下载/可定制主题......(不错的工具)。
关于最大限度地利用这些工具的最佳方法的问题:
我正在将 jquery/jqueryUI
集成到现有的 asp.net
中,我已经用颜色/字体“主题化”了它我喜欢使用自己的自定义 css,因此我使用“themeroller”应用程序来使 jquery UI 元素或多或少与我现有的 css 颜色/字体方案匹配。
真正的问题是,我是否在倒退? 我是否可以更好地在 themeroller 中设计我的主题,然后将生成的 CSS 用于我的所有应用程序? 与使用 themeroller 来模仿我已有的非 jquery UI 元素的 css 不同?
我可以看到,能够使用 themeroller、下载 CSS,然后基于非 jqueryUI 会很好。 CSS 围绕生成的 CSS,但如果这不是一种普遍接受的方法,我不想尝试它,最终会给我带来问题。
I just for the first time downloaded jquery
and jquery-ui
to use/learn last night.
I figured out how to get it working, and now I am playing around with the downloadable/customizable themes on themeroller...(nice tool).
A question about best way of maximizing the use of these tools:
I am integrating jquery/jqueryUI
into an existing asp.net
that I have already "themed" with colors/fonts that I like using my own custom css, I used the "themeroller" app to get the jquery UI elements to more or less match with my existing css color/font schemes.
The real question is, am I doing it backwards? Would I be better of designing my themes in themeroller, and then using that generated CSS for the ALL of my app? as opposed to using themeroller to mimic the css I already have for the non-jquery UI elements?
I could see that it would be nice to be able to use themeroller, download the CSS, and then base the non-jqueryUI CSS around the generated CSS, but I don't want to try it if that is not a generally accepted approach that will end up causing me problems down the road.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通常做的是使用 ThemeRoller 生成 jQuery 主题,该主题使用我网站 CSS 中的颜色。 不过,我的网站没有使用 ThemeRoller 主题,我通常将这两个主题分开。
What I typically do is generate a theme for jQuery using the ThemeRoller that uses the colours from my website's CSS. I don't use the ThemeRoller theme for my website though, I usually keep these 2 separate.
我个人在我的整个网站上使用完整的 jquery 主题。 ui-widget、ui-widget-content、ui-widget-header、ui-state-default和 ui-state-active 等。 我用这些标签创建菜单。 我认为适合该模型很好,因为如果我想即时交换主题或稍后更改主题,我不会有太多阻力。
当然,他们总是例外。 因此,我总是将 global.css 文件放在标头中的 ui.all.css 文件之后。
I personally use the full jquery theme for my whole site. The ui-widget, ui-widget-content, ui-widget-header, ui-state-default, and ui-state-active, among others. I create my menus with these tags. I think its good to fit into that model, because if I want to swap themes on the fly or change a theme later on I won't have much resistence.
Of course theirs always exceptions. So, I always put my global.css file after my ui.all.css file in my header.