Source code for translator_directory.theme

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


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