Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration parameter to override the stylesheet #80

Merged
merged 1 commit into from
Sep 27, 2019

Conversation

sio
Copy link
Collaborator

@sio sio commented Sep 19, 2019

This commit adds new configuration parameter, THEME_CSS_OVERRIDES, which can contain a sequence (list, tuple, etc) of URLs to extra stylesheets that will be used to override default theme appearance. Both absolute and relative URLs are supported.

It makes the theme more flexible by allowing small stylesheet tweaks without requiring to maintain a fork of the whole theme.

When this parameter is not set the theme behaves same as before.

This commit adds new configuration parameter, THEME_CSS_OVERRIDES, which
can contain a sequence (list, tuple, etc) of URLs to extra stylesheets
that will be used to override default theme appearance. Both absolute and
relative URLs are supported.

It makes the theme more flexible by allowing small stylesheet tweaks
without requiring to maintain a fork of the whole theme.

When this parameter is not set the theme behaves same as before.
@rwanyoike rwanyoike merged commit 0c6fd9e into nairobilug:master Sep 27, 2019
@sio sio deleted the override-css branch September 27, 2019 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants