@astryxdesign/theme-matcha 0.5.4-canary.5b3ebfc → 0.5.4-canary.60fc2f2

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.d.ts CHANGED
@@ -6,7 +6,6 @@
6
6
  * Core: @astryxdesign/core@0.5.4
7
7
  */
8
8
 
9
- /// <reference path="./matcha.variants.d.ts" />
10
9
  import type { DefinedTheme } from '@astryxdesign/core/theme';
11
10
  import type { IconRegistry } from '@astryxdesign/core/Icon';
12
11
  export declare const matchaIconRegistry: IconRegistry;
package/dist/matcha.js CHANGED
@@ -334,6 +334,42 @@ export const matchaTheme = {
334
334
  "--color-accent": "var(--color-on-light)"
335
335
  }
336
336
  },
337
+ __adaptations: {
338
+ "widthBreakpoints": {
339
+ "sm": 640,
340
+ "md": 768,
341
+ "lg": 1024,
342
+ "xl": 1280,
343
+ "2xl": 1536
344
+ },
345
+ "rules": []
346
+ },
347
+ __axes: {
348
+ "typography": {
349
+ "scale": {
350
+ "base": 16,
351
+ "ratio": 1.25
352
+ },
353
+ "body": {
354
+ "family": "DM Sans",
355
+ "fallbacks": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif"
356
+ },
357
+ "heading": {
358
+ "family": "Playwrite US Trad",
359
+ "fallbacks": "Georgia, \"Times New Roman\", Times, serif"
360
+ },
361
+ "code": {
362
+ "family": "JetBrains Mono",
363
+ "fallbacks": "\"SF Mono\", Monaco, Consolas, monospace"
364
+ }
365
+ },
366
+ "motion": {
367
+ "fast": 125,
368
+ "medium": 300,
369
+ "slow": 700,
370
+ "ratio": 0.75
371
+ }
372
+ },
337
373
  icons: matchaIconRegistry,
338
374
  };
339
375
 
@@ -1,2 +1,2 @@
1
- export declare const matchaTheme: import("@astryxdesign/core/theme").DefinedTheme;
1
+ export declare const matchaTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme;
2
2
  //# sourceMappingURL=matchaTheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,WAAW,iDAoNtB,CAAC"}
1
+ {"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,WAAW,yDAoNtB,CAAC"}
package/dist/theme.css CHANGED
@@ -14,60 +14,60 @@
14
14
  }
15
15
 
16
16
  :where(h1) {
17
- font-size: var(--font-size-2xl);
18
- font-weight: var(--font-weight-semibold);
19
- line-height: 1.4194;
17
+ font-size: var(--text-heading-1-size);
18
+ font-weight: var(--text-heading-1-weight);
19
+ line-height: var(--text-heading-1-leading);
20
20
  }
21
21
 
22
22
  :where(h2) {
23
- font-size: var(--font-size-xl);
24
- font-weight: var(--font-weight-semibold);
25
- line-height: 1.44;
23
+ font-size: var(--text-heading-2-size);
24
+ font-weight: var(--text-heading-2-weight);
25
+ line-height: var(--text-heading-2-leading);
26
26
  }
27
27
 
28
28
  :where(h3) {
29
- font-size: var(--font-size-lg);
30
- font-weight: var(--font-weight-semibold);
31
- line-height: 1.4;
29
+ font-size: var(--text-heading-3-size);
30
+ font-weight: var(--text-heading-3-weight);
31
+ line-height: var(--text-heading-3-leading);
32
32
  }
33
33
 
34
34
  :where(h4) {
35
- font-size: var(--font-size-base);
36
- font-weight: var(--font-weight-semibold);
37
- line-height: 1.5;
35
+ font-size: var(--text-heading-4-size);
36
+ font-weight: var(--text-heading-4-weight);
37
+ line-height: var(--text-heading-4-leading);
38
38
  }
39
39
 
40
40
  :where(h5) {
41
- font-size: var(--font-size-sm);
42
- font-weight: var(--font-weight-semibold);
43
- line-height: 1.5385;
41
+ font-size: var(--text-heading-5-size);
42
+ font-weight: var(--text-heading-5-weight);
43
+ line-height: var(--text-heading-5-leading);
44
44
  }
45
45
 
46
46
  :where(h6) {
47
- font-size: var(--font-size-xs);
48
- font-weight: var(--font-weight-semibold);
49
- line-height: 1.6;
47
+ font-size: var(--text-heading-6-size);
48
+ font-weight: var(--text-heading-6-weight);
49
+ line-height: var(--text-heading-6-leading);
50
50
  }
51
51
 
52
52
  :where(p) {
53
53
  font-family: var(--font-family-body);
54
- font-size: var(--font-size-base);
55
- font-weight: var(--font-weight-normal);
56
- line-height: 1.5;
54
+ font-size: var(--text-body-size);
55
+ font-weight: var(--text-body-weight);
56
+ line-height: var(--text-body-leading);
57
57
  color: var(--color-text-primary);
58
58
  }
59
59
 
60
60
  :where(small) {
61
- font-size: var(--font-size-sm);
62
- font-weight: var(--font-weight-normal);
63
- line-height: 1.5385;
61
+ font-size: var(--text-supporting-size);
62
+ font-weight: var(--text-supporting-weight);
63
+ line-height: var(--text-supporting-leading);
64
64
  color: var(--color-text-secondary);
65
65
  }
66
66
 
67
67
  :where(code, pre) {
68
68
  font-family: var(--font-family-code);
69
- font-size: var(--font-size-base);
70
- line-height: 1.5;
69
+ font-size: var(--text-code-size);
70
+ line-height: var(--text-code-leading);
71
71
  }
72
72
 
73
73
  :where(hr) {
@@ -497,6 +497,14 @@
497
497
  .astryx-text.size-3xl { font-size: var(--font-size-3xl); }
498
498
 
499
499
  .astryx-text.size-4xl { font-size: var(--font-size-4xl); }
500
+
501
+ .astryx-heading.normal { font-weight: var(--font-weight-normal); }
502
+
503
+ .astryx-heading.medium { font-weight: var(--font-weight-medium); }
504
+
505
+ .astryx-heading.semibold { font-weight: var(--font-weight-semibold); }
506
+
507
+ .astryx-heading.bold { font-weight: var(--font-weight-bold); }
500
508
  }
501
509
  }
502
510
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-matcha",
3
- "version": "0.5.4-canary.5b3ebfc",
3
+ "version": "0.5.4-canary.60fc2f2",
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",
@@ -48,11 +48,11 @@
48
48
  "lucide-react": "^1.18.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@astryxdesign/core": "0.5.4-canary.5b3ebfc",
51
+ "@astryxdesign/core": "0.5.4-canary.60fc2f2",
52
52
  "react": ">=19"
53
53
  },
54
54
  "devDependencies": {
55
- "@astryxdesign/cli": "0.5.4-canary.5b3ebfc"
55
+ "@astryxdesign/cli": "0.5.4-canary.60fc2f2"
56
56
  },
57
57
  "module": "./dist/source.mjs",
58
58
  "scripts": {
@@ -1,18 +0,0 @@
1
- /**
2
- * @generated by `astryx theme build` — do not edit manually.
3
- * Source: src/matchaTheme.ts
4
- * Command: astryx theme build src/matchaTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.5.4
6
- * Core: @astryxdesign/core@0.5.4
7
- */
8
-
9
- // Generated by astryx theme build
10
- export {};
11
-
12
- declare module '@astryxdesign/core/Heading' {
13
- interface HeadingTypeMap {
14
- 'display-1': true;
15
- 'display-2': true;
16
- 'display-3': true;
17
- }
18
- }