Roger Binns wrote:
> Georg Brandl wrote:
>> I'm glad about every comment and criticism.
>
> One thing to consider is that some us are unable to create themed
> content due to not being artistic enough. Generally I would like to
> point to an existing theme designed by someone with good taste, but just
> change some colours. For example I'd like to point at the current theme
> but make it red rather than blue. It would be nice to be able to do
> that with one line of configuration :-)
I'd just really like if we could config the theme through conf.py. A
nice theme could then be easily changed. For instance, the slate-blue
theme is spreading wide to the point it feels generic (in a bad way)
like the generic WordPress or Blogger themes.
So, I imagine something like, in conf.py:
theme_color = '#f99'
Then in the theme, something like:
conf.setdefault('theme_color', '#9ff') # or whatever the default is
conf.setdefault('theme_accent',
Color(conf['theme_color']).brightness(0.7)).hex())
.. and so on, for all the colors ...
This would make it really easy for people to change the themes, and
fight some of the genericism.
Being able to prep the configuration with a Python file, and not Python
in templates, would be nice. Like, at first I imagined just doing:
color: {{conf.get('theme_accent', Color(conf.get('theme_color',
'#9ff')).brightness(0.7).hex())}}
But that's clearly going to be horrible fast.
--
Ian Bicking : [email protected] : http://blog.ianbicking.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---