Source code for pas.theme

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


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