Source code for wtfs.theme.wtfs_theme

from onegov.core.utils import module_path
from onegov.foundation import BaseTheme


[docs] class WtfsTheme(BaseTheme):
[docs] name = 'onegov.wtfs.foundation'
@property
[docs] def pre_imports(self) -> list[str]: return ['font-newsgot', 'wtfs-foundation-mods']
@property
[docs] def post_imports(self) -> list[str]: return [ *super().post_imports, 'mixin', 'header', 'footer', 'form', 'chosen', 'table', 'alert', 'wtfs' ]
@property
[docs] def extra_search_paths(self) -> list[str]: base_paths = super().extra_search_paths return [module_path('onegov.wtfs.theme', 'styles'), *base_paths]