town6.theme.town_theme

Attributes

HELVETICA

ARIAL

VERDANA

COURIER_NEW

ROBOTO_CONDENSED

MERRIWEATHER

user_options

default_font_families

Classes

TownTheme

Module Contents

town6.theme.town_theme.HELVETICA = '"Helvetica Neue", Helvetica, Roboto, Arial, sans-serif !default'[source]
town6.theme.town_theme.ARIAL = 'Arial, sans-serif !default'[source]
town6.theme.town_theme.VERDANA = 'Verdana, Geneva, sans-serif !default'[source]
town6.theme.town_theme.COURIER_NEW = '"Courier New", Courier, monospace !default'[source]
town6.theme.town_theme.ROBOTO_CONDENSED = '"Roboto Condensed", sans-serif !default'[source]
town6.theme.town_theme.MERRIWEATHER = 'Merriweather, sans-serif !default'[source]
town6.theme.town_theme.user_options[source]
town6.theme.town_theme.default_font_families[source]
class town6.theme.town_theme.TownTheme[source]

Bases: onegov.foundation6.BaseTheme

name = 'onegov.town6.foundation'[source]
_force_compile = False[source]
use_flex = True[source]
include_motion_ui = True[source]
property default_options: dict[str, Any][source]
property foundation_styles: collections.abc.Sequence[str][source]
property foundation_components: tuple[str, ...][source]
property pre_imports: list[str][source]
property post_imports: list[str][source]

Our scss code split into various files

property extra_search_paths: list[str][source]
property font_search_path: str[source]

Load fonts of the current theme folder and ignore fonts from parent applications if OrgTheme is inherited.

property font_families: dict[str, str][source]
property additional_font_families: dict[str, str][source]

Filenames for use as labels in the settings and to construct the font-family string. Only sans-serif fonts are currently supported.