[mythtv-users] customizing a theme
Joseph Fry
joe at thefrys.com
Wed Jul 10 13:01:02 UTC 2013
> Is there a (simple) way to customize, say, the font size used by a theme?
>>>>
>>>> Unfortunately none that I am aware of. Every time I get a new version
>>> of Blue Abstract, I copy it and start tweaking away. I know no other way
>>> to do it. Unfortunately, the font sizes are tightly coupled to the
>>> geometries of the theme. I will often change a font size, see what
>>> geometries break, and then fix them.
>>>
>>
>> No "simple" way... but I do believe that there is a way to 'override'
>> settings in the theme by creating a single file containing the overrides
>> that will survive a theme update (similar to CSS inheritance). I'm sure
>> someone will have the documentation... but I swear I remember reading about
>> it in a past thread.
>>
>
> Yes, font, shapes, etc. all have attributes that are inherited similar to
> CSS. Setting one of these 'overrides" could easily cause geometry problems
> all over the theme.
>
> As an example, often button shapes are defined in pixels. They are
> completely decoupled from the font size of the text on the button.
> Increasing the font size will not automatically increase the button size.
> This can cause all sorts of problem visually if the text no longer fits on
> the button.
>
> This was much more complex when I increased font sizes on the guide. This
> didn't affect just a single button, but rather an entire grid of shapes.
>
I wasn't suggesting that the process was easy in any way shape or form...
only that I thought you could manipulate a theme without changing any of
the theme's files... that way the changes would survive a theme update.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130710/6cc58a51/attachment.html>
More information about the mythtv-users
mailing list