kaigou: this is what I do, darling (T experience turbulence)
锴 angry fishtrap 狗 ([personal profile] kaigou) wrote in [community profile] style_system 2009-11-17 09:43 pm (UTC)

Yes and no. If I follow the logic, then currently it's something like this:

-- layout defines property $X
-- layout sets $X = 'blue' ---> default value
-- theme sets $X = 'green' ---> default value for theme
-- user sets $X = 'red' ---> overrides all of the above

Right? So if instead of setting $X in the theme, I define it in the layout like so:

-- layout defines property $X
-- layout defines property $Y
-- layout sets $X = 'blue' ---> default value
-- layout sets $Y = true
-- layout function sez:
... if $Y is true, $X = 'blue', else $X = $Z
-- theme sets $Y = false
-- theme sets $Z = green
-- user sets $X = 'red' ---> overrides all of the above by setting $Y as true and $X as red, theme value is ignored

... OR I could just say to hell with it and do it long-hand, because this is like spending twenty dollars to save ten cents, isn't it.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting