Source code for fsi.theme

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


# options editable by the user
[docs] user_options = { 'primary-color-ui': '#1d487c', }
[docs] class FsiTheme(TownTheme):
[docs] name = 'onegov.fsi.theme'
@property
[docs] def post_imports(self) -> list[str]: return [*super().post_imports, 'fsi']
@property
[docs] def pre_imports(self) -> list[str]: return [*super().pre_imports, 'fsi-foundation-mods']
@property
[docs] def extra_search_paths(self) -> list[str]: base_paths = super().extra_search_paths return [module_path('onegov.fsi.theme', 'styles'), *base_paths]