Skip to main content Skip to docs navigation

Notification

Temporary messages that inform users about system events, updates, or changes, typically appearing as toast messages or banner alerts.

This documentation is a work in progress and may contain incomplete or outdated information. If you have any feedback or suggestions, please open an issue on GitHub.

Tokens

Standardized design system values that define consistent visual properties across notification components. These tokens ensure visual coherence while enabling flexible theme customization and brand adaptation.

Theming Tokens

Design tokens organized by category with color-coded labels indicating their scope and impact level. Each token includes detailed specifications with values, usage guidelines, and customization options.

Legend:
  • Granular tokens that affect only this component.
  • Granular tokens that affect other components.
  • Semantic tokens that affect the whole application.
  • Base tokens that affect the whole application.

Color

context:
default
Component TokenBase Token
color.context.default.bg-main {color.base.context.light.default.bg-main}
color.context.default.bg-solid {color.base.context.light.default.bg-solid}
color.context.default.fg-main {color.base.context.light.default.fg-main}
color.context.default.fg-solid {color.base.context.light.default.fg-solid}
color.context.default.transparent-color {color.base.context.light.default.transparent-color}

Typography

Component TokenBase Token
font.notification.title {font.text.large.strong}
font.notification.message {font.text.medium.normal}

Sizing

Component TokenBase Token
size.notification.icon {size.unit.28}

Spacing

Component TokenBase Token
space.notification.padding-y {space.unit.12}
space.notification.padding-x {space.unit.16}
space.notification.gap {space.unit.16}
space.context.small {size.unit.12}
space.context.xsmall {size.unit.8}
space.context.2xsmall {size.unit.4}

Border Radius

Component TokenBase Token
borderRadius.notification.main {borderRadius.context.medium}

Border Width

Component TokenBase Token
borderWidth.notification.main {borderWidth.context.medium}