---
version: alpha
name: Appetite UI
description: "Appetite UI is a UI kit for iOS and Android apps, in Figma and in code, built like a design system. It comes as a Figma file, as code for React Native, SwiftUI, Flutter and Jetpack Compose, or both, and one token source drives Apple and Material components in light and dark mode."
omitted:
  - section: Voice & Content Strategy
    reason: The voice belongs to your app, not to a UI kit.
colors:
  primary: "#155DFC"
  light:
    brand:
      lighter: "#EFF6FF"
      light: "#DBEAFE"
      base: "#155DFC"
      dark: "#193CB8"
      darker: "#1C398E"
      alpha-10: "#2B7FFF1A"
      pressed: "#193CB8"
    text:
      white-0: "#FFFFFF"
      disabled-400: "#AEAEB2"
      soft-500: "#636366"
      sub-700: "#48484A"
      strong-950: "#0E0E0F"
      on-color:
        strong: "#FFFFFF"
        subtle: "#FFFFFFE0"
    fg:
      white-0: "#FFFFFF"
      disabled-400: "#AEAEB2"
      soft-500: "#8E8E93"
      sub-700: "#48484A"
      strong-950: "#0E0E0F"
    border:
      white-0: "#FFFFFF"
      soft-100: "#E9E9EA"
      sub-200: "#D1D1D6"
      strong-950: "#0E0E0F"
    bg:
      white-0: "#FFFFFF"
      weak-50: "#F4F5F5"
      soft-100: "#E9E9EA"
      sub-200: "#D1D1D6"
      surface-800: "#2F2F31"
      strong-950: "#0E0E0F"
      sub-300: "#C7C7CC"
      grouped-canvas: "#F4F5F5"
      grouped-cell: "#FFFFFF"
      elevated: "#FFFFFF"
      scrim: "#00000066"
      elevated-1: "#E9E9EA"
      elevated-2: "#D1D1D6"
      surface-top: "#DEDEE0"
      raised: "#FFFFFF"
    state:
      information:
        lighter-50: "#EFF6FF"
        light-200: "#BEDBFF"
        base-500: "#155DFC"
        dark-950: "#132150"
      error:
        lighter-50: "#FEF2F2"
        light-200: "#FFC9C9"
        base-500: "#FB2C36"
        dark-950: "#460809"
        dark-700: "#C10007"
      warning:
        lighter-50: "#FFF7ED"
        light-200: "#FFD6A7"
        base-500: "#FF6900"
        dark-950: "#441306"
      success:
        lighter-50: "#F0FDF4"
        light-200: "#BBF7D0"
        base-500: "#22C55E"
        dark-950: "#09361B"
    static:
      static-white-0: "#FFFFFF"
      static-black-950: "#0E0E0F"
    icon:
      on-color: "#FFFFFF"
  dark:
    brand:
      lighter: "#132150"
      light: "#0D2673"
      base: "#2B7FFF"
      dark: "#82BFFF"
      darker: "#BEDBFF"
      alpha-10: "#2B7FFF1A"
      pressed: "#155DFC"
    text:
      white-0: "#0E0E0F"
      disabled-400: "#8E8E93"
      soft-500: "#AEAEB2"
      sub-700: "#C7C7CC"
      strong-950: "#FFFFFF"
      on-color:
        strong: "#FFFFFF"
        subtle: "#FFFFFFE0"
    fg:
      white-0: "#0E0E0F"
      disabled-400: "#8E8E93"
      soft-500: "#AEAEB2"
      sub-700: "#C7C7CC"
      strong-950: "#FFFFFF"
    border:
      white-0: "#0E0E0F"
      soft-100: "#2F2F31"
      sub-200: "#48484A"
      strong-950: "#FFFFFF"
    bg:
      white-0: "#0E0E0F"
      weak-50: "#242427"
      soft-100: "#48484A"
      sub-200: "#636366"
      surface-800: "#D1D1D6"
      strong-950: "#FFFFFF"
      sub-300: "#8E8E93"
      grouped-canvas: "#0E0E0F"
      grouped-cell: "#242427"
      elevated: "#48484A"
      scrim: "#0000007A"
      elevated-1: "#2F2F31"
      elevated-2: "#48484A"
      surface-top: "#48484A"
      raised: "#242427"
    state:
      information:
        lighter-50: "#2B7FFF29"
        light-200: "#2B7FFF3D"
        base-500: "#155DFC"
        dark-950: "#82BFFF"
      error:
        lighter-50: "#FB2C3629"
        light-200: "#FB2C363D"
        base-500: "#FB2C36"
        dark-950: "#FFA2A2"
        dark-700: "#FFA2A2"
      warning:
        lighter-50: "#FF690029"
        light-200: "#FF69003D"
        base-500: "#F54900"
        dark-950: "#FFB86A"
      success:
        lighter-50: "#22C55E29"
        light-200: "#22C55E3D"
        base-500: "#16A34A"
        dark-950: "#86EFAC"
    static:
      static-white-0: "#FFFFFF"
      static-black-950: "#0E0E0F"
    icon:
      on-color: "#FFFFFF"
typography:
  xs-default:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 400
    lineHeight: 16px
    letterSpacing: 0.1px
  xs-emphasized:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 600
    lineHeight: 16px
    letterSpacing: 0.1px
  sm-default:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 20px
    letterSpacing: 0.1px
  sm-emphasized:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 600
    lineHeight: 20px
    letterSpacing: 0.1px
  base-default:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 24px
    letterSpacing: 0px
  base-emphasized:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 600
    lineHeight: 24px
    letterSpacing: 0px
  lg-default:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 400
    lineHeight: 28px
    letterSpacing: 0px
  lg-emphasized:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 600
    lineHeight: 28px
    letterSpacing: 0px
  xl-default:
    fontFamily: Inter
    fontSize: 20px
    fontWeight: 400
    lineHeight: 28px
    letterSpacing: 0px
  xl-emphasized:
    fontFamily: Inter
    fontSize: 20px
    fontWeight: 600
    lineHeight: 28px
    letterSpacing: 0px
  "2xl-default":
    fontFamily: Inter Display
    fontSize: 24px
    fontWeight: 400
    lineHeight: 32px
    letterSpacing: -0.24px
  "2xl-emphasized":
    fontFamily: Inter Display
    fontSize: 24px
    fontWeight: 600
    lineHeight: 32px
    letterSpacing: -0.24px
  "3xl-default":
    fontFamily: Inter Display
    fontSize: 30px
    fontWeight: 400
    lineHeight: 36px
    letterSpacing: -0.45px
  "3xl-emphasized":
    fontFamily: Inter Display
    fontSize: 30px
    fontWeight: 500
    lineHeight: 36px
    letterSpacing: -0.45px
  "4xl-default":
    fontFamily: Inter Display
    fontSize: 36px
    fontWeight: 400
    lineHeight: 40px
    letterSpacing: -0.54px
  "4xl-emphasized":
    fontFamily: Inter Display
    fontSize: 36px
    fontWeight: 500
    lineHeight: 40px
    letterSpacing: -0.54px
  "5xl-default":
    fontFamily: Inter Display
    fontSize: 48px
    fontWeight: 400
    lineHeight: 52px
    letterSpacing: -0.96px
  "5xl-emphasized":
    fontFamily: Inter Display
    fontSize: 48px
    fontWeight: 500
    lineHeight: 52px
    letterSpacing: -0.96px
  "6xl-default":
    fontFamily: Inter Display
    fontSize: 60px
    fontWeight: 400
    lineHeight: 64px
    letterSpacing: -1.2px
  "6xl-emphasized":
    fontFamily: Inter Display
    fontSize: 60px
    fontWeight: 500
    lineHeight: 64px
    letterSpacing: -1.2px
rounded:
  none: 0px
  sm: 2px
  base: 4px
  md: 8px
  lg: 12px
  xl: 16px
  "2xl": 24px
  "3xl": 32px
  "4xl": 40px
  "5xl": 48px
  full: 9999px
spacing:
  "0": 0px
  px: 1px
  "0-5": 2px
  "1": 4px
  "1-5": 6px
  "2": 8px
  "2-5": 10px
  "3": 12px
  "4": 16px
  "5": 20px
  "6": 24px
  "7": 28px
  "8": 32px
  "9": 36px
  "10": 40px
  "11": 44px
  "12": 48px
  "14": 56px
  "16": 64px
  "20": 80px
  "24": 96px
  "30": 120px
  "32": 128px
  "40": 160px
  touch-target-ios: 44px
  touch-target-android: 48px
  screen-padding: 16px
motion:
  toggle-state:
    duration: 120ms
    timingFunction: "cubic-bezier(0.2, 0, 0, 1)"
  sheet-enter:
    duration: 200ms
    timingFunction: "cubic-bezier(0, 0, 0, 1)"
  sheet-exit:
    duration: 120ms
    timingFunction: "cubic-bezier(0.3, 0, 1, 1)"
  dialog-enter:
    duration: 200ms
    timingFunction: "cubic-bezier(0.05, 0.7, 0.1, 1)"
  toast-enter:
    duration: 120ms
    timingFunction: "cubic-bezier(0, 0, 0, 1)"
  page-push:
    duration: 200ms
    timingFunction: "cubic-bezier(0.05, 0.7, 0.1, 1)"
  skeleton-pulse:
    duration: 480ms
    timingFunction: "cubic-bezier(0, 0, 1, 1)"
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.light.static.static-white-0}"
    typography: "{typography.base-emphasized}"
    rounded: "{rounded.full}"
    height: "{spacing.11}"
  button-primary-pressed:
    backgroundColor: "{colors.light.brand.pressed}"
    textColor: "{colors.light.static.static-white-0}"
  button-secondary:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.brand.base}"
    typography: "{typography.base-emphasized}"
    rounded: "{rounded.full}"
    height: "{spacing.11}"
  text-input:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.text.strong-950}"
    typography: "{typography.base-default}"
    rounded: "{rounded.none}"
    height: "{spacing.14}"
  text-input-placeholder:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.text.soft-500}"
    typography: "{typography.base-default}"
  text-input-error:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.state.error.dark-700}"
    typography: "{typography.sm-default}"
  chip:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.text.sub-700}"
    typography: "{typography.sm-default}"
    rounded: "{rounded.full}"
    height: "{spacing.8}"
  chip-selected:
    backgroundColor: "{colors.light.bg.strong-950}"
    textColor: "{colors.light.text.white-0}"
  list-row:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.text.strong-950}"
    typography: "{typography.base-emphasized}"
    rounded: "{rounded.2xl}"
    padding: "{spacing.4}"
  list-row-pressed:
    backgroundColor: "{colors.light.bg.weak-50}"
    textColor: "{colors.light.text.strong-950}"
  list-row-description:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.text.sub-700}"
    typography: "{typography.sm-default}"
  tab-bar:
    backgroundColor: "{colors.light.bg.white-0}"
    textColor: "{colors.light.text.soft-500}"
    typography: "{typography.xs-emphasized}"
    rounded: "{rounded.full}"
  tab-bar-active:
    textColor: "{colors.light.brand.base}"
    typography: "{typography.xs-emphasized}"
  button-primary-dark:
    backgroundColor: "{colors.dark.brand.base}"
    textColor: "{colors.dark.static.static-white-0}"
    typography: "{typography.base-emphasized}"
    rounded: "{rounded.full}"
    height: "{spacing.11}"
  button-primary-pressed-dark:
    backgroundColor: "{colors.dark.brand.pressed}"
    textColor: "{colors.dark.static.static-white-0}"
  button-secondary-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.brand.base}"
    typography: "{typography.base-emphasized}"
    rounded: "{rounded.full}"
    height: "{spacing.11}"
  text-input-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.text.strong-950}"
    typography: "{typography.base-default}"
    rounded: "{rounded.none}"
    height: "{spacing.14}"
  text-input-placeholder-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.text.soft-500}"
    typography: "{typography.base-default}"
  text-input-error-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.state.error.dark-700}"
    typography: "{typography.sm-default}"
  chip-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.text.sub-700}"
    typography: "{typography.sm-default}"
    rounded: "{rounded.full}"
    height: "{spacing.8}"
  chip-selected-dark:
    backgroundColor: "{colors.dark.bg.strong-950}"
    textColor: "{colors.dark.text.white-0}"
  list-row-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.text.strong-950}"
    typography: "{typography.base-emphasized}"
    rounded: "{rounded.2xl}"
    padding: "{spacing.4}"
  list-row-pressed-dark:
    backgroundColor: "{colors.dark.bg.weak-50}"
    textColor: "{colors.dark.text.strong-950}"
  list-row-description-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.text.sub-700}"
    typography: "{typography.sm-default}"
  tab-bar-dark:
    backgroundColor: "{colors.dark.bg.white-0}"
    textColor: "{colors.dark.text.soft-500}"
    typography: "{typography.xs-emphasized}"
    rounded: "{rounded.full}"
  tab-bar-active-dark:
    textColor: "{colors.dark.brand.base}"
    typography: "{typography.xs-emphasized}"
---

<!-- Generated from the Appetite UI 2.6 token source, exported 2026-11-20. Edit the tokens, not this file. -->

# Appetite UI

## Overview

Appetite UI draws one visual language on iOS and on Android. Colors, type, radii, spacing, icons,
motion curves and the shape of every component are the same on both platforms, so an app reads as
one product whichever phone it runs on.

A platform may differ only for one of these reasons:

1. **The OS contract.** What the user's hands expect and the system provides: Back on Android, a
   swipe down to close a sheet, a swipe from the left edge on iOS, keyboard return keys, a tap on
   the status bar to scroll to the top, safe areas and haptics.
2. **The user's settings.** Text size, Reduce Motion or Remove animations, and light or dark
   appearance.
3. **Native touch feedback.** Android users expect a ripple under the finger; iOS users expect the
   control to change to its Pressed color.

Every size in this file is written in px. Read one px as one point (pt) on iOS and one
density-independent pixel (dp) on Android: both are density-independent units, so the numbers carry
over unchanged.

Light and dark follow the system setting. Colors that change with the mode live in the `light` and
`dark` maps of `colors`; `primary` is the brand color in light mode. The section iOS and Android at
the end lists every value and behavior that adapts per platform.

You may copy and adapt this file under the MIT License.

## Colors

Every color has a role, and the role names its job. The names are the Figma variable names of the
kit, with `/` written as a YAML group: `text/sub-700` is `colors.light.text.sub-700` and
`colors.dark.text.sub-700`.

- **Text** (`text/*`) is for words. Strong ink for titles and values, sub for secondary text, soft
  for placeholders and captions, disabled for disabled controls only.
- **Icons** (`fg/*`) are for glyphs and shape strokes, never for text, even where a value matches a
  text role today.
- **Surfaces** (`bg/*`) are fills, from the page (`bg/white-0`) up through the elevated and raised
  steps to the strong fill under white labels.
- **Borders** (`border/*`) are hairlines and strokes.
- **Brand** (`brand/*`) is the primary action, the active state, selection and links. `brand/base`
  is `primary`.
- **States** (`state/*`) are status: error, warning, success and information, each with a light
  tint, a light fill, a base and a dark step for text.

| Role | Light | Dark | Job |
| --- | --- | --- | --- |
| `brand/lighter` | #EFF6FF | #132150 | Brand tint background. Selected rows and subtle brand fills. |
| `brand/light` | #DBEAFE | #0D2673 | Brand tint, one step stronger. Chips and badges. |
| `brand/base` | #155DFC | #2B7FFF | The brand color. Primary buttons, active states, links. Maps to iOS tint and M3 primary. |
| `brand/dark` | #193CB8 | #82BFFF | Strong brand step. Maps to M3 secondary in Brand mode and draws darker brand marks in data and illustration, such as the Tasks timeline bars and the Company Logo tiles. In Dark it resolves lighter than brand/base, so it is not a pressed state: a pressed brand fill and the iOS pressed tint use brand/pressed. |
| `brand/darker` | #1C398E | #BEDBFF | Brand text on a brand tint background. |
| `brand/alpha-10` | #2B7FFF1A | #2B7FFF1A | Brand at 10% alpha. Press ripples and state layers. |
| `brand/pressed` | #193CB8 | #155DFC | Pressed fill of brand filled controls. Darker than brand/base in Light and in Dark, so a white label stays above 4.5:1. |
| `text/white-0` | #FFFFFF | #0E0E0F | Text on an inverted surface. |
| `text/disabled-400` | #AEAEB2 | #8E8E93 | Disabled label text. Fails contrast by design, never for live content. WCAG exempts disabled controls, so 2.21:1 is intentional. |
| `text/soft-500` | #636366 | #AEAEB2 | Tertiary text. Timestamps, helper text, placeholders. Light: 6.0:1 on bg/white-0, 5.5:1 on bg/weak-50, 4.9:1 on bg/soft-100. Meets AA at every size. Dark: 8.7:1 on bg/white-0, 7.0:1 on bg/weak-50, 4.1:1 on bg/soft-100, which meets AA for large text only (24px, or 18.66px bold). |
| `text/sub-700` | #48484A | #C7C7CC | Secondary text. Descriptions, list subtitles, captions. |
| `text/strong-950` | #0E0E0F | #FFFFFF | Primary text. Headings and body copy. Default choice. |
| `text/on-color/strong` | #FFFFFF | #FFFFFF | Primary text on a brand or colored surface. Does not flip with the theme. Contrast 5.25:1 on brand/base in Light, 3.76:1 in Dark. Button labels below 18px do not meet AA in Dark. |
| `text/on-color/subtle` | #FFFFFFE0 | #FFFFFFE0 | Secondary text on a brand or colored surface. White at 88%. Does not flip with the theme. Contrast 4.41:1 on brand/base in Light, 3.26:1 in Dark. The Dark figure is capped by brand/base resolving to blue/400. Use for 18px and above, or move brand/base to blue/500 in Dark. |
| `fg/white-0` | #FFFFFF | #0E0E0F | Icon on an inverted surface. |
| `fg/disabled-400` | #AEAEB2 | #8E8E93 | Disabled icon. |
| `fg/soft-500` | #8E8E93 | #AEAEB2 | Tertiary icon. Decorative and low-emphasis glyphs. |
| `fg/sub-700` | #48484A | #C7C7CC | Secondary icon. Chevrons and metadata icons. |
| `fg/strong-950` | #0E0E0F | #FFFFFF | Primary icon. Default for actionable glyphs. |
| `border/white-0` | #FFFFFF | #0E0E0F | Border on an inverted surface. |
| `border/soft-100` | #E9E9EA | #2F2F31 | Hairline divider. List separators, table rules. Decorative separation only. Contrast 1.22:1, so never rely on it to convey structure. |
| `border/sub-200` | #D1D1D6 | #48484A | Default border. Inputs, cards, outline buttons. Contrast 1.52:1 on bg/white-0. Below the 3:1 that WCAG asks for interactive boundaries. Pair with a label, an icon or a fill so the control is not identified by its border alone. |
| `border/strong-950` | #0E0E0F | #FFFFFF | High-emphasis border. Focus rings and selected states. |
| `bg/white-0` | #FFFFFF | #0E0E0F | Page background. Lowest surface in the stack. |
| `bg/weak-50` | #F4F5F5 | #242427 | Subtle raised surface. Cards on a page background, grouped list rows. |
| `bg/soft-100` | #E9E9EA | #48484A | Second surface step. Hover and rest states on interactive rows. |
| `bg/sub-200` | #D1D1D6 | #636366 | Third surface step. Input fields, inactive segmented controls, skeletons. |
| `bg/surface-800` | #2F2F31 | #D1D1D6 | Inverted surface, one step below strong. Tooltips and overlays. |
| `bg/strong-950` | #0E0E0F | #FFFFFF | Fully inverted surface. Snackbars, toasts, high-emphasis sheets. |
| `bg/sub-300` | #C7C7CC | #8E8E93 | Deepest non-inverted surface. Nested containers, a card inside a sheet. |
| `bg/grouped-canvas` | #F4F5F5 | #0E0E0F | Canvas behind grouped lists and forms. Light weak-50, dark white-0. |
| `bg/grouped-cell` | #FFFFFF | #242427 | Cell surface inside grouped lists and forms. Light white-0, dark weak-50. |
| `bg/elevated` | #FFFFFF | #48484A | Elevated surface on a filled track, light white-0, dark soft-100. |
| `bg/scrim` | #00000066 | #0000007A | Dimming layer behind a modal, sheet or drawer. Black at 40 percent in Light, 48 percent in Dark. Apply as a fill with a backdrop blur, never as a separate overlay component. |
| `bg/elevated-1` | #E9E9EA | #2F2F31 | First elevation step above the page. Filled text fields, raised list groups. |
| `bg/elevated-2` | #D1D1D6 | #48484A | Second elevation step. Pressed and dragged states of an already elevated surface. |
| `bg/surface-top` | #DEDEE0 | #48484A | Highest neutral surface in the stack, one step above elevated-1. Reserved for a container that already sits on an elevated surface. |
| `bg/raised` | #FFFFFF | #242427 | Floating surfaces: sheets, dialogs, menus, pickers and toasts. Light matches white-0, dark lifts to weak-50 so the surface separates from the page. |
| `state/information/lighter-50` | #EFF6FF | #2B7FFF29 | Semantic status: informational. Background. Banner and alert fills. |
| `state/information/light-200` | #BEDBFF | #2B7FFF3D | Semantic status: informational. Border and subtle fill. |
| `state/information/base-500` | #155DFC | #155DFC | Semantic status: informational. Solid fill and icon. Badges, dots, filled indicators. |
| `state/information/dark-950` | #132150 | #82BFFF | Semantic status: informational. Text on the lighter background. Carries the contrast. |
| `state/error/lighter-50` | #FEF2F2 | #FB2C3629 | Semantic status: destructive and error. Background. Banner and alert fills. |
| `state/error/light-200` | #FFC9C9 | #FB2C363D | Semantic status: destructive and error. Border and subtle fill. |
| `state/error/base-500` | #FB2C36 | #FB2C36 | Semantic status: destructive and error. Solid fill and icon. Badges, dots, filled indicators. |
| `state/error/dark-950` | #460809 | #FFA2A2 | Semantic status: destructive and error. Text on the lighter background. Carries the contrast. |
| `state/error/dark-700` | #C10007 | #FFA2A2 | Destructive text one step lighter than dark-950. Use where the error label sits on a white surface rather than on an error tint. |
| `state/warning/lighter-50` | #FFF7ED | #FF690029 | Semantic status: warning and caution. Background. Banner and alert fills. |
| `state/warning/light-200` | #FFD6A7 | #FF69003D | Semantic status: warning and caution. Border and subtle fill. |
| `state/warning/base-500` | #FF6900 | #F54900 | Semantic status: warning and caution. Solid fill and icon. Badges, dots, filled indicators. |
| `state/warning/dark-950` | #441306 | #FFB86A | Semantic status: warning and caution. Text on the lighter background. Carries the contrast. |
| `state/success/lighter-50` | #F0FDF4 | #22C55E29 | Semantic status: success and confirmation. Background. Banner and alert fills. |
| `state/success/light-200` | #BBF7D0 | #22C55E3D | Semantic status: success and confirmation. Border and subtle fill. |
| `state/success/base-500` | #22C55E | #16A34A | Semantic status: success and confirmation. Solid fill and icon. Badges, dots, filled indicators. Contrast 2.28:1 on bg/white-0 in Light. Pair a success dot with a label rather than using color alone. |
| `state/success/dark-950` | #09361B | #86EFAC | Semantic status: success and confirmation. Text on the lighter background. Carries the contrast. |
| `static/static-white-0` | #FFFFFF | #FFFFFF | Non-flipping white. Use only where the value must survive a theme switch. Prefer text/on-color/* on brand surfaces. |
| `static/static-black-950` | #0E0E0F | #0E0E0F | Non-flipping black. Scrims, shadows, blend inputs. Never body text. |
| `icon/on-color` | #FFFFFF | #FFFFFF | Icon on a brand or colored surface. Does not flip with the theme. |

Contrast of each ink on the page surfaces, as WCAG ratios. Text needs 4.5:1. Icons, and large text
from 24 px regular or 18.66 px bold, need 3:1.

| Ink | on `bg/white-0`, light | on `bg/white-0`, dark | on `bg/weak-50`, light | on `bg/weak-50`, dark | Use it for, on the page |
| --- | --- | --- | --- | --- | --- |
| `text/strong-950` | 19.29:1 | 19.29:1 | 17.66:1 | 15.48:1 | Text at any size |
| `text/sub-700` | 9.12:1 | 11.46:1 | 8.35:1 | 9.19:1 | Text at any size |
| `text/soft-500` | 5.99:1 | 8.73:1 | 5.48:1 | 7.00:1 | Text at any size |
| `text/disabled-400` | 2.21:1 | 5.92:1 | 2.02:1 | 4.75:1 | Disabled controls only |
| `fg/soft-500` | 3.26:1 | 8.73:1 | 2.99:1 | 7.00:1 | Icons only |
| `brand/base` | 5.25:1 | 5.13:1 | 4.80:1 | 4.11:1 | Text at any size |
| `state/error/dark-700` | 6.42:1 | 10.05:1 | 5.88:1 | 8.07:1 | Text at any size |
| `state/error/base-500` | 3.81:1 | 5.07:1 | 3.49:1 | 4.07:1 | Icons and large text only |

## Typography

Appetite UI sets type in Inter. Body styles use Inter; the styles from `2xl` up use Inter Display,
the display cut of the same family. Use the styles below by name, never a size on its own. Each name
is the Figma text style with `/` written as `-`: `base/emphasized` is `base-emphasized`. `default`
is the regular weight and `emphasized` the strong one of each size.

| Style | Family | Size | Weight | Line height | Letter spacing |
| --- | --- | --- | --- | --- | --- |
| `xs-default` | Inter | 12px | 400 | 16px | 0.1px |
| `xs-emphasized` | Inter | 12px | 600 | 16px | 0.1px |
| `sm-default` | Inter | 14px | 400 | 20px | 0.1px |
| `sm-emphasized` | Inter | 14px | 600 | 20px | 0.1px |
| `base-default` | Inter | 16px | 400 | 24px | 0px |
| `base-emphasized` | Inter | 16px | 600 | 24px | 0px |
| `lg-default` | Inter | 18px | 400 | 28px | 0px |
| `lg-emphasized` | Inter | 18px | 600 | 28px | 0px |
| `xl-default` | Inter | 20px | 400 | 28px | 0px |
| `xl-emphasized` | Inter | 20px | 600 | 28px | 0px |
| `2xl-default` | Inter Display | 24px | 400 | 32px | -0.24px |
| `2xl-emphasized` | Inter Display | 24px | 600 | 32px | -0.24px |
| `3xl-default` | Inter Display | 30px | 400 | 36px | -0.45px |
| `3xl-emphasized` | Inter Display | 30px | 500 | 36px | -0.45px |
| `4xl-default` | Inter Display | 36px | 400 | 40px | -0.54px |
| `4xl-emphasized` | Inter Display | 36px | 500 | 40px | -0.54px |
| `5xl-default` | Inter Display | 48px | 400 | 52px | -0.96px |
| `5xl-emphasized` | Inter Display | 48px | 500 | 52px | -0.96px |
| `6xl-default` | Inter Display | 60px | 400 | 64px | -1.2px |
| `6xl-emphasized` | Inter Display | 60px | 500 | 64px | -1.2px |

Text follows the system text size: Dynamic Type on iOS, the font size setting on Android. Reading
text (messages, list rows, sheet bodies) grows without a limit. Labels inside a control of fixed
height, such as a button, a chip or a tab, grow up to a cap measured per control and then stop, so
the control never clips its own label.

## Layout

Space comes from one scale, in px: `0` 0px, `px` 1px, `0-5` 2px, `1` 4px, `1-5` 6px, `2` 8px, `2-5`
10px, `3` 12px, `4` 16px, `5` 20px, `6` 24px, `7` 28px, `8` 32px, `9` 36px, `10` 40px, `11` 44px,
`12` 48px, `14` 56px, `16` 64px, `20` 80px, `24` 96px, `30` 120px, `32` 128px, `40` 160px. Screens
keep 16px from each side edge (`spacing.screen-padding`).

Every size here is px, read as pt on iOS and dp on Android. Anything a finger can press keeps a
touch target of at least 44px on iOS (`spacing.touch-target-ios`) and 48px on Android
(`spacing.touch-target-android`), even when the control draws smaller: a 32px chip still answers a
touch across the full target. Content stays inside the safe areas: on iOS below the status bar and
the sensor housing and above the home indicator, on Android inside the status bar and the gesture
bar, with the app drawn edge to edge behind both.

The per-platform sizes of bars, rows and safe areas are in the section iOS and Android.

## Elevation & Depth

Depth comes from surfaces first and shadows second. The page is `bg/white-0`; grouped content sits
on `bg/elevated-1`; sheets, dialogs, menus, pickers and toasts float on `bg/raised`.

Shadows come in levels, from a hairline lift to a floating panel. Use a higher level for a surface
that sits higher:

| Level | Shadow (x, y, blur, spread, color) |
| --- | --- |
| `xs` | 0px 1px 2px 0px rgba(0, 0, 0, 0.04), 0px 4px 4px 0px rgba(0, 0, 0, 0.01) |
| `sm` | 0px 9px 10px -2px rgba(0, 0, 0, 0.03), 0px 3px 5px -2px rgba(0, 0, 0, 0.05) |
| `md` | 0px 10px 15px -3px rgba(0, 0, 0, 0.05), 0px 4px 6px -4px rgba(0, 0, 0, 0.08) |
| `lg` | 0px 12px 18px -3px rgba(0, 0, 0, 0.08), 0px 5px 6px -5px rgba(0, 0, 0, 0.05) |
| `xl` | 0px 14px 20px -5px rgba(0, 0, 0, 0.08), 0px 6px 10px -5px rgba(0, 0, 0, 0.1) |
| `2xl` | 0px 25px 30px -6px rgba(0, 0, 0, 0.12), 0px 8px 10px -6px rgba(0, 0, 0, 0.12) |

In dark mode a shadow barely shows against a near-black page, so floating surfaces lift to a lighter
gray instead: `bg/raised` is #FFFFFF in light and #242427 in dark, and `bg/elevated-1` is #E9E9EA in
light and #2F2F31 in dark. Keep the shadow in light mode and let the surface carry the depth in dark
mode.

## Shapes

Corners come from one radius scale, in px: `none` 0px, `sm` 2px, `base` 4px, `md` 8px, `lg` 12px,
`xl` 16px, `2xl` 24px, `3xl` 32px, `4xl` 40px, `5xl` 48px, `full` 9999px.

Buttons, chips and the tab bar are fully round (`rounded.full`). List rows and grouped cards use
`rounded.2xl`. Small surfaces inside a component, such as a checkbox box or an icon tile, use
`rounded.md`. Text fields are underlined and have no corners. The radii are the same on iOS and
Android.

## Motion & Micro-interaction

Motion is short and purposeful: a state change lands in 120ms, a surface that enters takes longer
than one that leaves, and nothing moves for decoration. The `motion` tokens above are the presets
per job; these are the parts they are made of:

| Duration | Value |
| --- | --- |
| `motion/duration/instant` | 0ms |
| `motion/duration/fast` | 120ms |
| `motion/duration/base` | 200ms |
| `motion/duration/slow` | 320ms |
| `motion/duration/slower` | 480ms |

| Curve | Value | Job |
| --- | --- | --- |
| `motion/easing/standard` | cubic-bezier(0.2, 0, 0, 1) | General purpose. Most state changes. |
| `motion/easing/decelerate` | cubic-bezier(0, 0, 0, 1) | Elements entering the screen. |
| `motion/easing/accelerate` | cubic-bezier(0.3, 0, 1, 1) | Elements leaving the screen. |
| `motion/easing/emphasized` | cubic-bezier(0.05, 0.7, 0.1, 1) | Hero transitions. |
| `motion/easing/linear` | cubic-bezier(0, 0, 1, 1) | Loops and progress. Never for entrances. |

| Spring | Value | Job |
| --- | --- | --- |
| `motion/spring/subtle` | response:0.30 damping:0.90 mass:1.0 | Micro interactions. No visible overshoot. |
| `motion/spring/default` | response:0.40 damping:0.80 mass:1.0 | Standard presentation. Slight settle. |
| `motion/spring/bouncy` | response:0.50 damping:0.65 mass:1.0 | Hero moments. Visible overshoot. |

Springs are the first choice on both platforms wherever the platform animates with springs; the
duration and curve pairs are the fallback.

- **Reduce Motion.** Every moving surface respects Reduce Motion on iOS and Remove animations on
  Android: a sheet or a dialog fades in place instead of sliding or scaling, and a tab indicator
  jumps instead of travelling. Colors still crossfade, and small state changes such as a toggle's
  handle still move.
- **Press feedback.** On iOS a control changes to its Pressed color. On Android the same control
  draws a ripple under the finger instead of the Pressed color. Controls without a Pressed look in
  the kit get no invented feedback on iOS.
- **Haptics.** Selection controls (toggle, checkbox, radio, segmented control, chip) and slider
  steps give a light selection tick through each platform's own haptics. Success and error haptics
  belong to the outcome of an action, never to a tap.

## Components

The entries under `components` give the core controls by reference to the color, type, shape and
spacing tokens, so a change to a token reaches every control that uses it: `button-primary`,
`button-primary-pressed`, `button-secondary`, `text-input`, `text-input-placeholder`,
`text-input-error`, `chip`, `chip-selected`, `list-row`, `list-row-pressed`, `list-row-description`,
`tab-bar`, `tab-bar-active`.

Each entry reads the `light` map. Its twin with `-dark` at the end of the name reads the same roles
from the `dark` map.

- **Buttons.** `button-primary` is the filled brand button and `button-secondary` the outline one,
  with a 1px stroke in `brand/base`. Both are 44px high in the default size. A disabled button uses
  `bg/soft-100` with `text/disabled-400`.
- **Text input.** An underlined field 56px high. The underline is `border/sub-200` at rest,
  `brand/base` while focused and `state/error/base-500` with an error; the error message below it
  uses `state/error/dark-700`.
- **Chip.** A round pill with a `border/sub-200` stroke. Selected, it fills with `bg/strong-950` and
  its label turns `text/white-0`.
- **List row.** A label in `text/strong-950` with an optional description in `text/sub-700`.
  Pressed, a `bg/weak-50` highlight appears behind the row.
- **Tab bar.** A round bar on `bg/white-0` with a `border/soft-100` hairline. Inactive tabs use
  `text/soft-500`; the active tab uses `brand/base` on a light gray tint.
- **Sheets** slide up from the bottom and close with a swipe down on both platforms, and with Back
  on Android. A dialog does not close when the scrim is tapped; it closes from its buttons, and from
  Back on Android.
- **Tabs and Back.** The tab bar switches the top-level screens of the app. Going back returns to
  the previous screen of the current tab: with a swipe from the left edge or the back button on iOS,
  and with system Back on Android, which closes an open sheet or dialog first.

## Do's and Don'ts

- Do read every color, size, radius and duration from a token. Don't type a hex value, a px size or
  a duration that a token already defines.
- Don't use an icon color for text. `fg/soft-500` is 3.26:1 on the page in light mode; text needs
  `text/*`.
- Don't use the error fill as error text. `state/error/base-500` is 3.81:1 on the page; error text
  is `state/error/dark-700` at 6.42:1.
- Do keep `text/disabled-400` for disabled controls and `text/soft-500` for placeholders and
  captions.
- Don't let the design branch on the operating system. Draw the same control on both platforms and
  adapt only what the section iOS and Android lists.
- Don't shrink a touch target below `spacing.touch-target-ios` on iOS or
  `spacing.touch-target-android` on Android, even when the control draws smaller.
- Don't add a shadow to lift a surface in dark mode; use the lighter surface roles.
- Do use `primary` for the single most important action on a screen.

## iOS and Android

This section is the one place where the two platforms differ. Everything not listed here is
identical on iOS and Android. Values are in px, read as pt on iOS and dp on Android, from the kit's
Platform variables:

| What | iOS | Android | Token |
| --- | --- | --- | --- |
| Smallest touch target | 44px | 48px | `platform/min-touch-target` |
| Single-line list row, at least | 44px | 56px | `platform/list-row/min-height` |
| Top bar, below the status bar | 44px | 64px | `platform/bar/top-height` |
| Bottom bar | 49px | 64px | `platform/bar/bottom-height` |
| Safe area at the top | 59px | 52px | `grid/safe-area/top` |
| Safe area at the bottom | 34px | 24px | `grid/safe-area/bottom` |
| Screen padding | 16px | 16px | `platform/screen-padding` |

Behavior that follows each platform's contract:

| What | iOS | Android |
| --- | --- | --- |
| Press feedback | The control's Pressed color | A ripple under the finger |
| Going back | A swipe from the left edge, or the back button in the top bar | System Back, including predictive back |
| Closing a sheet | Swipe down | Swipe down, or Back |
| Overscroll | The system bounce | The system stretch |
| Scroll to top | A tap on the status bar, or a tap on the active tab | No system gesture |
| Haptics | Selection ticks through the iOS haptic engine | Selection ticks through Android haptic feedback |
| Keyboard | Return key, autofill and text content types of iOS | Return key, autofill hints and input types of Android |
| Text size | Follows Dynamic Type | Follows the system font size |
| Motion | Respects Reduce Motion | Respects Remove animations |
| Light and dark | Follows the system appearance | Follows the system theme |

Never draw a different control per platform to look native: a switch, a checkbox and a sheet keep
the Appetite UI shape on both.
