theme
theme
Festo-branded Rich theme and console factory.
Palette sourced from the Festo corporate design system (docs/css/extra.css
across all Festo Python packages). Proportions follow the Festo corporate
colour-proportion guideline (dominant white space → black text → grey tones →
light blue highlight → Festo blue call-to-action accent):
========================= ========= ==============================================
Name Hex Reference
========================= ========= ==============================================
FESTO_BLACK_ATERUL #000000 Font / body text
FESTO_CHARCOAL #333333 Dark backgrounds, strong text
FESTO_GRAY_1 #717D86 Pantone 431 C — darkest grey
FESTO_GRAY_2 #949EA6 Pantone 430 C
FESTO_GRAY_CANUL #B6BEC6 Pantone 429 C — borders, muted labels
FESTO_GRAY_4 #D0D6DC Pantone 428 C
FESTO_GRAY_SUCANUL #E5E8EB Pantone 427 C — large areas, table values
FESTO_BLUE_CAERUL #0091DC HKS 47 K / PMS Process Blue — call-to-action
FESTO_BLUE_2 #48B9EB Pantone 298 C
FESTO_BLUE_3 #92D5F6 Pantone 297 C
FESTO_BLUE_SUCAERUL #C8E6FA Pantone 290 C — highlight / subtle accents
FESTO_BLUE_5 #DEF0FC Lightest blue tint
========================= ========= ==============================================
Import this module in any CLI that needs Festo-consistent output::
1 2 3 4 5 | |
Named styles
festo.brand
Bold Festo blue — section headers, product names.
festo.ok
Festo blue — success marks, command names in help text, inline values.
festo.muted
Mid-grey — secondary labels, dimmed hints.
festo.value
Light grey — numeric values in tables.
festo_console
Return a Rich :class:~rich.console.Console using the Festo brand theme.
All :func:~rich.console.Console.print calls on the returned console
recognise [festo.brand], [festo.ok], [festo.muted], and
[festo.value] as styled markup tags in addition to standard Rich tags.
Returns:
| Type | Description |
|---|---|
Console
|
Themed console instance ready for CLI output. |