Skip to main content Skip to docs navigation

Close Button

Interactive icon elements that dismiss or close content when activated, featuring contextual visual styling and state-based interaction feedback.

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 button 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

Color tokens are listed for the default context variant only. Other context variants follow the same token pattern with variant-specific color values.

context:
default
Component TokenBase Token
color.context.default.transparent-color rgba({color.base.palette.light.black.base}, {opacity.level.zero})
color.context.default.fg-main {color.base.palette.light.neutral.90}
color.context.default.icon-main {color.base.palette.light.primary.50}
color.context.default.fg-slight rgba({color.base.context.light.default.fg-main}, {opacity.context.fg-slight})

Sizing

Component TokenBase Token
size.button.medium-icon {size.unit.24}
size.button.large-icon {size.unit.28}
size.button.small-icon {size.unit.20}

Border Radius

Component TokenBase Token
borderRadius.button.medium {borderRadius.base.button.medium}
borderRadius.button.large {borderRadius.base.button.large}
borderRadius.button.small {borderRadius.base.button.small}