django_spire.theme.models
Theme
dataclass
family
instance-attribute
mode
instance-attribute
DEFAULT_FAMILY = ThemeFamily.DEFAULT
class-attribute
DEFAULT_MODE = ThemeMode.LIGHT
class-attribute
SEPARATOR = '-'
class-attribute
FAMILY_DISPLAY_NAMES = {ThemeFamily.AYU: 'Ayu', ThemeFamily.CATPPUCCIN: 'Catppuccin', ThemeFamily.DEFAULT: 'Default', ThemeFamily.DRACULA: 'Dracula', ThemeFamily.GRUVBOX: 'Gruvbox', ThemeFamily.MATERIAL: 'Material', ThemeFamily.NORD: 'Nord', ThemeFamily.OCEANIC_NEXT: 'Oceanic Next', ThemeFamily.ONE_DARK: 'One Dark Pro', ThemeFamily.PALENIGHT: 'Palenight', ThemeFamily.ROSE_PINE: 'Rose Pine', ThemeFamily.SYNTHWAVE: 'Synthwave', ThemeFamily.TOKYO_NIGHT: 'Tokyo Night'}
class-attribute
display
property
family_display
property
is_dark
property
stylesheet
property
value
property
__post_init__
django_spire/theme/models.py
from_string
classmethod
django_spire/theme/models.py
get_available
classmethod
get_default
classmethod
to_dict
django_spire/theme/models.py