Skip to main content
v0.1 dev

Token reference

Opacity

Governed transparency for disabled, overlay, and subtle presentation states.

5 tokensglobal · 5Reference category

Overview

Governed transparency for disabled, overlay, and subtle presentation states. Values come from canonical DTCG JSON or are derived from governed responsive and preference contracts. Published names are versioned APIs. This page is a structural counterpart of the audited reference information architecture.

Token Reference

Token pathSetTypeCanonical valueCSS custom property
opacity.disabledglobalnumber0.42--he-opacity-disabled
opacity.mutedglobalnumber0.64--he-opacity-muted
opacity.scrimglobalnumber0.68--he-opacity-scrim
opacity.hoverglobalnumber0.08--he-opacity-hover
opacity.pressedglobalnumber0.14--he-opacity-pressed

Usage

  • Consume semantic or component aliases in application code.
  • Use global values only to author or review foundation aliases.
  • Keep responsive and preference behavior aligned across Web and Flutter.
  • Do not edit generated outputs or introduce an unregistered literal.

Open related foundation guidance

Accessibility

Changes require cross-theme contrast, text-scaling, reflow, forced-colors, reduced-motion, and input-modality review where applicable. A token cannot make essential meaning depend on color, opacity, motion, elevation, or viewport size alone.

Web and Flutter API

/* Web */
color: var(--he-opacity-disabled);

// Flutter
final value = HeTokens.opacityDisabled;

The example uses an exact generated name. The table is the complete Web reference; global and semantic Flutter constants are generated in he_tokens.g.dart, while component contracts own component-level values.