@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.mjs CHANGED
@@ -1374,6 +1374,35 @@ var BUTTON_COLOR_TOKENS = {
1374
1374
  default: "bg-transparent text-m3-primary",
1375
1375
  selected: "bg-transparent text-m3-primary",
1376
1376
  unselected: "bg-transparent text-m3-primary"
1377
+ },
1378
+ // ── MD3 Expressive accent variants ──────────────────────────────────────
1379
+ /**
1380
+ * High-chroma tertiary tone. Use for hero CTAs and expressive moments where
1381
+ * a distinct accent beyond primary is needed (e.g., hero chip, highlight fab).
1382
+ */
1383
+ tertiary: {
1384
+ default: "bg-m3-tertiary text-m3-on-tertiary",
1385
+ selected: "bg-m3-tertiary text-m3-on-tertiary",
1386
+ unselected: "bg-m3-tertiary-container text-m3-on-tertiary-container"
1387
+ },
1388
+ /**
1389
+ * Brand-stable primary fixed. Hue stays consistent across light and dark modes.
1390
+ * Ideal for badges, pill chips, and elements that must carry the brand color
1391
+ * regardless of the active theme.
1392
+ */
1393
+ "primary-fixed": {
1394
+ default: "bg-m3-primary-fixed text-m3-on-primary-fixed",
1395
+ selected: "bg-m3-primary-fixed text-m3-on-primary-fixed",
1396
+ unselected: "bg-m3-primary-fixed text-m3-on-primary-fixed-variant"
1397
+ },
1398
+ /**
1399
+ * Brand-stable tertiary fixed. Use for special-state indicators, achievement
1400
+ * badges, or accent pills that need a fixed tertiary hue across themes.
1401
+ */
1402
+ "tertiary-fixed": {
1403
+ default: "bg-m3-tertiary-fixed text-m3-on-tertiary-fixed",
1404
+ selected: "bg-m3-tertiary-fixed text-m3-on-tertiary-fixed",
1405
+ unselected: "bg-m3-tertiary-fixed text-m3-on-tertiary-fixed-variant"
1377
1406
  }
1378
1407
  };
1379
1408
  var MOTION_PROP_KEYS = [