Source code for winterthur.theme.winterthur_theme

from onegov.core.utils import module_path
from onegov.org.theme import OrgTheme

[docs] NEWSGOT = '"NewsGot", Verdana, Arial, sans-serif;'
# options editable by the user
[docs] user_options = { 'primary-color': '#e33521', 'font-family-sans-serif': NEWSGOT }
[docs] class WinterthurTheme(OrgTheme):
[docs] name = 'onegov.winterthur.foundation'
@property
[docs] def post_imports(self) -> list[str]: return [*super().post_imports, 'winterthur']
@property
[docs] def extra_search_paths(self) -> list[str]: base_paths = super().extra_search_paths return [module_path('onegov.winterthur.theme', 'styles'), *base_paths]
@property
[docs] def pre_imports(self) -> list[str]: return [*super().pre_imports, 'winterthur-foundation-mods']