jlong / css-spinners

Simple CSS spinners and throbbers made with CSS and minimal HTML markup.
http://www.css-spinners.com
MIT License
924 stars 157 forks source link

Added Hexagon Spinners (Dark and Light) #9

Closed ScottMichaud closed 9 years ago

ScottMichaud commented 9 years ago

Added two spinners. They're similar to "dots" except that there are six of them. Dark and Light themes (for light and dark pages, respectively) are available. They have been added to example.html.

ScottMichaud commented 9 years ago

By the way, what is the better convention? "Dark" and "Light" referring to dark and light spinners, which work best on light and dark themes, respectively? Or would it be better for "Dark" and "Light" to refer to the themes they are designed for, and not the objects themselves?

I'd normally prefer the latter, but thought the former made more sense in this case. Originally, I dodged the whole issue by calling them "black" and "white" based on the shade of the primary dot, which more clearly refers to the color of the animation. Changed it to light/dark when experimenting with light and dark grey, but didn't change the name back when reverting to pure black and white.

jlong commented 9 years ago

I'd suggest that they refer to the objects themselves.

ScottMichaud commented 9 years ago

Cool. That's how they are now.

jlong commented 9 years ago

@ScottMichaud Hey Scott! I went ahead and pulled in a modified version of this with only one theme. I figure people can modify the colors if they want it to work on a dark background. It's available in the 2.0.0 release.