For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt, and this page is available as Markdown at https://wallarm.github.io/design-system/foundations/index.md.

Foundations

The tokens and rules every component is built on: spacing, color, typography, radius, elevation, layering, focus and icons.

  • Wallarm design system tokens: color palettes, semantic light and dark colors, spacing, typography, radius, shadow, blur, focus and icon sizes, with their values.

  • Use when choosing a gap, padding or margin value, a Stack or Flex gap prop, or the inner spacing of a page, card, drawer or dialog.

  • Use when choosing a background, text, icon, border or hover color, so the value switches correctly between light and dark themes.

  • Use when you set text size, weight, line height or font family, or pick between Text, Heading and Code.

  • Use when choosing a border radius or a shadow for your own element, or when matching the corners and depth of a design-system surface.

  • Use when an overlay must paint above another one, or when you consider adding a z-index class to app code.

  • Use when an element must show keyboard focus, to pick the ring recipe, the focus color token, and where no ring goes.

  • Import icons from the icons entry point, size them and give meaningful icons a title.