Source code for landsgemeinde.theme

from onegov.core.utils import module_path
from onegov.town6.theme import TownTheme


[docs] class LandsgemeindeTheme(TownTheme):
[docs] name = 'onegov.landsgemeinde.theme'
@property
[docs] def post_imports(self) -> list[str]: return [ *super().post_imports, 'landsgemeinde', 'ticker' ]
@property
[docs] def extra_search_paths(self) -> list[str]: base_paths = super().extra_search_paths return [ module_path('onegov.landsgemeinde.theme', 'styles'), *base_paths ]