Nov. 7th, 2010

ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
[personal profile] ninetydegrees
One of the most frequent issues in styles is the use of 'unreliable' color combinations. I explain. When there is no property for the element you want to color, you often use another existing property as DW asks you not to hardcode any color. And it's good and it works... for *your* themes. Unfortunately, further down the road, someone will make a darker theme, a lighter theme, or use a background color where you didn't and that's where text becomes unreadable because the text color is set to page_text and the background color is set to entry_background and, while page_text always works on page_background, it doesn't on anything else. See? Fail–safe property combo vs not-really-fail-safe property combo.

I'm not pointing fingers here. If I did I would point one at myself because I've done that. Funky Circles used to have some silly combos like entry_border over header_background or some other nonsense and I hadn't realized how bad it was till I tried to make some new themes.

Of course, it's something patchers should pay attention to as well but remember that you know your style best and two brains are often better than one. :) So if you assign a color to something there is no property for and you have to set it to another existing property please try to mention it in your entry so that the patcher can see if new properties need to be created.

You can also create new properties yourself in your layout layer using this:
propgroup colors_child {
    property Color new_property_name { des = "Description of what this color is for."; }
    property Color other_property_name { des = "Description of what this other color is for."; }
}


Theme designers, you can help too. If you notice something which is not working or make theming hard please mention it so that a dev can investigate.

And a reminder that all existing color properties can be found at http://www.dreamwidth.org/customize/advanced/layersource?id=550&fmt=html starting at 'Journal style - basic colors'.


Finally, keep on rocking. <3

Profile

dreamscapes: Sheep holding a paint brush and dreaming of Dreamwidth (Default)
Dreamscapes

March 2019

S M T W T F S
     12
3456789
10111213141516
171819202122 23
24252627282930
31      

Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 5th, 2025 11:24 am
Powered by Dreamwidth Studios