在Twitter Bootstrap主题之间切换? [英] Switching between Twitter Bootstrap Themes?
问题描述
我正在开发一个基于Twitter Bootstrap的客户端项目。他想要有不同的颜色方案,用户可以从中选择。例如,有红色方案和蓝色方案,用户可以通过顶部的菜单更改。
I'm working on a project for a client built on Twitter Bootstrap. He wants to have different colour schemes that the user can select from. For example have a Red Colour Scheme and a Blue Colour Scheme that the user can change through a menu up the top.
有任何插件的jQuery(或任何其他这件事)会做到这一点?所有它真正要做的是加载一个不同的CSS文件,我想,你会怎么做?
Is there any plugins for jQuery (or anything else for that matter) that will do this? All it really has to do is load a different CSS file I suppose, how would you go about doing this?
推荐答案
使用 Kickstrap 。您可以从基本任何地方安装主题,自己制作,包括来自Bootswatch的主题,它使用Less.js客户端轻松地每次重新编译您的更改。
Use Kickstrap. You can install themes from basically anywhere, make your own, includes themes from Bootswatch and it uses Less.js client-side to easily recompile your changes each time.
这篇关于在Twitter Bootstrap主题之间切换?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!