@atom63/styles 0.1.0-beta.0 → 0.1.0-beta.2
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.
|
@@ -14871,6 +14871,20 @@
|
|
|
14871
14871
|
"lifecycle": "preview",
|
|
14872
14872
|
"scope": ":root"
|
|
14873
14873
|
},
|
|
14874
|
+
{
|
|
14875
|
+
"name": "font-weight-medium",
|
|
14876
|
+
"cssVar": "--font-weight-medium",
|
|
14877
|
+
"type": "typography",
|
|
14878
|
+
"value": "500",
|
|
14879
|
+
"sourceFile": "packages/styles/src/tokens/font.css",
|
|
14880
|
+
"layer": "semantic",
|
|
14881
|
+
"figma": {
|
|
14882
|
+
"collection": "Atom63 Semantic",
|
|
14883
|
+
"path": "font/weight/medium"
|
|
14884
|
+
},
|
|
14885
|
+
"lifecycle": "preview",
|
|
14886
|
+
"scope": ":root"
|
|
14887
|
+
},
|
|
14874
14888
|
{
|
|
14875
14889
|
"name": "radius",
|
|
14876
14890
|
"cssVar": "--radius",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
],
|
|
42
42
|
"summary": {
|
|
43
43
|
"sourceFiles": 36,
|
|
44
|
-
"declarations":
|
|
45
|
-
"uniqueCssVariables":
|
|
46
|
-
"figmaMappedDeclarations":
|
|
44
|
+
"declarations": 1478,
|
|
45
|
+
"uniqueCssVariables": 1016,
|
|
46
|
+
"figmaMappedDeclarations": 1457
|
|
47
47
|
},
|
|
48
48
|
"entries": [
|
|
49
49
|
{
|
|
@@ -15130,6 +15130,20 @@
|
|
|
15130
15130
|
"lifecycle": "preview",
|
|
15131
15131
|
"scope": ":root"
|
|
15132
15132
|
},
|
|
15133
|
+
{
|
|
15134
|
+
"name": "font-weight-medium",
|
|
15135
|
+
"cssVar": "--font-weight-medium",
|
|
15136
|
+
"type": "typography",
|
|
15137
|
+
"value": "500",
|
|
15138
|
+
"sourceFile": "packages/styles/src/tokens/font.css",
|
|
15139
|
+
"layer": "semantic",
|
|
15140
|
+
"figma": {
|
|
15141
|
+
"collection": "Atom63 Semantic",
|
|
15142
|
+
"path": "font/weight/medium"
|
|
15143
|
+
},
|
|
15144
|
+
"lifecycle": "preview",
|
|
15145
|
+
"scope": ":root"
|
|
15146
|
+
},
|
|
15133
15147
|
{
|
|
15134
15148
|
"name": "radius",
|
|
15135
15149
|
"cssVar": "--radius",
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom63/styles",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.2",
|
|
4
4
|
"description": "CSS tokens, themes, contracts, and utilities for the Atom63 design system",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/atom63/atom63-design-system.git",
|
|
9
9
|
"directory": "packages/styles"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/
|
|
11
|
+
"homepage": "https://github.com/atom63/atom63-design-system/tree/main/packages/styles#readme",
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/atom63/atom63-design-system/issues"
|
|
14
14
|
},
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
"style": "./src/index.css",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": "./src/index.css",
|
|
30
|
+
"./tokens.json": "./generated/atom63.tokens.json",
|
|
31
|
+
"./figma-sync.json": "./generated/atom63.figma-sync.json",
|
|
30
32
|
"./compat": "./src/compat/index.css",
|
|
31
33
|
"./compat/a63-from-shadcn": "./src/compat/a63-from-shadcn.css",
|
|
32
34
|
"./animations": "./src/animations/index.css",
|
|
@@ -96,21 +98,23 @@
|
|
|
96
98
|
"sideEffects": [
|
|
97
99
|
"*.css"
|
|
98
100
|
],
|
|
99
|
-
"scripts": {
|
|
100
|
-
"generate:tokens": "node scripts/generate-token-manifest.mjs",
|
|
101
|
-
"check:tokens": "node scripts/check-token-manifest.mjs",
|
|
102
|
-
"lint": "eslint . --cache --max-warnings 0",
|
|
103
|
-
"test": "vitest run"
|
|
104
|
-
},
|
|
105
101
|
"dependencies": {
|
|
106
102
|
"tw-animate-css": "1.4.0"
|
|
107
103
|
},
|
|
108
104
|
"devDependencies": {
|
|
109
|
-
"@atom63/eslint-config": "workspace:*",
|
|
110
105
|
"@vitest/browser": "4.1.10",
|
|
111
106
|
"@vitest/browser-playwright": "4.1.10",
|
|
112
107
|
"eslint": "10.7.0",
|
|
113
108
|
"playwright": "1.61.1",
|
|
114
|
-
"vitest": "
|
|
109
|
+
"vitest": "4.1.10",
|
|
110
|
+
"@atom63/eslint-config": "0.1.0"
|
|
111
|
+
},
|
|
112
|
+
"scripts": {
|
|
113
|
+
"generate:tokens": "node scripts/generate-token-manifest.mjs && node scripts/generate-figma-sync.mjs",
|
|
114
|
+
"check:tokens": "node scripts/check-token-manifest.mjs",
|
|
115
|
+
"lint": "eslint . --cache --max-warnings 0",
|
|
116
|
+
"test": "vitest run",
|
|
117
|
+
"generate:figma": "node scripts/generate-figma-sync.mjs",
|
|
118
|
+
"check:figma": "node scripts/generate-figma-sync.mjs --check"
|
|
115
119
|
}
|
|
116
|
-
}
|
|
120
|
+
}
|
package/src/tokens/font.css
CHANGED
|
@@ -101,8 +101,9 @@ describe('type scale axis', () => {
|
|
|
101
101
|
})
|
|
102
102
|
|
|
103
103
|
describe('font family axis', () => {
|
|
104
|
-
it('defaults --a63-font-app to the sans stack', () => {
|
|
104
|
+
it('defaults --a63-font-app to the sans stack and publishes medium weight', () => {
|
|
105
105
|
expect(cssVar('--a63-font-app')).toContain('Geist')
|
|
106
|
+
expect(cssVar('--font-weight-medium')).toBe('500')
|
|
106
107
|
})
|
|
107
108
|
|
|
108
109
|
it('remaps --a63-font-app per [data-a63-font]', () => {
|