kontenedor

Weights

A weight is a coordinated set of tokens that changes the visual intensity of every component at once. Components stay identical in API and structure.

Token Thin Medium Bold
Border width 1px 1px 2px (ink)
Radius md 4px 8px 12px
Shadows none soft hard offset
Body / heading weight 300 / 300 400 / 600 500 / 800
Icon stroke (Material Symbols wght) 200 400 600, filled
Control height md 36px 40px 44px
Focus ring 1px 2px 3px

Switching

<html data-weight="thin">          <!-- whole app -->
<section data-weight="bold">       <!-- any subtree -->
import { KontenedorScope } from "@/components/kontenedor/ui/layout";

<KontenedorScope weight="bold" theme="dark">…</KontenedorScope>

Weight-aware utilities

Use these in your own components so they respond to the weight:

  • border-k, border-k-t, border-k-b — border width follows the weight.
  • focus-ring — accessible focus outline.
  • press — tactile press offset (Bold only).
  • font-body, font-medium, font-strong, font-heading and tracking-heading.
  • Variants thin: and bold: — e.g. bold:shadow-md thin:border-border.

When to use each

  • Thin — editorial, luxury, portfolios, marketing sites, email.
  • Medium — SaaS, dashboards, CRM, ERP, e-commerce. The default.
  • Bold — campaigns, launches, keynotes, gaming, education, expressive brands.

You can mix them: a Medium product with a Bold marketing hero.