@astryxdesign/theme-matcha 0.7.12-canary.f36bd72 → 0.7.12
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/dist/icons.d.cts +2 -0
- package/dist/matcha.js +1 -1
- package/dist/matchaTheme.d.cts +1 -0
- package/dist/{source.js → source.cjs} +1 -1
- package/dist/source.d.cts +2 -0
- package/dist/source.d.ts +2 -2
- package/dist/source.mjs +1 -1
- package/dist/theme.css +1 -1
- package/package.json +15 -8
- package/src/matchaTheme.ts +1 -1
- package/theme.css.d.ts +3 -0
package/dist/icons.d.cts
ADDED
package/dist/matcha.js
CHANGED
|
@@ -123,7 +123,7 @@ export const matchaTheme = {
|
|
|
123
123
|
"--color-overlay-pressed": "light-dark(#3e481d1a, #c0cba91a)",
|
|
124
124
|
"--color-background-muted": "light-dark(#f0f0e0, #3e481d)",
|
|
125
125
|
"--color-text-primary": "light-dark(#3e481d, #c0cba9)",
|
|
126
|
-
"--color-text-secondary": "light-dark(#
|
|
126
|
+
"--color-text-secondary": "light-dark(#5a6b2a, #94a468)",
|
|
127
127
|
"--color-text-disabled": "light-dark(#c0cba9, #5a6440)",
|
|
128
128
|
"--color-text-accent": "light-dark(#3e481d, #c0cba9)",
|
|
129
129
|
"--color-on-dark": "#ffffff",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const matchaTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme<never>;
|
|
@@ -186,7 +186,7 @@ var matchaTheme = (0, import_theme.defineTheme)({
|
|
|
186
186
|
"--color-background-muted": [neutral.light[95], neutral.dark[20]],
|
|
187
187
|
// Text
|
|
188
188
|
"--color-text-primary": [neutral.light[20], neutral.dark[75]],
|
|
189
|
-
"--color-text-secondary": [neutral.light[
|
|
189
|
+
"--color-text-secondary": [neutral.light[30], neutral.dark[60]],
|
|
190
190
|
"--color-text-disabled": [neutral.light[75], neutral.dark[30]],
|
|
191
191
|
"--color-text-accent": [neutral.light[20], neutral.dark[75]],
|
|
192
192
|
"--color-on-dark": neutral.light[100],
|
package/dist/source.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { matchaTheme } from './matchaTheme';
|
|
2
|
-
export { matchaIconRegistry } from './icons';
|
|
1
|
+
export { matchaTheme } from './matchaTheme.js';
|
|
2
|
+
export { matchaIconRegistry } from './icons.js';
|
|
3
3
|
//# sourceMappingURL=source.d.ts.map
|
package/dist/source.mjs
CHANGED
|
@@ -189,7 +189,7 @@ var matchaTheme = defineTheme({
|
|
|
189
189
|
"--color-background-muted": [neutral.light[95], neutral.dark[20]],
|
|
190
190
|
// Text
|
|
191
191
|
"--color-text-primary": [neutral.light[20], neutral.dark[75]],
|
|
192
|
-
"--color-text-secondary": [neutral.light[
|
|
192
|
+
"--color-text-secondary": [neutral.light[30], neutral.dark[60]],
|
|
193
193
|
"--color-text-disabled": [neutral.light[75], neutral.dark[30]],
|
|
194
194
|
"--color-text-accent": [neutral.light[20], neutral.dark[75]],
|
|
195
195
|
"--color-on-dark": neutral.light[100],
|
package/dist/theme.css
CHANGED
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
--color-overlay-pressed: light-dark(#3e481d1a, #c0cba91a);
|
|
204
204
|
--color-background-muted: light-dark(#f0f0e0, #3e481d);
|
|
205
205
|
--color-text-primary: light-dark(#3e481d, #c0cba9);
|
|
206
|
-
--color-text-secondary: light-dark(#
|
|
206
|
+
--color-text-secondary: light-dark(#5a6b2a, #94a468);
|
|
207
207
|
--color-text-disabled: light-dark(#c0cba9, #5a6440);
|
|
208
208
|
--color-text-accent: light-dark(#3e481d, #c0cba9);
|
|
209
209
|
--color-on-dark: #ffffff;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-matcha",
|
|
3
|
-
"version": "0.7.12
|
|
3
|
+
"version": "0.7.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Earthy greens with a calm, organic feel. Naturalistic and grounded, great for wellness or content-first apps.",
|
|
6
6
|
"author": "Meta Open Source",
|
|
@@ -24,13 +24,19 @@
|
|
|
24
24
|
"sideEffects": [
|
|
25
25
|
"**/*.css"
|
|
26
26
|
],
|
|
27
|
-
"
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "./dist/source.cjs",
|
|
28
29
|
"types": "./dist/source.d.ts",
|
|
29
30
|
"exports": {
|
|
30
31
|
".": {
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
"import": {
|
|
33
|
+
"types": "./dist/source.d.ts",
|
|
34
|
+
"default": "./dist/source.mjs"
|
|
35
|
+
},
|
|
36
|
+
"require": {
|
|
37
|
+
"types": "./dist/source.d.cts",
|
|
38
|
+
"default": "./dist/source.cjs"
|
|
39
|
+
}
|
|
34
40
|
},
|
|
35
41
|
"./built": {
|
|
36
42
|
"types": "./dist/matcha.d.ts",
|
|
@@ -51,6 +57,7 @@
|
|
|
51
57
|
"src",
|
|
52
58
|
"fonts.css",
|
|
53
59
|
"fonts.css.d.ts",
|
|
60
|
+
"theme.css.d.ts",
|
|
54
61
|
"palette.config.json",
|
|
55
62
|
"!**/*.test.*",
|
|
56
63
|
"!**/*.spec.js",
|
|
@@ -70,15 +77,15 @@
|
|
|
70
77
|
"lucide-react": "^1.18.0"
|
|
71
78
|
},
|
|
72
79
|
"peerDependencies": {
|
|
73
|
-
"@astryxdesign/core": "0.7.12
|
|
80
|
+
"@astryxdesign/core": "0.7.12",
|
|
74
81
|
"react": ">=19"
|
|
75
82
|
},
|
|
76
83
|
"devDependencies": {
|
|
77
|
-
"@astryxdesign/cli": "0.7.12
|
|
84
|
+
"@astryxdesign/cli": "0.7.12"
|
|
78
85
|
},
|
|
79
86
|
"module": "./dist/source.mjs",
|
|
80
87
|
"scripts": {
|
|
81
88
|
"api:report": "node ../../../scripts/api-report/cli.mjs --package .",
|
|
82
|
-
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-matcha-palette-refs.mjs --check && astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
|
|
89
|
+
"build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-matcha-palette-refs.mjs --check && astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/add-declaration-extensions.mjs && node ../../../scripts/emit-commonjs-declarations.mjs dist/source.d.ts && node ../../../scripts/check-fully-specified.mjs"
|
|
83
90
|
}
|
|
84
91
|
}
|
package/src/matchaTheme.ts
CHANGED
|
@@ -97,7 +97,7 @@ export const matchaTheme = defineTheme({
|
|
|
97
97
|
|
|
98
98
|
// Text
|
|
99
99
|
'--color-text-primary': [neutral.light[20], neutral.dark[75]],
|
|
100
|
-
'--color-text-secondary': [neutral.light[
|
|
100
|
+
'--color-text-secondary': [neutral.light[30], neutral.dark[60]],
|
|
101
101
|
'--color-text-disabled': [neutral.light[75], neutral.dark[30]],
|
|
102
102
|
'--color-text-accent': [neutral.light[20], neutral.dark[75]],
|
|
103
103
|
'--color-on-dark': neutral.light[100],
|
package/theme.css.d.ts
ADDED