@bug-on/m3-expressive 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/layout.js CHANGED
@@ -1396,6 +1396,35 @@ var BUTTON_COLOR_TOKENS = {
1396
1396
  default: "bg-transparent text-m3-primary",
1397
1397
  selected: "bg-transparent text-m3-primary",
1398
1398
  unselected: "bg-transparent text-m3-primary"
1399
+ },
1400
+ // ── MD3 Expressive accent variants ──────────────────────────────────────
1401
+ /**
1402
+ * High-chroma tertiary tone. Use for hero CTAs and expressive moments where
1403
+ * a distinct accent beyond primary is needed (e.g., hero chip, highlight fab).
1404
+ */
1405
+ tertiary: {
1406
+ default: "bg-m3-tertiary text-m3-on-tertiary",
1407
+ selected: "bg-m3-tertiary text-m3-on-tertiary",
1408
+ unselected: "bg-m3-tertiary-container text-m3-on-tertiary-container"
1409
+ },
1410
+ /**
1411
+ * Brand-stable primary fixed. Hue stays consistent across light and dark modes.
1412
+ * Ideal for badges, pill chips, and elements that must carry the brand color
1413
+ * regardless of the active theme.
1414
+ */
1415
+ "primary-fixed": {
1416
+ default: "bg-m3-primary-fixed text-m3-on-primary-fixed",
1417
+ selected: "bg-m3-primary-fixed text-m3-on-primary-fixed",
1418
+ unselected: "bg-m3-primary-fixed text-m3-on-primary-fixed-variant"
1419
+ },
1420
+ /**
1421
+ * Brand-stable tertiary fixed. Use for special-state indicators, achievement
1422
+ * badges, or accent pills that need a fixed tertiary hue across themes.
1423
+ */
1424
+ "tertiary-fixed": {
1425
+ default: "bg-m3-tertiary-fixed text-m3-on-tertiary-fixed",
1426
+ selected: "bg-m3-tertiary-fixed text-m3-on-tertiary-fixed",
1427
+ unselected: "bg-m3-tertiary-fixed text-m3-on-tertiary-fixed-variant"
1399
1428
  }
1400
1429
  };
1401
1430
  var MOTION_PROP_KEYS = [