@dataimago/tokens-neutral 0.1.0-alpha.10
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/README.md +69 -0
- package/dist/colors.json +134 -0
- package/dist/components.json +44 -0
- package/dist/effects.json +54 -0
- package/dist/frequent.json +51 -0
- package/dist/index.cjs +439 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.mjs +438 -0
- package/dist/spacing.json +56 -0
- package/dist/theme-colors.json +112 -0
- package/dist/tokens.css +196 -0
- package/dist/tokens.dtcg.json +644 -0
- package/dist/tokens.scss +196 -0
- package/dist/tokens.studio.json +497 -0
- package/dist/tokens.w3c.dtcg.json +617 -0
- package/dist/typography.json +168 -0
- package/package.json +55 -0
- package/src/colors.json +44 -0
- package/src/theme-colors.json +76 -0
- package/src/typography.json +78 -0
package/dist/tokens.css
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--color-palette-ink-50: #f5f5f4;
|
|
3
|
+
--color-palette-ink-100: #e7e5e4;
|
|
4
|
+
--color-palette-ink-200: #d6d3d1;
|
|
5
|
+
--color-palette-ink-300: #a8a29e;
|
|
6
|
+
--color-palette-ink-400: #78716c;
|
|
7
|
+
--color-palette-ink-500: #57534e;
|
|
8
|
+
--color-palette-ink-600: #44403c;
|
|
9
|
+
--color-palette-ink-700: #292524;
|
|
10
|
+
--color-palette-ink-800: #1c1917;
|
|
11
|
+
--color-palette-ink-900: #0c0a09;
|
|
12
|
+
--color-palette-stone-50: #f7f7f6;
|
|
13
|
+
--color-palette-stone-100: #ededeb;
|
|
14
|
+
--color-palette-stone-200: #dcdcda;
|
|
15
|
+
--color-palette-stone-300: #c1c1bf;
|
|
16
|
+
--color-palette-stone-400: #a0a0a0;
|
|
17
|
+
--color-palette-stone-500: #7c7c7c;
|
|
18
|
+
--color-palette-stone-600: #5e5e5c;
|
|
19
|
+
--color-palette-stone-700: #424240;
|
|
20
|
+
--color-palette-stone-800: #292927;
|
|
21
|
+
--color-palette-stone-900: #14140f;
|
|
22
|
+
--color-palette-paper-50: #fefdfb;
|
|
23
|
+
--color-palette-paper-100: #fdf9f2;
|
|
24
|
+
--color-palette-paper-200: #faf2e3;
|
|
25
|
+
--color-palette-paper-300: #f5e8cf;
|
|
26
|
+
--color-palette-paper-400: #edd9b3;
|
|
27
|
+
--color-palette-paper-500: #e0c088;
|
|
28
|
+
--color-functional-success: #27AE60;
|
|
29
|
+
--color-functional-warning: #F39C12;
|
|
30
|
+
--color-functional-error: #E74C3C;
|
|
31
|
+
--color-functional-info: #3498DB;
|
|
32
|
+
--transition-quick: 0.15s ease;
|
|
33
|
+
--transition-standard: 0.25s ease-in-out;
|
|
34
|
+
--transition-smooth: 0.35s ease;
|
|
35
|
+
--transition-logo: 0.3s;
|
|
36
|
+
--font-family-sans: Noto Sans, Fira Sans, system-ui, sans-serif;
|
|
37
|
+
--font-family-mono: JetBrains Mono, SF Mono, Monaco, Inconsolata, monospace;
|
|
38
|
+
--font-family-display: var(--font-family-display-editorial);
|
|
39
|
+
--font-family-display-editorial: Noto Sans, system-ui, sans-serif;
|
|
40
|
+
--font-family-display-documentation: Noto Sans, system-ui, sans-serif;
|
|
41
|
+
--font-family-brand: Noto Sans, system-ui, sans-serif;
|
|
42
|
+
--font-family-math: Noto Sans Math, Noto Sans, system-ui, sans-serif;
|
|
43
|
+
--font-size-micro: 0.75rem;
|
|
44
|
+
--font-size-small: 0.875rem;
|
|
45
|
+
--font-size-base: 1rem;
|
|
46
|
+
--font-size-readable: 1.125rem;
|
|
47
|
+
--font-size-emphasis: 1.25rem;
|
|
48
|
+
--font-size-heading-small: 1.5rem;
|
|
49
|
+
--font-size-heading-medium: 1.875rem;
|
|
50
|
+
--font-size-heading-large: 2.25rem;
|
|
51
|
+
--font-size-heading-xl: 3rem;
|
|
52
|
+
--font-weight-extralight: 200;
|
|
53
|
+
--font-weight-light: 300;
|
|
54
|
+
--font-weight-normal: 400;
|
|
55
|
+
--font-weight-medium: 500;
|
|
56
|
+
--font-weight-semibold: 600;
|
|
57
|
+
--font-weight-bold: 700;
|
|
58
|
+
--font-weight-heading-h1: var(--font-weight-semibold);
|
|
59
|
+
--font-weight-heading-h2: var(--font-weight-semibold);
|
|
60
|
+
--font-weight-heading-h3: var(--font-weight-medium);
|
|
61
|
+
--font-weight-heading-h4: var(--font-weight-normal);
|
|
62
|
+
--font-weight-heading-h5: var(--font-weight-normal);
|
|
63
|
+
--font-weight-heading-h6: var(--font-weight-normal);
|
|
64
|
+
--font-weight-heading-subtitle: var(--font-weight-semibold);
|
|
65
|
+
--font-style-normal: normal;
|
|
66
|
+
--font-style-italic: italic;
|
|
67
|
+
--font-style-oblique: oblique;
|
|
68
|
+
--font-lineHeight-tight: 1.25;
|
|
69
|
+
--font-lineHeight-normal: 1.5;
|
|
70
|
+
--font-lineHeight-relaxed: 1.625;
|
|
71
|
+
--font-feature-settings-display: "normal";
|
|
72
|
+
--font-feature-settings-body: "normal";
|
|
73
|
+
--spacing-xs: 0.25rem;
|
|
74
|
+
--spacing-sm: 0.5rem;
|
|
75
|
+
--spacing-md: 1rem;
|
|
76
|
+
--spacing-lg: 1.5rem;
|
|
77
|
+
--spacing-xl: 2rem;
|
|
78
|
+
--spacing-2xl: 3rem;
|
|
79
|
+
--spacing-3xl: 4rem;
|
|
80
|
+
--radius-sm: 0.25rem;
|
|
81
|
+
--radius-md: 0.5rem;
|
|
82
|
+
--radius-lg: 0.75rem;
|
|
83
|
+
--radius-xl: 1rem;
|
|
84
|
+
--radius-full: 9999px;
|
|
85
|
+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
86
|
+
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
|
87
|
+
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
|
|
88
|
+
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:root, [data-bs-theme="light"] {
|
|
92
|
+
--color-surface-page: #ededeb;
|
|
93
|
+
--color-surface-page-scrolled: #ededeb;
|
|
94
|
+
--color-surface-elevated: #f7f7f6;
|
|
95
|
+
--color-surface-sunken: #faf2e3;
|
|
96
|
+
--color-surface-navbar: #ededeb;
|
|
97
|
+
--color-surface-navbar-scrolled: #ededeb;
|
|
98
|
+
--color-surface-code: #faf2e3;
|
|
99
|
+
--color-border-subtle: rgba(12, 10, 9, 0.45);
|
|
100
|
+
--color-border-moderate: rgba(12, 10, 9, 0.60);
|
|
101
|
+
--color-border-strong: rgba(12, 10, 9, 0.75);
|
|
102
|
+
--color-border-card: rgba(12, 10, 9, 0.60);
|
|
103
|
+
--color-border-code: #d6d3d1;
|
|
104
|
+
--color-content-primary: #14140f;
|
|
105
|
+
--color-content-secondary: #7c7c7c;
|
|
106
|
+
--color-content-muted: #78716c;
|
|
107
|
+
--color-content-inverse: #fdf9f2;
|
|
108
|
+
--color-interactive-primary: #292524;
|
|
109
|
+
--color-interactive-hover: #1c1917;
|
|
110
|
+
--color-interactive-accent: #292524;
|
|
111
|
+
--color-interactive-focus: #292524;
|
|
112
|
+
--contrast-high: rgb(20, 20, 16);
|
|
113
|
+
--contrast-readable: rgb(20, 20, 16);
|
|
114
|
+
--contrast-medium: #7c7c7c;
|
|
115
|
+
--contrast-subtle: #7c7c7c;
|
|
116
|
+
--shadow-subtle: 0 1px 2px 0 rgb(20 20 16 / 0.05);
|
|
117
|
+
--shadow-moderate: 0 4px 6px -1px rgb(20 20 16 / 0.1);
|
|
118
|
+
--shadow-prominent: 0 10px 15px -3px rgb(20 20 16 / 0.1);
|
|
119
|
+
--border-subtle: rgba(20, 20, 16, 0.47);
|
|
120
|
+
--border-moderate: rgba(20, 20, 16, 0.63);
|
|
121
|
+
--border-focus: #3498DB;
|
|
122
|
+
--navigation-hover-background: rgba(20, 20, 16, 0.05);
|
|
123
|
+
--navigation-active-background: rgba(20, 20, 16, 0.1);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[data-bs-theme="dark"] {
|
|
127
|
+
--color-surface-page: #141410;
|
|
128
|
+
--color-surface-page-scrolled: #141410;
|
|
129
|
+
--color-surface-elevated: #1c1917;
|
|
130
|
+
--color-surface-sunken: #0c0a09;
|
|
131
|
+
--color-surface-navbar: #141410;
|
|
132
|
+
--color-surface-navbar-scrolled: #141410;
|
|
133
|
+
--color-surface-code: #1c1917;
|
|
134
|
+
--color-border-subtle: rgba(253, 249, 242, 0.45);
|
|
135
|
+
--color-border-moderate: rgba(253, 249, 242, 0.60);
|
|
136
|
+
--color-border-strong: rgba(253, 249, 242, 0.75);
|
|
137
|
+
--color-border-card: rgba(253, 249, 242, 0.60);
|
|
138
|
+
--color-border-code: #292524;
|
|
139
|
+
--color-content-primary: #fdf9f2;
|
|
140
|
+
--color-content-secondary: #a8a29e;
|
|
141
|
+
--color-content-muted: #78716c;
|
|
142
|
+
--color-content-inverse: #0c0a09;
|
|
143
|
+
--color-interactive-primary: #d6d3d1;
|
|
144
|
+
--color-interactive-hover: #a8a29e;
|
|
145
|
+
--color-interactive-accent: #d6d3d1;
|
|
146
|
+
--color-interactive-focus: #d6d3d1;
|
|
147
|
+
--contrast-high: rgb(237, 237, 235);
|
|
148
|
+
--contrast-readable: rgb(237, 237, 235);
|
|
149
|
+
--contrast-medium: #83838f;
|
|
150
|
+
--contrast-subtle: #83838f;
|
|
151
|
+
--shadow-subtle: 0 1px 2px 0 rgb(237 237 235 / 0.03);
|
|
152
|
+
--shadow-moderate: 0 4px 6px -1px rgb(237 237 235 / 0.05);
|
|
153
|
+
--shadow-prominent: 0 10px 15px -3px rgb(237 237 235 / 0.4);
|
|
154
|
+
--border-subtle: rgba(237, 237, 235, 0.47);
|
|
155
|
+
--border-moderate: rgba(237, 237, 235, 0.63);
|
|
156
|
+
--border-focus: #4FC3F7;
|
|
157
|
+
--navigation-hover-background: rgba(237, 237, 235, 0.05);
|
|
158
|
+
--navigation-active-background: rgba(237, 237, 235, 0.1);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@media (prefers-color-scheme: dark) {
|
|
162
|
+
:root:where(:not([data-bs-theme="light"])) {
|
|
163
|
+
--color-surface-page: #141410;
|
|
164
|
+
--color-surface-page-scrolled: #141410;
|
|
165
|
+
--color-surface-elevated: #1c1917;
|
|
166
|
+
--color-surface-sunken: #0c0a09;
|
|
167
|
+
--color-surface-navbar: #141410;
|
|
168
|
+
--color-surface-navbar-scrolled: #141410;
|
|
169
|
+
--color-surface-code: #1c1917;
|
|
170
|
+
--color-border-subtle: rgba(253, 249, 242, 0.45);
|
|
171
|
+
--color-border-moderate: rgba(253, 249, 242, 0.60);
|
|
172
|
+
--color-border-strong: rgba(253, 249, 242, 0.75);
|
|
173
|
+
--color-border-card: rgba(253, 249, 242, 0.60);
|
|
174
|
+
--color-border-code: #292524;
|
|
175
|
+
--color-content-primary: #fdf9f2;
|
|
176
|
+
--color-content-secondary: #a8a29e;
|
|
177
|
+
--color-content-muted: #78716c;
|
|
178
|
+
--color-content-inverse: #0c0a09;
|
|
179
|
+
--color-interactive-primary: #d6d3d1;
|
|
180
|
+
--color-interactive-hover: #a8a29e;
|
|
181
|
+
--color-interactive-accent: #d6d3d1;
|
|
182
|
+
--color-interactive-focus: #d6d3d1;
|
|
183
|
+
--contrast-high: rgb(237, 237, 235);
|
|
184
|
+
--contrast-readable: rgb(237, 237, 235);
|
|
185
|
+
--contrast-medium: #83838f;
|
|
186
|
+
--contrast-subtle: #83838f;
|
|
187
|
+
--shadow-subtle: 0 1px 2px 0 rgb(237 237 235 / 0.03);
|
|
188
|
+
--shadow-moderate: 0 4px 6px -1px rgb(237 237 235 / 0.05);
|
|
189
|
+
--shadow-prominent: 0 10px 15px -3px rgb(237 237 235 / 0.4);
|
|
190
|
+
--border-subtle: rgba(237, 237, 235, 0.47);
|
|
191
|
+
--border-moderate: rgba(237, 237, 235, 0.63);
|
|
192
|
+
--border-focus: #4FC3F7;
|
|
193
|
+
--navigation-hover-background: rgba(237, 237, 235, 0.05);
|
|
194
|
+
--navigation-active-background: rgba(237, 237, 235, 0.1);
|
|
195
|
+
}
|
|
196
|
+
}
|