@dstally/tokens 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dstally/tokens",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "Tally design tokens: CSS custom properties, base styles, fonts and brand assets.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/tokens/base.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /* Element defaults. Consumers get sane baselines without writing any CSS. */
2
2
  *,*::before,*::after{box-sizing:border-box}
3
3
  html{-webkit-text-size-adjust:100%}
4
- body{margin:0;background:var(--surface-page);color:var(--text-body);font-family:var(--font-sans);font-size:var(--text-body);line-height:var(--leading-body);letter-spacing:var(--tracking-body);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
4
+ body{margin:0;background:var(--surface-page);color:var(--text-body);font-family:var(--font-sans);font-size:var(--text-body-md);line-height:var(--leading-body-md);letter-spacing:var(--tracking-body-md);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
5
5
  h1,h2,h3,h4{margin:0;color:var(--text-strong);font-weight:var(--weight-semibold);text-wrap:balance}
6
6
  h1{font-size:var(--text-display-2);line-height:var(--leading-display-2);letter-spacing:var(--tracking-display-2)}
7
7
  h2{font-size:var(--text-title-1);line-height:var(--leading-title-1);letter-spacing:var(--tracking-title-1)}
@@ -6,7 +6,7 @@
6
6
  --text-title-2:26px; --leading-title-2:1.2; --tracking-title-2:-.015em;
7
7
  --text-title-3:20px; --leading-title-3:1.3; --tracking-title-3:-.01em;
8
8
  --text-body-lg:18px; --leading-body-lg:1.6; --tracking-body-lg:-.005em;
9
- --text-body:16px; --leading-body:1.6; --tracking-body:0em;
9
+ --text-body-md:16px; --leading-body-md:1.6; --tracking-body-md:0em;
10
10
  --text-body-sm:14px; --leading-body-sm:1.55; --tracking-body-sm:0em;
11
11
  --text-caption:12px; --leading-caption:1.4; --tracking-caption:.005em;
12
12
  --text-overline:11px; --leading-overline:1.2; --tracking-overline:.12em;