News for hackers. Stuff that matters.

Ask HN: Where are all of the CSS Themes?

It seems like before anybody ever started making CSS Templates, they should have had a strong foundation of CSS Themes. Stylesheets that reset the browser defaults, then style all of the default elements to be a better browser default. I've been using Drupal's "default.css"(?) just so that development is easier on the eyes. Does anything like this exist?

This alone would really help get my MVP up and running a lot quicker. jQueryUI only handles so much (as it should).

( 10 comments | 8 points | on HN )
Re:Ask HN: Where are all of the CSS Themes? by Terretta on Wednesday May 12, 2010 @02:32PM (#1341802)
I think you're looking for this:

http://devkick.com/lab/tripoli/sample.php?base=base&visu...

http://devkick.com/lab/tripoli/

It's not just a reset, it's an attempt to be a "better browser default".

Another sample, applied to an existing W3C page: http://devkick.com/lab/tripoli/selectors.php?base=base&v...

Re:Ask HN: Where are all of the CSS Themes? by evlapix on Wednesday May 12, 2010 @02:52PM (#1341868)
Excellent! This is perfect for what I need now. Thanks Terretta.
Re:Ask HN: Where are all of the CSS Themes? by mrtom on Wednesday May 12, 2010 @12:31PM (#1341393)
For the first half of that (resetting the browser defaults) I use Yahoos reset.css (http://developer.yahoo.com/yui/reset/), which works a charm.
Re:Ask HN: Where are all of the CSS Themes? by evlapix on Wednesday May 12, 2010 @12:40PM (#1341429)
Yeah, I have used that before too. It does a great job of removing the browser defaults.

What I dislike, is that it forces me to have to start from scratch (reset.css scratch) in order to make a project at all readable/usable.

Re:Ask HN: Where are all of the CSS Themes? by mikeleeorg on Wednesday May 12, 2010 @01:31PM (#1341607)
Though it means adding a bit more code to each page, YUI has this Base CSS component that is meant to rebuild some of the native formatting Reset CSS removes: http://developer.yahoo.com/yui/base/
Re:Ask HN: Where are all of the CSS Themes? by evlapix on Wednesday May 12, 2010 @02:29PM (#1341794)
I remember coming across this in the past. This is very similar to what I want to find, only.. I want to push the "Base" much further.
Re:Ask HN: Where are all of the CSS Themes? by mikeleeorg on Wednesday May 12, 2010 @02:37PM (#1341820)
YUI is on GitHub. I'm sure they'd love any help & suggestions to their Base component. http://github.com/yui/yui3
Re:Ask HN: Where are all of the CSS Themes? by evlapix on Wednesday May 12, 2010 @02:07PM (#1341726)
It seems that there is no readily available solution. So if I were to create one, it would go something like this:

href="theme-base-renegade.css"

theme-base-renegade would style all of the default markup in its own styleish little way. Whatever that may be: Super padded with big fonts and so on, or incredibly tiny with minimal line-height, font-size, etc..

href="theme-color-grayhaze.css"

theme-color-darkness would specifically color the default markup. Things like th, tr, td, dl, dt dd, etc, would have be darker/brighter than others with their respective font-colors and such to complement the element background-colors.

Since both stylesheets would be styling the default markup - not specific to styles or id's - the two stylesheets could be swappable with other like type themes components and not interfere with one another.

After that.. it's CSS! You could overwrite any one of the many styles used to create that theme. Plus, with all of the tools we have to debug, overriding otherwise desirable styles in order to apply specific/custom ones would be much more convenient.

Re:Ask HN: Where are all of the CSS Themes? by cmelbye on Wednesday May 12, 2010 @01:19PM (#1341566)
Blueprin CSS framework does a good job of this.
Re:Ask HN: Where are all of the CSS Themes? by grayrest on Wednesday May 12, 2010 @01:28PM (#1341600)
Sass has plugins that cover most of the CSS "frameworks" but to my knowledge doesn't have a lot of fully developed themes. The advantage to using a preprocessor is that you can apply the built in styles to the classes/ids of your choice instead of having to use the same ones the css framework uses.