@loafmarkets/tokens 0.0.2 → 0.0.3

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/dist/variables.css +59 -0
  2. package/package.json +4 -3
@@ -0,0 +1,59 @@
1
+ :root {
2
+ /* Palette */
3
+ --loaf-color-midnight: #04050c;
4
+ --loaf-color-ocean: #0d2239;
5
+ --loaf-color-cobalt: #1b4b73;
6
+ --loaf-color-azure: #3a76b1;
7
+ --loaf-color-sky: #7eb3e6;
8
+ --loaf-color-sand: #f4e7d4;
9
+ --loaf-color-wheat: #f8f1e5;
10
+ --loaf-color-bone: #fdfbf7;
11
+ --loaf-color-gold: #e6c87e;
12
+ --loaf-color-coral: #ff6f61;
13
+ --loaf-color-apricot: #ffb997;
14
+ --loaf-color-lime: #d3f36b;
15
+
16
+ /* Typography */
17
+ --loaf-font-display: "Space Grotesk", "Soehne", "Helvetica Neue", sans-serif;
18
+ --loaf-font-body: "Suisse Intl", "Inter", "Helvetica Neue", sans-serif;
19
+ --loaf-font-mono: "IBM Plex Mono", "Space Mono", monospace;
20
+
21
+ --loaf-font-size-xs: 0.75rem;
22
+ --loaf-font-size-sm: 0.875rem;
23
+ --loaf-font-size-md: 1rem;
24
+ --loaf-font-size-lg: 1.125rem;
25
+ --loaf-font-size-xl: 1.25rem;
26
+ --loaf-font-size-2xl: 1.5rem;
27
+ --loaf-font-size-3xl: 1.875rem;
28
+ --loaf-font-size-4xl: 2.25rem;
29
+ --loaf-font-size-5xl: 3rem;
30
+
31
+ --loaf-line-height-tight: 1.1;
32
+ --loaf-line-height-snug: 1.2;
33
+ --loaf-line-height-normal: 1.5;
34
+
35
+ /* Radii */
36
+ --loaf-radius-none: 0px;
37
+ --loaf-radius-xs: 4px;
38
+ --loaf-radius-sm: 6px;
39
+ --loaf-radius-md: 10px;
40
+ --loaf-radius-lg: 16px;
41
+ --loaf-radius-pill: 999px;
42
+
43
+ /* Spacing */
44
+ --loaf-space-0: 0px;
45
+ --loaf-space-1: 4px;
46
+ --loaf-space-2: 8px;
47
+ --loaf-space-3: 12px;
48
+ --loaf-space-4: 16px;
49
+ --loaf-space-5: 20px;
50
+ --loaf-space-6: 24px;
51
+ --loaf-space-8: 32px;
52
+ --loaf-space-10: 40px;
53
+ --loaf-space-12: 48px;
54
+
55
+ /* Shadows */
56
+ --loaf-shadow-subtle: 0 10px 25px rgba(4, 5, 12, 0.08);
57
+ --loaf-shadow-medium: 0 20px 45px rgba(4, 5, 12, 0.12);
58
+ --loaf-shadow-bold: 0 30px 60px rgba(4, 5, 12, 0.18);
59
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loafmarkets/tokens",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Design tokens for the Loaf Markets brand system",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
@@ -14,7 +14,8 @@
14
14
  "import": "./dist/index.js",
15
15
  "require": "./dist/index.cjs",
16
16
  "types": "./dist/index.d.ts"
17
- }
17
+ },
18
+ "./variables.css": "./dist/variables.css"
18
19
  },
19
20
  "publishConfig": {
20
21
  "access": "restricted"
@@ -25,7 +26,7 @@
25
26
  "vitest": "2.1.4"
26
27
  },
27
28
  "scripts": {
28
- "build": "tsup src/index.ts --format esm,cjs --dts",
29
+ "build": "tsup src/index.ts --format esm,cjs --dts && cp src/variables.css dist/variables.css",
29
30
  "dev": "tsup src/index.ts --format esm,cjs --dts --watch",
30
31
  "lint": "biome check \"src/**/*.ts\"",
31
32
  "test": "vitest run"