kaigou: this is what I do, darling (Default)
锴 angry fishtrap 狗 ([personal profile] kaigou) wrote in [site community profile] dreamscapes2009-11-15 07:13 pm

Gradiance

Theme name/layout: Gradiance
Author: Kaigou
Layout info: originally Tranquility III
Image info: 10 substitute icons (5 per style)
Layout url: http://www.dreamwidth.org/customize/advanced/layersource?id=87751&fmt=html

Users can change the 8-scale gradient, the page background, the default text color, the content/comment background color, and colors for active & visited links. As long as the contrast between the 4th color and the 8th color is enough to make text legible, the gradient can go from darkest-dark to lightest-light, or from medium-dark to medium-light, depending on the amount of contrast required. The CSS looks a little funky as a result, but it makes for some easy cut-and-paste to create new color schemes.

The links all go to a test post on my journal, which has multiple replies of varying types (anon, registered, openid) so you can those in action.

Gradiance AmethystGradiance Amethyst Verso
Gradiance CarmineGradiance Carmine Verso
Gradiance CeladonGradiance Celadon Verso
Gradiance CeriseGradiance Cerise Verso
Gradiance CeruleanGradiance Cerulean Verso
Gradiance CobaltGradiance Cobalt Verso
Gradiance EmeraldGradiance Emerald Verso
Gradiance ForestGradiance Forest Verso
Gradiance FuschiaGradiance Fuschia Verso
Gradiance GrayscaleGradiance Grayscale Verso
Gradiance Halaya UbeGradiance Halaya Ube Verso
Gradiance HarlequinGradiance Harlequin Verso
Gradiance HeliotropeGradiance Heliotrope Verso
Gradiance IndigoGradiance Indigo Verso
Gradiance JadeGradiance Jade Verso
Gradiance LemonGradiance Lemon Verso
Gradiance MaizeGradiance Maize Verso
Gradiance MajorelleGradiance Majorelle Verso
Gradiance MidnightGradiance Midnight Verso
Gradiance MossGradiance Moss Verso
Gradiance NadeshikoGradiance Nadeshiko Verso
Gradiance OceanGradiance Ocean Verso
Gradiance OchreGradiance Ochre Verso
Gradiance OlivineGradiance Olivine Verso
Gradiance PeachGradiance Peach Verso
Gradiance PistachioGradiance Pistachio Verso
Gradiance RacingGradiance Racing Verso
Gradiance SangriaGradiance Sangria Verso
Gradiance SapphireGradiance Sapphire Verso
Gradiance SiennaGradiance Sienna Verso
Gradiance SkyGradiance Sky Verso
Gradiance SlateGradiance Slate Verso
Gradiance SpringGradiance Spring Verso
Gradiance StormGradiance Storm Verso
Gradiance ThistleGradiance Thistle Verso
Gradiance VermilionGradiance Vermilion Verso
Gradiance ViridianGradiance Viridian Verso

The substitute icons fill in when there's a blank for an anonymous poster, an RSS feed, a DW user, or an OpenID user. The last image the blockquote background. [ETA: after further testing, the regular icons look fine even on a reversed setup, so not seeing reason to do that extra bit.]



There are still some outstanding issues that I can't figure out. None of them are really deal-breakers, but if I can find answers to these questions, I'll edit the existing code to reflect the fixes.

I'm presuming separate layouts for reversed (light-on-dark) color schemes, but it seems like it'd be a LOT easier to give users the option of reversing the colors, with a simple yes/no question (which would then flip color_001 for color_008 and so on). Or is it better to treat each as separate themes, on the grounds that users wouldn't be aware ahead-of-time that the colors can be easily reversed in the wizard?


...I think that covers it!
wyntarvox: (Default)

[personal profile] wyntarvox 2009-11-16 04:42 am (UTC)(link)
I really like how these look! I just have a few things to clear up.

What's the logic for having two separate layouts with differring levels of customisability? Or maybe to rephrase, what's the logic behind restricting the customisability of this layout?

Make sure when you re-submit when you're ready for someone to patch it to add it to the site you pull out any colour definitions from the layout layer. Our policy is to only make colour definitions in theme layers. Also make sure you indicate which theme you want to be the default theme for your layout.

I also feel a bit weird about defining the custom text content; in my opinion, this should be left blank by default and left up to the user to decide whther or not he/she wants to use it. I kind of feel the same about the link text ('# voices', etc), especially since they're pretty specific. I feel like these should be pretty generic, but that might just be me.

re: 3.: If you really want the permalink to persist (even though it and the comment link point to the same place), what you could do is change the function CommentInfo::print() to remove the "} else {" block around the permalink.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-11-16 05:02 am (UTC)(link)
I think for the link, it should be consistent among all layouts. Ummm. Perhaps throw it into suggestions, to see whether having there are any strenuous objections to having "link" always show?

I like the idea of having two different levels of customizability (as I've told you before *g* if forced to choose, I think I'd prefer simpler to defining everything at once), but hmmmm. I don't know if we're restricting any layouts to paid only. I don't actually know if we can, since even free accounts can just copy and paste (assuming they have the technical knowhow)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-11-16 05:21 am (UTC)(link)
Oh, that is old (left over from LJ). I've been meaning to ask about whether we can just remove it since I don't see it having much use, practically speaking.

Heee. As long as the descriptions are clear about what they're being applied to, and the color combinations are flexible and won't lead to surprise unreadable text (and I think with the variety of gradients you've tried here, you've pretty much covered all the bases!), then, you know! *g*
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-11-16 05:54 am (UTC)(link)
You see right through me! Alas!
wyntarvox: (Default)

[personal profile] wyntarvox 2009-11-16 05:20 am (UTC)(link)
Oh, sorry, I completely missed where you commented in the source the temp stuff. My mistake! :)

Like Fu said above, if you feel strongly that the permalink should always be there across all layouts, throw up a suggestion and we'll see where it goes. She has a good point about it being consistent across layouts.

Regarding the free vs. paid distinction, we don't currently have any paid-only layouts and I don't know what the policy/plan is regarding them. If we do go down that track, I don't think the fact that it's tricky to set up the customisation wizard is a good enough reason to make the layout paid-only. If the server issues are significant I guess so, but other than that it should be free as well in my opinion.

Having said that, I'm still not sold on having two different layouts for different customisation levels. I'm worried that it'll clutter the select style page with essentially-identical layouts for relatively little gain, unless I'm misunderstanding how it would work? In my opinion we should go with one or the other. Either let users fully customise it via the wizard, or have only the basic 8 colours customisable in the wizard and users who want more specific customisations can do so with custom layers/CSS.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2009-11-16 05:28 am (UTC)(link)
I have a thought, but it makes for ugly code:

1.) eight properties exposed through the wizard
2.) bunch of other properties, which are defined noui, so you can edit them in a user or theme layer
3.) blank noui properties will be initialized in prop_init to match the properties exposed through the wizard (so you could have a "page_border" property exposed through the wizard. It, in turn, sets the colors of "entry_border" and "content_border" which are both noui, if these don't already have a color defined
4.) the noui properties are what are used in the CSS

But hmmmmm, I think the approach above will take a lot of work, and that eight is enough. The biggest problem we had, and the reason we eventually split up things into more and more properties, is that some color combinations would not work with light on dark (you could pick a good color combination for the main areas, but then, surprise unreadable text in small sections! especially when it came to links on accent colors :-))

Since this layout was built with the balance of changing color combinations in mind, I think we don't need to offer as fine-grained control over individual colors, if that makes sense?
wyntarvox: (Default)

[personal profile] wyntarvox 2009-11-16 05:47 am (UTC)(link)
Yeah I get what you mean about not wanting to set up the ~120 colours. That would probably be a pain to customise as well as code.

I think the best option is to have the one free layout with the 8 colours customisable via the wizard, since that's the essential point of this layout. If users want to customise it further, they still can using custom CSS.