Skip to main content
All tokens are exported from package:bkey_uikit/bkey_uikit.dart.

Colours

Static palette — BMoniColors

Use raw palette values directly when you need a specific shade regardless of the current theme:
The palette covers:
  • Brandbrand50 through brand900
  • Greygrey50 through grey900
  • Semanticsuccess, warning, error, info at multiple tones

Theme-aware tokens — context.colors

For colour values that automatically adapt to dark / light mode, use the BuildContext extension:
These semantic tokens resolve to the correct palette value for the active BMoniTheme.

Typography — BMoniTextStyles

The type scale covers four levels, each with multiple weights.

Display

Headings

Body

Label

All styles are TextStyle values — pass them directly to Text.style or extend them with copyWith.

TextTheme integration

BMoniTheme wires the type scale into Flutter’s TextTheme so you can also use the standard Material accessors:
When both approaches are available, prefer the BMoniTextStyles.* constants for explicitness.