@astryxdesign/theme-matcha 0.7.5-canary.d4f09c2 → 0.7.5-canary.d6004fd
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/matcha.js +12 -2
- package/dist/matchaPaletteRefs.generated.d.ts +1 -0
- package/dist/matchaPaletteRefs.generated.d.ts.map +1 -1
- package/dist/matchaTheme.d.ts.map +1 -1
- package/dist/source.js +14 -3
- package/dist/source.mjs +14 -3
- package/dist/theme.css +21 -2
- package/package.json +3 -3
- package/src/matchaPaletteRefs.generated.ts +1 -1
- package/src/matchaTheme.ts +15 -2
package/dist/matcha.js
CHANGED
|
@@ -119,9 +119,19 @@ export const matchaTheme = {
|
|
|
119
119
|
"--color-on-dark": "#ffffff",
|
|
120
120
|
"--color-on-light": "#3e481d",
|
|
121
121
|
"--color-on-accent": "light-dark(#ffffff, #3e481d)",
|
|
122
|
-
"--color-on-success": "
|
|
123
|
-
"--color-on-error": "
|
|
122
|
+
"--color-on-success": "#12140e",
|
|
123
|
+
"--color-on-error": "#12140e",
|
|
124
124
|
"--color-on-warning": "light-dark(#3e481d, #3e481d)",
|
|
125
|
+
"--color-info": "light-dark(#3a5e8c, #a7c9e3)",
|
|
126
|
+
"--color-info-muted": "var(--color-background-blue)",
|
|
127
|
+
"--color-text-info": "light-dark(#2e4a6e, #8dbce0)",
|
|
128
|
+
"--color-text-success": "light-dark(#3d7a00, #80d43a)",
|
|
129
|
+
"--color-text-warning": "light-dark(#836700, #ffe08b)",
|
|
130
|
+
"--color-text-error": "light-dark(#cc0000, #ff7a7a)",
|
|
131
|
+
"--color-on-info-muted": "light-dark(#2e4a6e, #8dbce0)",
|
|
132
|
+
"--color-on-success-muted": "light-dark(#3d7a00, #80d43a)",
|
|
133
|
+
"--color-on-warning-muted": "light-dark(#836700, #ffe08b)",
|
|
134
|
+
"--color-on-error-muted": "light-dark(#cc0000, #ff7a7a)",
|
|
125
135
|
"--color-icon-accent": "light-dark(#3e481d, #c0cba9)",
|
|
126
136
|
"--color-icon-primary": "light-dark(#3e481d, #c0cba9)",
|
|
127
137
|
"--color-icon-secondary": "light-dark(#707e46, #94a468)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchaPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/matchaPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"matchaPaletteRefs.generated.d.ts","sourceRoot":"","sources":["../src/matchaPaletteRefs.generated.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCpB,CAAC;AAEX,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAyCA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAyCA,eAAO,MAAM,WAAW,yDAyRtB,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -83,7 +83,7 @@ var matchaPaletteRefs = {
|
|
|
83
83
|
},
|
|
84
84
|
blue: {
|
|
85
85
|
light: { 35: "#2e4a6e", 50: "#3a5e8c" },
|
|
86
|
-
dark: { 50: "#3a5e8c", 70: "#7ba8d4", 75: "#8dbce0" }
|
|
86
|
+
dark: { 50: "#3a5e8c", 70: "#7ba8d4", 75: "#8dbce0", 80: "#a7c9e3" }
|
|
87
87
|
},
|
|
88
88
|
purple: {
|
|
89
89
|
light: { 35: "#553a70", 50: "#6b4a8c" },
|
|
@@ -192,9 +192,20 @@ var matchaTheme = (0, import_theme.defineTheme)({
|
|
|
192
192
|
"--color-on-dark": neutral.light[100],
|
|
193
193
|
"--color-on-light": neutral.light[20],
|
|
194
194
|
"--color-on-accent": [neutral.light[100], neutral.dark[20]],
|
|
195
|
-
"--color-on-success":
|
|
196
|
-
"--color-on-error":
|
|
195
|
+
"--color-on-success": neutral.dark[5],
|
|
196
|
+
"--color-on-error": neutral.dark[5],
|
|
197
197
|
"--color-on-warning": [neutral.light[20], neutral.dark[20]],
|
|
198
|
+
// Info is its own blue status, independent of the accent.
|
|
199
|
+
"--color-info": [blue.light[50], blue.dark[80]],
|
|
200
|
+
"--color-info-muted": "var(--color-background-blue)",
|
|
201
|
+
"--color-text-info": [blue.light[35], blue.dark[75]],
|
|
202
|
+
"--color-text-success": [green.light[35], green.dark[75]],
|
|
203
|
+
"--color-text-warning": [yellow.light[45], yellow.dark[90]],
|
|
204
|
+
"--color-text-error": [red.light[35], red.dark[75]],
|
|
205
|
+
"--color-on-info-muted": [blue.light[35], blue.dark[75]],
|
|
206
|
+
"--color-on-success-muted": [green.light[35], green.dark[75]],
|
|
207
|
+
"--color-on-warning-muted": [yellow.light[45], yellow.dark[90]],
|
|
208
|
+
"--color-on-error-muted": [red.light[35], red.dark[75]],
|
|
198
209
|
// Icon
|
|
199
210
|
"--color-icon-accent": [neutral.light[20], neutral.dark[75]],
|
|
200
211
|
"--color-icon-primary": [neutral.light[20], neutral.dark[75]],
|
package/dist/source.mjs
CHANGED
|
@@ -86,7 +86,7 @@ var matchaPaletteRefs = {
|
|
|
86
86
|
},
|
|
87
87
|
blue: {
|
|
88
88
|
light: { 35: "#2e4a6e", 50: "#3a5e8c" },
|
|
89
|
-
dark: { 50: "#3a5e8c", 70: "#7ba8d4", 75: "#8dbce0" }
|
|
89
|
+
dark: { 50: "#3a5e8c", 70: "#7ba8d4", 75: "#8dbce0", 80: "#a7c9e3" }
|
|
90
90
|
},
|
|
91
91
|
purple: {
|
|
92
92
|
light: { 35: "#553a70", 50: "#6b4a8c" },
|
|
@@ -195,9 +195,20 @@ var matchaTheme = defineTheme({
|
|
|
195
195
|
"--color-on-dark": neutral.light[100],
|
|
196
196
|
"--color-on-light": neutral.light[20],
|
|
197
197
|
"--color-on-accent": [neutral.light[100], neutral.dark[20]],
|
|
198
|
-
"--color-on-success":
|
|
199
|
-
"--color-on-error":
|
|
198
|
+
"--color-on-success": neutral.dark[5],
|
|
199
|
+
"--color-on-error": neutral.dark[5],
|
|
200
200
|
"--color-on-warning": [neutral.light[20], neutral.dark[20]],
|
|
201
|
+
// Info is its own blue status, independent of the accent.
|
|
202
|
+
"--color-info": [blue.light[50], blue.dark[80]],
|
|
203
|
+
"--color-info-muted": "var(--color-background-blue)",
|
|
204
|
+
"--color-text-info": [blue.light[35], blue.dark[75]],
|
|
205
|
+
"--color-text-success": [green.light[35], green.dark[75]],
|
|
206
|
+
"--color-text-warning": [yellow.light[45], yellow.dark[90]],
|
|
207
|
+
"--color-text-error": [red.light[35], red.dark[75]],
|
|
208
|
+
"--color-on-info-muted": [blue.light[35], blue.dark[75]],
|
|
209
|
+
"--color-on-success-muted": [green.light[35], green.dark[75]],
|
|
210
|
+
"--color-on-warning-muted": [yellow.light[45], yellow.dark[90]],
|
|
211
|
+
"--color-on-error-muted": [red.light[35], red.dark[75]],
|
|
201
212
|
// Icon
|
|
202
213
|
"--color-icon-accent": [neutral.light[20], neutral.dark[75]],
|
|
203
214
|
"--color-icon-primary": [neutral.light[20], neutral.dark[75]],
|
package/dist/theme.css
CHANGED
|
@@ -187,9 +187,19 @@
|
|
|
187
187
|
--color-on-dark: #ffffff;
|
|
188
188
|
--color-on-light: #3e481d;
|
|
189
189
|
--color-on-accent: light-dark(#ffffff, #3e481d);
|
|
190
|
-
--color-on-success:
|
|
191
|
-
--color-on-error:
|
|
190
|
+
--color-on-success: #12140e;
|
|
191
|
+
--color-on-error: #12140e;
|
|
192
192
|
--color-on-warning: light-dark(#3e481d, #3e481d);
|
|
193
|
+
--color-info: light-dark(#3a5e8c, #a7c9e3);
|
|
194
|
+
--color-info-muted: var(--color-background-blue);
|
|
195
|
+
--color-text-info: light-dark(#2e4a6e, #8dbce0);
|
|
196
|
+
--color-text-success: light-dark(#3d7a00, #80d43a);
|
|
197
|
+
--color-text-warning: light-dark(#836700, #ffe08b);
|
|
198
|
+
--color-text-error: light-dark(#cc0000, #ff7a7a);
|
|
199
|
+
--color-on-info-muted: light-dark(#2e4a6e, #8dbce0);
|
|
200
|
+
--color-on-success-muted: light-dark(#3d7a00, #80d43a);
|
|
201
|
+
--color-on-warning-muted: light-dark(#836700, #ffe08b);
|
|
202
|
+
--color-on-error-muted: light-dark(#cc0000, #ff7a7a);
|
|
193
203
|
--color-icon-accent: light-dark(#3e481d, #c0cba9);
|
|
194
204
|
--color-icon-primary: light-dark(#3e481d, #c0cba9);
|
|
195
205
|
--color-icon-secondary: light-dark(#707e46, #94a468);
|
|
@@ -277,6 +287,15 @@
|
|
|
277
287
|
--shadow-inset-success: inset 0px 0px 0px 2px #4d990050;
|
|
278
288
|
--shadow-inset-warning: inset 0px 0px 0px 2px #f2c00050;
|
|
279
289
|
--shadow-inset-error: inset 0px 0px 0px 2px #fd000050;
|
|
290
|
+
--color-on-info: light-dark(#FFFFFF, #3E481D);
|
|
291
|
+
--color-icon-info: var(--color-text-info);
|
|
292
|
+
--color-icon-success: var(--color-text-success);
|
|
293
|
+
--color-icon-warning: var(--color-text-warning);
|
|
294
|
+
--color-icon-error: var(--color-text-error);
|
|
295
|
+
--color-border-info: var(--color-text-info);
|
|
296
|
+
--color-border-success: var(--color-text-success);
|
|
297
|
+
--color-border-warning: var(--color-text-warning);
|
|
298
|
+
--color-border-error: var(--color-text-error);
|
|
280
299
|
}
|
|
281
300
|
|
|
282
301
|
:scope {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-matcha",
|
|
3
|
-
"version": "0.7.5-canary.
|
|
3
|
+
"version": "0.7.5-canary.d6004fd",
|
|
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",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"lucide-react": "^1.18.0"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@astryxdesign/core": "0.7.5-canary.
|
|
60
|
+
"@astryxdesign/core": "0.7.5-canary.d6004fd",
|
|
61
61
|
"react": ">=19"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@astryxdesign/cli": "0.7.5-canary.
|
|
64
|
+
"@astryxdesign/cli": "0.7.5-canary.d6004fd"
|
|
65
65
|
},
|
|
66
66
|
"module": "./dist/source.mjs",
|
|
67
67
|
"scripts": {
|
|
@@ -20,7 +20,7 @@ export const matchaPaletteRefs = {
|
|
|
20
20
|
},
|
|
21
21
|
blue: {
|
|
22
22
|
light: {35: '#2e4a6e', 50: '#3a5e8c'},
|
|
23
|
-
dark: {50: '#3a5e8c', 70: '#7ba8d4', 75: '#8dbce0'},
|
|
23
|
+
dark: {50: '#3a5e8c', 70: '#7ba8d4', 75: '#8dbce0', 80: '#a7c9e3'},
|
|
24
24
|
},
|
|
25
25
|
purple: {
|
|
26
26
|
light: {35: '#553a70', 50: '#6b4a8c'},
|
package/src/matchaTheme.ts
CHANGED
|
@@ -103,10 +103,23 @@ export const matchaTheme = defineTheme({
|
|
|
103
103
|
'--color-on-dark': neutral.light[100],
|
|
104
104
|
'--color-on-light': neutral.light[20],
|
|
105
105
|
'--color-on-accent': [neutral.light[100], neutral.dark[20]],
|
|
106
|
-
'--color-on-success':
|
|
107
|
-
'--color-on-error':
|
|
106
|
+
'--color-on-success': neutral.dark[5],
|
|
107
|
+
'--color-on-error': neutral.dark[5],
|
|
108
108
|
'--color-on-warning': [neutral.light[20], neutral.dark[20]],
|
|
109
109
|
|
|
110
|
+
// Info is its own blue status, independent of the accent.
|
|
111
|
+
'--color-info': [blue.light[50], blue.dark[80]],
|
|
112
|
+
'--color-info-muted': 'var(--color-background-blue)',
|
|
113
|
+
|
|
114
|
+
'--color-text-info': [blue.light[35], blue.dark[75]],
|
|
115
|
+
'--color-text-success': [green.light[35], green.dark[75]],
|
|
116
|
+
'--color-text-warning': [yellow.light[45], yellow.dark[90]],
|
|
117
|
+
'--color-text-error': [red.light[35], red.dark[75]],
|
|
118
|
+
'--color-on-info-muted': [blue.light[35], blue.dark[75]],
|
|
119
|
+
'--color-on-success-muted': [green.light[35], green.dark[75]],
|
|
120
|
+
'--color-on-warning-muted': [yellow.light[45], yellow.dark[90]],
|
|
121
|
+
'--color-on-error-muted': [red.light[35], red.dark[75]],
|
|
122
|
+
|
|
110
123
|
// Icon
|
|
111
124
|
'--color-icon-accent': [neutral.light[20], neutral.dark[75]],
|
|
112
125
|
'--color-icon-primary': [neutral.light[20], neutral.dark[75]],
|