@dataimago/tokens 0.1.0-alpha.1

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.
@@ -0,0 +1,56 @@
1
+ {
2
+ "spacing": {
3
+ "xs": {
4
+ "value": "0.25rem"
5
+ },
6
+ "sm": {
7
+ "value": "0.5rem"
8
+ },
9
+ "md": {
10
+ "value": "1rem"
11
+ },
12
+ "lg": {
13
+ "value": "1.5rem"
14
+ },
15
+ "xl": {
16
+ "value": "2rem"
17
+ },
18
+ "2xl": {
19
+ "value": "3rem"
20
+ },
21
+ "3xl": {
22
+ "value": "4rem"
23
+ }
24
+ },
25
+ "radius": {
26
+ "sm": {
27
+ "value": "0.25rem"
28
+ },
29
+ "md": {
30
+ "value": "0.5rem"
31
+ },
32
+ "lg": {
33
+ "value": "0.75rem"
34
+ },
35
+ "xl": {
36
+ "value": "1rem"
37
+ },
38
+ "full": {
39
+ "value": "9999px"
40
+ }
41
+ },
42
+ "shadow": {
43
+ "sm": {
44
+ "value": "0 1px 2px 0 rgb(0 0 0 / 0.05)"
45
+ },
46
+ "md": {
47
+ "value": "0 4px 6px -1px rgb(0 0 0 / 0.1)"
48
+ },
49
+ "lg": {
50
+ "value": "0 10px 15px -3px rgb(0 0 0 / 0.1)"
51
+ },
52
+ "xl": {
53
+ "value": "0 20px 25px -5px rgb(0 0 0 / 0.1)"
54
+ }
55
+ }
56
+ }
@@ -0,0 +1,124 @@
1
+ {
2
+ "color": {
3
+ "surface": {
4
+ "page": {
5
+ "light": "#fdf9f2",
6
+ "dark": "#0c0a09",
7
+ "description": "Main page background — cream-100 (light) / ink-900 (dark)"
8
+ },
9
+ "page-scrolled": {
10
+ "light": "#fdf9f2",
11
+ "dark": "#0c0a09",
12
+ "description": "Page background when navbar shrinks — matches page"
13
+ },
14
+ "elevated": {
15
+ "light": "#fefdfb",
16
+ "dark": "#1c1917",
17
+ "description": "Cards, modals, dropdowns — one step above page"
18
+ },
19
+ "sunken": {
20
+ "light": "#faf2e3",
21
+ "dark": "#0c0a09",
22
+ "description": "Input fields, code blocks — below page level"
23
+ },
24
+ "navbar": {
25
+ "light": "#fdf9f2",
26
+ "dark": "#0c0a09",
27
+ "description": "Navbar background — matches page in both themes"
28
+ },
29
+ "navbar-scrolled": {
30
+ "light": "#fdf9f2",
31
+ "dark": "#0c0a09",
32
+ "description": "Navbar when scrolled/shrunk — matches page-scrolled"
33
+ },
34
+ "code": {
35
+ "light": "#faf2e3",
36
+ "dark": "#1c1917",
37
+ "description": "Code block and inline code background"
38
+ }
39
+ },
40
+ "border": {
41
+ "subtle": {
42
+ "light": "rgba(12, 10, 9, 0.08)",
43
+ "dark": "rgba(253, 249, 242, 0.08)",
44
+ "description": "Subtle borders — element separation"
45
+ },
46
+ "moderate": {
47
+ "light": "rgba(12, 10, 9, 0.15)",
48
+ "dark": "rgba(253, 249, 242, 0.15)",
49
+ "description": "Moderate borders — defined boundaries"
50
+ },
51
+ "strong": {
52
+ "light": "rgba(12, 10, 9, 0.25)",
53
+ "dark": "rgba(253, 249, 242, 0.25)",
54
+ "description": "Strong borders — prominent separation"
55
+ },
56
+ "card": {
57
+ "light": "rgba(12, 10, 9, 0.15)",
58
+ "dark": "rgba(253, 249, 242, 0.15)",
59
+ "description": "Card border color with transparency for subtle definition"
60
+ },
61
+ "code": {
62
+ "light": "#d6d3d1",
63
+ "dark": "#292524",
64
+ "description": "Code block border"
65
+ }
66
+ },
67
+ "content": {
68
+ "primary": {
69
+ "light": "#0c0a09",
70
+ "dark": "#fdf9f2",
71
+ "description": "Primary text — ink-900 on cream-100 (light) / cream-100 on ink-900 (dark)"
72
+ },
73
+ "secondary": {
74
+ "light": "#57534e",
75
+ "dark": "#a8a29e",
76
+ "description": "Secondary text — medium emphasis on both themes"
77
+ },
78
+ "muted": {
79
+ "light": "#78716c",
80
+ "dark": "#78716c",
81
+ "description": "Muted text — captions, meta info"
82
+ },
83
+ "inverse": {
84
+ "light": "#fdf9f2",
85
+ "dark": "#0c0a09",
86
+ "description": "Inverse text — for contrasting backgrounds"
87
+ }
88
+ },
89
+ "interactive": {
90
+ "primary": {
91
+ "light": "#d46820",
92
+ "dark": "#f0a467",
93
+ "description": "Primary interactive — copper-500 on light, copper-300 on dark"
94
+ },
95
+ "hover": {
96
+ "light": "#b55017",
97
+ "dark": "#ea8441",
98
+ "description": "Hover state — copper-600 on light, copper-400 on dark"
99
+ },
100
+ "accent": {
101
+ "light": "#b54a27",
102
+ "dark": "#b54a27",
103
+ "description": "Accent — emancipation copper-red; moral-weight color"
104
+ },
105
+ "focus": {
106
+ "light": "#d46820",
107
+ "dark": "#f0a467",
108
+ "description": "Focus indicators — mirrors interactive.primary"
109
+ }
110
+ },
111
+ "presentation": {
112
+ "accent": {
113
+ "light": "#3498DB",
114
+ "dark": "#3498DB",
115
+ "description": "Presentation accent — Flat-UI peter-river; reserved for reveal.js 2030s-feel highlights. Not for body prose or interactive primary use. Pairs well with copper on dark slides."
116
+ },
117
+ "accent-hover": {
118
+ "light": "#2980B9",
119
+ "dark": "#2980B9",
120
+ "description": "Presentation accent hover/emphasized variant — Flat-UI belize-hole"
121
+ }
122
+ }
123
+ }
124
+ }
@@ -0,0 +1,148 @@
1
+ {
2
+ "font": {
3
+ "family": {
4
+ "sans": {
5
+ "value": "Fira Sans, system-ui, sans-serif",
6
+ "description": "Primary sans-serif font - body text"
7
+ },
8
+ "mono": {
9
+ "value": "JetBrains Mono, SF Mono, Monaco, Inconsolata, monospace",
10
+ "description": "Monospace font - code blocks and technical content"
11
+ },
12
+ "display": {
13
+ "value": "Josefin Sans, system-ui, sans-serif",
14
+ "description": "Display font - headings and prominent text"
15
+ },
16
+ "brand": {
17
+ "value": "Futura, system-ui, sans-serif",
18
+ "description": "Brand font - dataimago navbar and branding elements"
19
+ },
20
+ "math": {
21
+ "value": "Fira Math, Fira Sans Math, system-ui, sans-serif",
22
+ "description": "Mathematical notation font"
23
+ }
24
+ },
25
+ "size": {
26
+ "micro": {
27
+ "value": "0.75rem",
28
+ "description": "Micro text - captions, metadata"
29
+ },
30
+ "small": {
31
+ "value": "0.875rem",
32
+ "description": "Small text - secondary information"
33
+ },
34
+ "base": {
35
+ "value": "1rem",
36
+ "description": "Base text size - body content"
37
+ },
38
+ "readable": {
39
+ "value": "1.125rem",
40
+ "description": "Comfortable reading size - main content"
41
+ },
42
+ "emphasis": {
43
+ "value": "1.25rem",
44
+ "description": "Emphasized text - call-outs"
45
+ },
46
+ "heading-small": {
47
+ "value": "1.5rem",
48
+ "description": "Small headings - H4, H5"
49
+ },
50
+ "heading-medium": {
51
+ "value": "1.875rem",
52
+ "description": "Medium headings - H3"
53
+ },
54
+ "heading-large": {
55
+ "value": "2.25rem",
56
+ "description": "Large headings - H2"
57
+ },
58
+ "heading-xl": {
59
+ "value": "3rem",
60
+ "description": "Extra large headings - H1"
61
+ }
62
+ },
63
+ "weight": {
64
+ "extralight": {
65
+ "value": "200",
66
+ "description": "Extra-light weight — reserved for display-scale refinements (subtitles, oversized numerals)"
67
+ },
68
+ "light": {
69
+ "value": "300",
70
+ "description": "Light weight — minor headings (h4–h6), large serif-like display at small sizes"
71
+ },
72
+ "normal": {
73
+ "value": "400",
74
+ "description": "Normal text weight — body content"
75
+ },
76
+ "medium": {
77
+ "value": "500",
78
+ "description": "Medium weight — emphasis within text, h2"
79
+ },
80
+ "semibold": {
81
+ "value": "600",
82
+ "description": "Semi-bold — subtitles, important text"
83
+ },
84
+ "bold": {
85
+ "value": "700",
86
+ "description": "Bold — h1, strong emphasis"
87
+ },
88
+ "heading": {
89
+ "h1": {
90
+ "value": "var(--font-weight-bold)",
91
+ "description": "Heading h1 weight — bold (700). Top-level voice; carries the most typographic presence."
92
+ },
93
+ "h2": {
94
+ "value": "var(--font-weight-medium)",
95
+ "description": "Heading h2 weight — medium (500). Second tier; sub-sections."
96
+ },
97
+ "h3": {
98
+ "value": "var(--font-weight-normal)",
99
+ "description": "Heading h3 weight — normal (400). Differentiated from body by size, not weight."
100
+ },
101
+ "h4": {
102
+ "value": "var(--font-weight-light)",
103
+ "description": "Heading h4 weight — light (300). Minor heading; quiet hierarchy marker."
104
+ },
105
+ "h5": {
106
+ "value": "var(--font-weight-light)",
107
+ "description": "Heading h5 weight — light (300). Minor heading."
108
+ },
109
+ "h6": {
110
+ "value": "var(--font-weight-light)",
111
+ "description": "Heading h6 weight — light (300). Minor heading."
112
+ },
113
+ "subtitle": {
114
+ "value": "var(--font-weight-semibold)",
115
+ "description": "Subtitle weight — semibold (600). Heavier than h3 on purpose: reads as emphasis, not continuation."
116
+ }
117
+ }
118
+ },
119
+ "style": {
120
+ "normal": {
121
+ "value": "normal",
122
+ "description": "Normal font style - upright text"
123
+ },
124
+ "italic": {
125
+ "value": "italic",
126
+ "description": "Italic style - sloped text with true italic glyphs"
127
+ },
128
+ "oblique": {
129
+ "value": "oblique",
130
+ "description": "Oblique style - sloped text without true italic design"
131
+ }
132
+ },
133
+ "lineHeight": {
134
+ "tight": {
135
+ "value": "1.25",
136
+ "description": "Tight line height - headings"
137
+ },
138
+ "normal": {
139
+ "value": "1.5",
140
+ "description": "Normal line height - body text"
141
+ },
142
+ "relaxed": {
143
+ "value": "1.625",
144
+ "description": "Relaxed line height - long-form content"
145
+ }
146
+ }
147
+ }
148
+ }