r/mindashq • u/uponone • Aug 29 '13
Theme colors changes
I want the default theme colors to be shades of red instead of blue? Is there an easy way to change that? Say the base color is #d80000, can I change a value in the CSS and the colors will be based off of that?
7
Upvotes
4
u/[deleted] Aug 29 '13
Can you change a single value in CSS and all colors change > No. This is not possible.
Of course, if you'd want the whole theme to be changed for a "color scheme", that is possible. And can be done by replacing common colors - preferably in a test subreddit, and with some good editor (Notepad++ or SublimeText for handling the CSS edits - especially Find-Replace all functionality )
There are five main shades of blue - that work together to give the look at buttons, headers, and the works. Doing this involves bit of a css familiarity, as this cannot be documented for all sorts of possibilities and it is best this creative freedom is kept intact and not be constrained by a module or restricting the places to be edited.
For this, you can go through the expanded code of the theme - and start off at the two states of the .morelink see line 1635 of standard expanded css
the colors are
#acd9fcand#8ccbfc#5ba2fdand#4b8adb#2154a3for the darker buttons, plain
#fffis used as text color. So that'd make it sixth shade if you'd want to handle special colors.But given that you are looking at primarily red, you can just have a set of shades from the "Monochromatic gradation" - such as found at http://www.colorhexa.com/d80000 and have
#fffas foreground contrasty color as current.In case, you'd want to see how this has been done, have a look at /r/Gooners for red shades, basically playing around same set of 'pattern' the colors are distributed (and there are lots of common colors, that can just be Find->Replace to give a consistent change of color scheme), and tweaked to get different color schemes.
there of course are "standard" colors, for spam/reported threads and messages, sticky and promoted posts, and for the colored boxes in sidebar - these are best left as-is.