Cool project! I ended up doing most of it by hand. I started by just playing around with variables.less, but it wasn't giving me the variety I wanted, so I added an extra less file for more custom stuff.
nice work. I think you could tune this a bit more to pick the right colours for the right elements, bad contrast and clashing colours sometimes appear. but nice effort, bookmarked :)
thanks, some intelligent way to automatically assign colors would be nice. May be I'll look at colors brightness and hue. For now, you can manually reassign them if the generated theme doesn't work.
It's over a dozen hours later, but...
In the past I've used relative luminance to determine whether to display light or dark text on a colored background (take relative luminance of both, determine contrast ratio, don't remember exactly what ratio was required, I believe 5:1). You could use a similar method for the generated colors and use low ratios for things like gradients and high ratios for highlight buttons, etc.
very cool site you should be the one in front page, do you get the colors out of the picture at random or you do some analysis to assign the darkest color to the background or something similar?
Agreed. The current state of jQuery UI is what pushed me to consider other frameworks such as Dojo (which I'm really enjoying). I've also started using Bootstrap on a new project and really like it as well. I just need more components! :)
- Rich DataGrid with ajax pagination & filtering - DropDown with ajax source for typeahead feature I also think Bootstrap needs an initial set of distinct looking themes. Not just different colors but fonts, padding, sizes etc. It would help me feel confident that I would be able to create something that doesn't look like everyone else's site.
I find it doubly interesting since bootstrap isn't even very good code (albeit slowly improving). Completeness, documentation and brand name really trump technical excellence here.
Either way, it's great to have one of these frameworks finally pick up steam, that's been long overdue!
Comments (53) 23 threads
How did you generate the different themes, and are they stored in different css/less files?
You can check them out on the gh-pages branch in GitHub: https://github.com/thomaspark/bootswatch
I really like how your site generates a bootstrap color theme from an image of your choice.. works very well.
I'm terrible at creating nice colour-sets and looking forward to making my bootstrap based projects less 'out of the box' looking.
I was wondering if it would be possible to share a link with the picture attached allready, so you could show the theme to other people easily?
e.g.: http://www.lavishbootstrap.com/?image_url=http://design-seed...
Great implementation.
- Rich DataGrid with ajax pagination & filtering
- DropDown with ajax source for typeahead feature
I also think Bootstrap needs an initial set of distinct looking themes. Not just different colors but fonts, padding, sizes etc. It would help me feel confident that I would be able to create something that doesn't look like everyone else's site.
Either way, it's great to have one of these frameworks finally pick up steam, that's been long overdue!
It'd be even cooler if users could customize the themes right on the site, but that's probably obvious and not easy to implement.
All comments shown.
Couldn't load more comments. Check your connection and try again.