@mt-gloss/tokens 0.1.75 → 0.1.77

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/_root.scss +17 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mt-gloss/tokens",
3
- "version": "0.1.75",
3
+ "version": "0.1.77",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
package/src/_root.scss CHANGED
@@ -102,4 +102,21 @@
102
102
  --text-2xl: #{$text-2xl};
103
103
  --text-3xl: #{$text-3xl};
104
104
  --text-4xl: #{$text-4xl};
105
+
106
+ // ============================================
107
+ // Phase 11.4-D — Metric click affordance
108
+ // R1 / UI-SPEC §Color: orange-hover hint tints .metric-value when cursor is
109
+ // inside the underOrange sub-region of a configured (clickable) metric card.
110
+ // Resolves to alias-text-link at 80% opacity. Plan D's CSS rule reads this
111
+ // as `color: var(--token-metric-click-hint)`.
112
+ // ============================================
113
+ --token-metric-click-hint: color-mix(in srgb, var(--alias-text-link) 80%, transparent);
114
+ }
115
+
116
+ // Fallback for browsers without color-mix() support — older WebKit / pre-2023
117
+ // Firefox. Mirrors the resolved alias-text-link (#3b82f6) at 0.8 alpha.
118
+ @supports not (color: color-mix(in srgb, red, blue)) {
119
+ :root {
120
+ --token-metric-click-hint: rgba(59, 130, 246, 0.8);
121
+ }
105
122
  }