@podoba/tokens 0.0.10 → 0.0.12

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/fonts.css +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/tokens",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "description": "podoba design tokens — static DTCG tokens.json + generated CSS custom properties. Framework-agnostic.",
6
6
  "repository": {
package/src/fonts.css CHANGED
@@ -34,7 +34,12 @@
34
34
  * Because fonts.css is imported after variables.css, this :root rule wins the
35
35
  * cascade. The fallback stack mirrors the generated --font-sans so metrics stay
36
36
  * close before NC Fontina loads / if it fails.
37
+ *
38
+ * font-feature-settings turns on NC Fontina's stylistic sets ss02–ss05 (the
39
+ * default letterforms the brand uses: jy/at/g ligatures and the @ alternate).
40
+ * It's an inherited property, so declaring it on :root cascades to every element.
37
41
  */
38
42
  :root {
39
43
  --font-sans: 'NC Fontina', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
44
+ font-feature-settings: 'ss02' 1, 'ss03' 1, 'ss04' 1, 'ss05' 1;
40
45
  }