pysepal.frontend.styles#

Helpers to customize the display of sepal-ui widgets and maps.

Module Attributes

JSON_DIR

The path to the json style folder

CSS_DIR

The path to the css style folder

JS_DIR

The path to the js style folder

TYPES

The different types defined by ipyvuetify

DARK_THEME

colors used for the dark theme

LIGHT_THEME

colors used for the light theme

Functions

get_theme

Get theme name from the config file (default to dark).

SepalColor(*args, **kwargs)

Custom simple name space to store and access to the pysepal colors and with a magic method to display theme.

ThemeColors(*args, **kwargs)

Public constructor