Skip to content

Theme

theme

Defines the Rich Theme + Consoles for the CLI

Maps the frontend's "Sumi & Shu" design to Rich styles so that the terminal output matches the frontend. Defines a shared console for output and a err_console for errors

MIRUMOJI_THEME = Theme({'accent': '#E2533B', 'accent.soft': '#F08A6E', 'info': '#5E83A4', 'success': '#8AA06A', 'danger': 'bold #C8503D', 'warning': '#D9A441', 'muted': '#7E7567', 'heading': 'bold #F4EEE3', 'ink': '#F4EEE3'}) module-attribute

Defines the Rich theme for the Mirumoji CLI mimicking the frontend's Sumi & Shu design