@atom63/styles 0.1.0-beta.3 → 0.1.0-beta.5
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/LICENSE +21 -0
- package/generated/atom63.figma-sync.json +2 -2
- package/generated/atom63.figma-tokens.json +3 -3
- package/generated/atom63.tokens.json +3 -3
- package/package.json +11 -3
- package/src/tokens/foundation/aliases.css +17 -13
- package/src/tokens/foundation/aliases.tokens.json +105 -0
- package/src/tokens/foundation/fonts.css +8 -4
- package/src/tokens/foundation/fonts.tokens.json +40 -0
- package/src/tokens/foundation/motion.css +3 -0
- package/src/tokens/foundation/motion.tokens.json +53 -0
- package/src/tokens/foundation/palette.css +3 -0
- package/src/tokens/foundation/palette.tokens.json +1743 -0
- package/src/tokens/foundation/primitives.css +20 -13
- package/src/tokens/foundation/primitives.tokens.json +3470 -0
- package/src/tokens/semantics.css +12 -0
- package/src/tokens/surface.css +5 -19
- package/src/tokens/surface.resolver.json +657 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 You Zhang (ATOM63)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -9537,7 +9537,7 @@
|
|
|
9537
9537
|
"type": "STRING",
|
|
9538
9538
|
"values": {
|
|
9539
9539
|
"Value": {
|
|
9540
|
-
"value": "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',\n 'Courier New', monospace"
|
|
9540
|
+
"value": "'Geist Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono',\n 'Courier New', monospace"
|
|
9541
9541
|
}
|
|
9542
9542
|
}
|
|
9543
9543
|
},
|
|
@@ -9567,7 +9567,7 @@
|
|
|
9567
9567
|
"type": "STRING",
|
|
9568
9568
|
"values": {
|
|
9569
9569
|
"Value": {
|
|
9570
|
-
"value": "'Brawler', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif"
|
|
9570
|
+
"value": "'Brawler', ui-serif, 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif"
|
|
9571
9571
|
}
|
|
9572
9572
|
}
|
|
9573
9573
|
},
|
|
@@ -5522,7 +5522,7 @@
|
|
|
5522
5522
|
"cssVar": "--a63-surface-tint",
|
|
5523
5523
|
"type": "dimension",
|
|
5524
5524
|
"value": "0%",
|
|
5525
|
-
"sourceFile": "packages/styles/src/tokens/
|
|
5525
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
5526
5526
|
"layer": "semantic",
|
|
5527
5527
|
"figma": {
|
|
5528
5528
|
"collection": "Atom63 Semantic",
|
|
@@ -14816,7 +14816,7 @@
|
|
|
14816
14816
|
"name": "font-family-mono",
|
|
14817
14817
|
"cssVar": "--font-family-mono",
|
|
14818
14818
|
"type": "typography",
|
|
14819
|
-
"value": "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
|
|
14819
|
+
"value": "'Geist Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace",
|
|
14820
14820
|
"sourceFile": "packages/styles/src/tokens/foundation/fonts.css",
|
|
14821
14821
|
"layer": "foundation",
|
|
14822
14822
|
"figma": {
|
|
@@ -14858,7 +14858,7 @@
|
|
|
14858
14858
|
"name": "font-family-serif",
|
|
14859
14859
|
"cssVar": "--font-family-serif",
|
|
14860
14860
|
"type": "typography",
|
|
14861
|
-
"value": "'Brawler', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif",
|
|
14861
|
+
"value": "'Brawler', ui-serif, 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif",
|
|
14862
14862
|
"sourceFile": "packages/styles/src/tokens/foundation/fonts.css",
|
|
14863
14863
|
"layer": "foundation",
|
|
14864
14864
|
"figma": {
|
|
@@ -5718,7 +5718,7 @@
|
|
|
5718
5718
|
"cssVar": "--a63-surface-tint",
|
|
5719
5719
|
"type": "dimension",
|
|
5720
5720
|
"value": "0%",
|
|
5721
|
-
"sourceFile": "packages/styles/src/tokens/
|
|
5721
|
+
"sourceFile": "packages/styles/src/tokens/semantics.css",
|
|
5722
5722
|
"layer": "semantic",
|
|
5723
5723
|
"figma": {
|
|
5724
5724
|
"collection": "Atom63 Semantic",
|
|
@@ -15075,7 +15075,7 @@
|
|
|
15075
15075
|
"name": "font-family-mono",
|
|
15076
15076
|
"cssVar": "--font-family-mono",
|
|
15077
15077
|
"type": "typography",
|
|
15078
|
-
"value": "'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
|
|
15078
|
+
"value": "'Geist Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace",
|
|
15079
15079
|
"sourceFile": "packages/styles/src/tokens/foundation/fonts.css",
|
|
15080
15080
|
"layer": "foundation",
|
|
15081
15081
|
"figma": {
|
|
@@ -15117,7 +15117,7 @@
|
|
|
15117
15117
|
"name": "font-family-serif",
|
|
15118
15118
|
"cssVar": "--font-family-serif",
|
|
15119
15119
|
"type": "typography",
|
|
15120
|
-
"value": "'Brawler', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif",
|
|
15120
|
+
"value": "'Brawler', ui-serif, 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif",
|
|
15121
15121
|
"sourceFile": "packages/styles/src/tokens/foundation/fonts.css",
|
|
15122
15122
|
"layer": "foundation",
|
|
15123
15123
|
"figma": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom63/styles",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.5",
|
|
4
4
|
"description": "CSS tokens, themes, contracts, and utilities for the Atom63 design system",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -67,11 +67,16 @@
|
|
|
67
67
|
"./tokens/brand": "./src/tokens/brand.css",
|
|
68
68
|
"./tokens/foundation": "./src/tokens/foundation.css",
|
|
69
69
|
"./tokens/foundation/aliases": "./src/tokens/foundation/aliases.css",
|
|
70
|
+
"./tokens/foundation/aliases.tokens.json": "./src/tokens/foundation/aliases.tokens.json",
|
|
70
71
|
"./tokens/foundation/effects": "./src/tokens/foundation/effects.css",
|
|
71
72
|
"./tokens/foundation/fonts": "./src/tokens/foundation/fonts.css",
|
|
73
|
+
"./tokens/foundation/fonts.tokens.json": "./src/tokens/foundation/fonts.tokens.json",
|
|
72
74
|
"./tokens/foundation/motion": "./src/tokens/foundation/motion.css",
|
|
75
|
+
"./tokens/foundation/motion.tokens.json": "./src/tokens/foundation/motion.tokens.json",
|
|
73
76
|
"./tokens/foundation/palette": "./src/tokens/foundation/palette.css",
|
|
77
|
+
"./tokens/foundation/palette.tokens.json": "./src/tokens/foundation/palette.tokens.json",
|
|
74
78
|
"./tokens/foundation/primitives": "./src/tokens/foundation/primitives.css",
|
|
79
|
+
"./tokens/foundation/primitives.tokens.json": "./src/tokens/foundation/primitives.tokens.json",
|
|
75
80
|
"./tokens/foundation/radius": "./src/tokens/foundation/radius.css",
|
|
76
81
|
"./tokens/foundation/typography": "./src/tokens/foundation/typography.css",
|
|
77
82
|
"./tokens/motion": "./src/tokens/motion.css",
|
|
@@ -79,6 +84,7 @@
|
|
|
79
84
|
"./tokens/semantics": "./src/tokens/semantics.css",
|
|
80
85
|
"./tokens/space": "./src/tokens/space.css",
|
|
81
86
|
"./tokens/surface": "./src/tokens/surface.css",
|
|
87
|
+
"./tokens/surface.resolver.json": "./src/tokens/surface.resolver.json",
|
|
82
88
|
"./utils": "./src/utils/index.css",
|
|
83
89
|
"./utils/code-highlighting": "./src/utils/code-highlighting.css",
|
|
84
90
|
"./utils/debug": "./src/utils/debug.css",
|
|
@@ -109,13 +115,15 @@
|
|
|
109
115
|
"@atom63/eslint-config": "0.1.0"
|
|
110
116
|
},
|
|
111
117
|
"scripts": {
|
|
112
|
-
"generate:tokens": "node scripts/generate-token-manifest.mjs && node scripts/generate-figma-sync.mjs && node scripts/generate-z-layers.mjs",
|
|
118
|
+
"generate:tokens": "node scripts/build-css-from-dtcg.mjs && node scripts/generate-token-manifest.mjs && node scripts/generate-figma-sync.mjs && node scripts/generate-z-layers.mjs",
|
|
113
119
|
"check:tokens": "node scripts/check-token-manifest.mjs",
|
|
114
120
|
"lint": "eslint . --cache --max-warnings 0",
|
|
115
121
|
"test": "vitest run",
|
|
116
122
|
"generate:figma": "node scripts/generate-figma-sync.mjs",
|
|
117
123
|
"check:figma": "node scripts/generate-figma-sync.mjs --check",
|
|
118
124
|
"generate:z-layers": "node scripts/generate-z-layers.mjs",
|
|
119
|
-
"check:z-layers": "node scripts/generate-z-layers.mjs --check"
|
|
125
|
+
"check:z-layers": "node scripts/generate-z-layers.mjs --check",
|
|
126
|
+
"check:dtcg": "node scripts/build-css-from-dtcg.mjs --check",
|
|
127
|
+
"tokens:apply": "node scripts/apply-token-patch.mjs"
|
|
120
128
|
}
|
|
121
129
|
}
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Generated from src/tokens/foundation/aliases.tokens.json by scripts/build-css-from-dtcg.mjs. Do not edit;
|
|
3
|
+
* change the DTCG source and run `pnpm --filter @atom63/styles generate:tokens`.
|
|
4
|
+
*
|
|
5
|
+
* Default surface ramp: --surface-light-* and --surface-dark-* point at the n1 neutral palette.
|
|
6
|
+
*/
|
|
3
7
|
:root {
|
|
4
8
|
--surface-light-1: var(--color-n1-light-1);
|
|
5
|
-
--surface-dark-1: var(--color-n1-dark-1);
|
|
6
9
|
--surface-light-2: var(--color-n1-light-2);
|
|
7
|
-
--surface-dark-2: var(--color-n1-dark-2);
|
|
8
10
|
--surface-light-3: var(--color-n1-light-3);
|
|
9
|
-
--surface-dark-3: var(--color-n1-dark-3);
|
|
10
11
|
--surface-light-4: var(--color-n1-light-4);
|
|
11
|
-
--surface-dark-4: var(--color-n1-dark-4);
|
|
12
12
|
--surface-light-5: var(--color-n1-light-5);
|
|
13
|
-
--surface-dark-5: var(--color-n1-dark-5);
|
|
14
13
|
--surface-light-6: var(--color-n1-light-6);
|
|
15
|
-
--surface-dark-6: var(--color-n1-dark-6);
|
|
16
14
|
--surface-light-7: var(--color-n1-light-7);
|
|
17
|
-
--surface-dark-7: var(--color-n1-dark-7);
|
|
18
15
|
--surface-light-8: var(--color-n1-light-8);
|
|
19
|
-
--surface-dark-8: var(--color-n1-dark-8);
|
|
20
16
|
--surface-light-9: var(--color-n1-light-9);
|
|
21
|
-
--surface-dark-9: var(--color-n1-dark-9);
|
|
22
17
|
--surface-light-10: var(--color-n1-light-10);
|
|
23
|
-
--surface-dark-10: var(--color-n1-dark-10);
|
|
24
18
|
--surface-light-11: var(--color-n1-light-11);
|
|
25
|
-
--surface-dark-11: var(--color-n1-dark-11);
|
|
26
19
|
--surface-light-12: var(--color-n1-light-12);
|
|
20
|
+
--surface-dark-1: var(--color-n1-dark-1);
|
|
21
|
+
--surface-dark-2: var(--color-n1-dark-2);
|
|
22
|
+
--surface-dark-3: var(--color-n1-dark-3);
|
|
23
|
+
--surface-dark-4: var(--color-n1-dark-4);
|
|
24
|
+
--surface-dark-5: var(--color-n1-dark-5);
|
|
25
|
+
--surface-dark-6: var(--color-n1-dark-6);
|
|
26
|
+
--surface-dark-7: var(--color-n1-dark-7);
|
|
27
|
+
--surface-dark-8: var(--color-n1-dark-8);
|
|
28
|
+
--surface-dark-9: var(--color-n1-dark-9);
|
|
29
|
+
--surface-dark-10: var(--color-n1-dark-10);
|
|
30
|
+
--surface-dark-11: var(--color-n1-dark-11);
|
|
27
31
|
--surface-dark-12: var(--color-n1-dark-12);
|
|
28
32
|
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Default surface ramp: --surface-light-* and --surface-dark-* point at the n1 neutral palette.",
|
|
3
|
+
"surface": {
|
|
4
|
+
"light": {
|
|
5
|
+
"1": {
|
|
6
|
+
"$type": "color",
|
|
7
|
+
"$value": "{color.n1.light.1}"
|
|
8
|
+
},
|
|
9
|
+
"2": {
|
|
10
|
+
"$type": "color",
|
|
11
|
+
"$value": "{color.n1.light.2}"
|
|
12
|
+
},
|
|
13
|
+
"3": {
|
|
14
|
+
"$type": "color",
|
|
15
|
+
"$value": "{color.n1.light.3}"
|
|
16
|
+
},
|
|
17
|
+
"4": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": "{color.n1.light.4}"
|
|
20
|
+
},
|
|
21
|
+
"5": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": "{color.n1.light.5}"
|
|
24
|
+
},
|
|
25
|
+
"6": {
|
|
26
|
+
"$type": "color",
|
|
27
|
+
"$value": "{color.n1.light.6}"
|
|
28
|
+
},
|
|
29
|
+
"7": {
|
|
30
|
+
"$type": "color",
|
|
31
|
+
"$value": "{color.n1.light.7}"
|
|
32
|
+
},
|
|
33
|
+
"8": {
|
|
34
|
+
"$type": "color",
|
|
35
|
+
"$value": "{color.n1.light.8}"
|
|
36
|
+
},
|
|
37
|
+
"9": {
|
|
38
|
+
"$type": "color",
|
|
39
|
+
"$value": "{color.n1.light.9}"
|
|
40
|
+
},
|
|
41
|
+
"10": {
|
|
42
|
+
"$type": "color",
|
|
43
|
+
"$value": "{color.n1.light.10}"
|
|
44
|
+
},
|
|
45
|
+
"11": {
|
|
46
|
+
"$type": "color",
|
|
47
|
+
"$value": "{color.n1.light.11}"
|
|
48
|
+
},
|
|
49
|
+
"12": {
|
|
50
|
+
"$type": "color",
|
|
51
|
+
"$value": "{color.n1.light.12}"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"dark": {
|
|
55
|
+
"1": {
|
|
56
|
+
"$type": "color",
|
|
57
|
+
"$value": "{color.n1.dark.1}"
|
|
58
|
+
},
|
|
59
|
+
"2": {
|
|
60
|
+
"$type": "color",
|
|
61
|
+
"$value": "{color.n1.dark.2}"
|
|
62
|
+
},
|
|
63
|
+
"3": {
|
|
64
|
+
"$type": "color",
|
|
65
|
+
"$value": "{color.n1.dark.3}"
|
|
66
|
+
},
|
|
67
|
+
"4": {
|
|
68
|
+
"$type": "color",
|
|
69
|
+
"$value": "{color.n1.dark.4}"
|
|
70
|
+
},
|
|
71
|
+
"5": {
|
|
72
|
+
"$type": "color",
|
|
73
|
+
"$value": "{color.n1.dark.5}"
|
|
74
|
+
},
|
|
75
|
+
"6": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$value": "{color.n1.dark.6}"
|
|
78
|
+
},
|
|
79
|
+
"7": {
|
|
80
|
+
"$type": "color",
|
|
81
|
+
"$value": "{color.n1.dark.7}"
|
|
82
|
+
},
|
|
83
|
+
"8": {
|
|
84
|
+
"$type": "color",
|
|
85
|
+
"$value": "{color.n1.dark.8}"
|
|
86
|
+
},
|
|
87
|
+
"9": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$value": "{color.n1.dark.9}"
|
|
90
|
+
},
|
|
91
|
+
"10": {
|
|
92
|
+
"$type": "color",
|
|
93
|
+
"$value": "{color.n1.dark.10}"
|
|
94
|
+
},
|
|
95
|
+
"11": {
|
|
96
|
+
"$type": "color",
|
|
97
|
+
"$value": "{color.n1.dark.11}"
|
|
98
|
+
},
|
|
99
|
+
"12": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "{color.n1.dark.12}"
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Generated from src/tokens/foundation/fonts.tokens.json by scripts/build-css-from-dtcg.mjs. Do not edit;
|
|
3
|
+
* change the DTCG source and run `pnpm --filter @atom63/styles generate:tokens`.
|
|
4
|
+
*
|
|
5
|
+
* Font families: the family stacks the typography and font axis choose from.
|
|
6
|
+
*/
|
|
3
7
|
:root {
|
|
4
8
|
--font-family-sans:
|
|
5
9
|
'Geist', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
6
|
-
--font-family-serif: 'Brawler', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
10
|
+
--font-family-serif: 'Brawler', ui-serif, 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif;
|
|
7
11
|
--font-family-mono:
|
|
8
|
-
'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
|
|
12
|
+
'Geist Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono',
|
|
9
13
|
'Courier New', monospace;
|
|
10
14
|
--font-family-pixel: 'Doto', 'Geist Mono', ui-monospace, monospace;
|
|
11
15
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Font families: the family stacks the typography and font axis choose from.",
|
|
3
|
+
"font": {
|
|
4
|
+
"family": {
|
|
5
|
+
"sans": {
|
|
6
|
+
"$type": "fontFamily",
|
|
7
|
+
"$value": [
|
|
8
|
+
"Geist",
|
|
9
|
+
"ui-sans-serif",
|
|
10
|
+
"system-ui",
|
|
11
|
+
"sans-serif",
|
|
12
|
+
"Apple Color Emoji",
|
|
13
|
+
"Segoe UI Emoji"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"serif": {
|
|
17
|
+
"$type": "fontFamily",
|
|
18
|
+
"$value": ["Brawler", "ui-serif", "Georgia", "Cambria", "Times New Roman", "Times", "serif"]
|
|
19
|
+
},
|
|
20
|
+
"mono": {
|
|
21
|
+
"$type": "fontFamily",
|
|
22
|
+
"$value": [
|
|
23
|
+
"Geist Mono",
|
|
24
|
+
"ui-monospace",
|
|
25
|
+
"SFMono-Regular",
|
|
26
|
+
"Menlo",
|
|
27
|
+
"Monaco",
|
|
28
|
+
"Consolas",
|
|
29
|
+
"Liberation Mono",
|
|
30
|
+
"Courier New",
|
|
31
|
+
"monospace"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"pixel": {
|
|
35
|
+
"$type": "fontFamily",
|
|
36
|
+
"$value": ["Doto", "Geist Mono", "ui-monospace", "monospace"]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Generated from src/tokens/foundation/motion.tokens.json by scripts/build-css-from-dtcg.mjs. Do not edit;
|
|
3
|
+
* change the DTCG source and run `pnpm --filter @atom63/styles generate:tokens`.
|
|
4
|
+
*
|
|
2
5
|
* Motion foundation.
|
|
3
6
|
*
|
|
4
7
|
* Raw duration primitives live in primitives.css. This layer chooses the lean
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$description": "Motion foundation.\n\nRaw duration primitives live in primitives.css. This layer chooses the lean\ntiming ramp and easing vocabulary shared by semantic motion contracts.",
|
|
3
|
+
"duration": {
|
|
4
|
+
"instant": {
|
|
5
|
+
"$type": "duration",
|
|
6
|
+
"$value": "{duration.none}"
|
|
7
|
+
},
|
|
8
|
+
"fast": {
|
|
9
|
+
"$type": "duration",
|
|
10
|
+
"$value": "{duration.150}"
|
|
11
|
+
},
|
|
12
|
+
"normal": {
|
|
13
|
+
"$type": "duration",
|
|
14
|
+
"$value": "{duration.250}"
|
|
15
|
+
},
|
|
16
|
+
"overlay": {
|
|
17
|
+
"$type": "duration",
|
|
18
|
+
"$value": "{duration.450}"
|
|
19
|
+
},
|
|
20
|
+
"swipe": {
|
|
21
|
+
"dismiss": {
|
|
22
|
+
"$type": "duration",
|
|
23
|
+
"$value": "{duration.400}"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"slow": {
|
|
27
|
+
"$type": "duration",
|
|
28
|
+
"$value": "{duration.500}"
|
|
29
|
+
},
|
|
30
|
+
"slower": {
|
|
31
|
+
"$type": "duration",
|
|
32
|
+
"$value": "{duration.1000}"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"ease": {
|
|
36
|
+
"overlay": {
|
|
37
|
+
"$type": "cubicBezier",
|
|
38
|
+
"$value": [0.22, 1, 0.36, 1]
|
|
39
|
+
},
|
|
40
|
+
"scrim": {
|
|
41
|
+
"$type": "cubicBezier",
|
|
42
|
+
"$value": [0.32, 0.72, 0, 1]
|
|
43
|
+
},
|
|
44
|
+
"standard": {
|
|
45
|
+
"$type": "cubicBezier",
|
|
46
|
+
"$value": [0.2, 0, 0, 1]
|
|
47
|
+
},
|
|
48
|
+
"emphasized": {
|
|
49
|
+
"$type": "cubicBezier",
|
|
50
|
+
"$value": [0.3, 0, 0, 1]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Generated from src/tokens/foundation/palette.tokens.json by scripts/build-css-from-dtcg.mjs. Do not edit;
|
|
3
|
+
* change the DTCG source and run `pnpm --filter @atom63/styles generate:tokens`.
|
|
4
|
+
*
|
|
2
5
|
* Tailwind v4 default color palette — the full 22-hue × 11-stop scale in oklch,
|
|
3
6
|
* as foundation PRIMITIVES so the palette is available on platforms WITHOUT
|
|
4
7
|
* Tailwind (the DS's non-TW path). Values are copied verbatim from Tailwind's
|