@astryxdesign/theme-matcha 0.0.0-bootstrap.0 → 0.1.0-canary.08d4cf4
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/README.md +62 -1
- package/dist/chunk-EDWXH23Y.mjs +66 -0
- package/dist/icons.d.ts +3 -0
- package/dist/icons.d.ts.map +1 -0
- package/dist/icons.js +63 -0
- package/dist/icons.mjs +6 -0
- package/dist/matcha.d.ts +11 -0
- package/dist/matcha.js +210 -0
- package/dist/matcha.variants.d.ts +20 -0
- package/dist/matchaTheme.d.ts +2 -0
- package/dist/matchaTheme.d.ts.map +1 -0
- package/dist/source.d.ts +3 -0
- package/dist/source.d.ts.map +1 -0
- package/dist/source.js +275 -0
- package/dist/source.mjs +213 -0
- package/dist/theme.css +415 -0
- package/package.json +55 -5
- package/src/icons.tsx +67 -0
- package/src/matchaTheme.ts +247 -0
- package/src/source.ts +4 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Meta Platforms, Inc.
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,3 +1,64 @@
|
|
|
1
1
|
# @astryxdesign/theme-matcha
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Earthy green theme with Figtree typography. Uses [Lucide](https://lucide.dev) icons.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @astryxdesign/theme-matcha
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Wrap your app with `XDSTheme` and pass the theme:
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import {XDSTheme} from '@astryxdesign/core/theme';
|
|
17
|
+
import {matchaTheme} from '@astryxdesign/theme-matcha/built';
|
|
18
|
+
|
|
19
|
+
function App() {
|
|
20
|
+
return <XDSTheme theme={matchaTheme}>{/* your app */}</XDSTheme>;
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Import paths
|
|
25
|
+
|
|
26
|
+
| Path | Use case |
|
|
27
|
+
| ----------------------------- | ------------------------------------------------------ |
|
|
28
|
+
| `@astryxdesign/theme-matcha` | Source build (StyleX compilation via `@astryxdesign/build`) |
|
|
29
|
+
| `@astryxdesign/theme-matcha/built` | Pre-built dist (Tailwind, plain CSS, or no build step) |
|
|
30
|
+
| `@astryxdesign/theme-matcha/theme.css` | Pre-built CSS file (import in your stylesheet) |
|
|
31
|
+
|
|
32
|
+
If you're using `@astryxdesign/build` for StyleX source compilation, import from the bare path. Otherwise, use `/built`.
|
|
33
|
+
|
|
34
|
+
### CSS import
|
|
35
|
+
|
|
36
|
+
Add the theme CSS to your stylesheet:
|
|
37
|
+
|
|
38
|
+
```css
|
|
39
|
+
@import '@astryxdesign/theme-matcha/theme.css';
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Fonts
|
|
43
|
+
|
|
44
|
+
This theme uses custom typefaces:
|
|
45
|
+
|
|
46
|
+
| Role | Font |
|
|
47
|
+
| ------- | ----------------- |
|
|
48
|
+
| Body | DM Sans |
|
|
49
|
+
| Heading | Playwrite US Trad |
|
|
50
|
+
| Code | JetBrains Mono |
|
|
51
|
+
|
|
52
|
+
**These fonts must be loaded separately.** The theme references them by name but does not bundle the font files.
|
|
53
|
+
|
|
54
|
+
Add this to your HTML `<head>`:
|
|
55
|
+
|
|
56
|
+
```html
|
|
57
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
58
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
59
|
+
<link
|
|
60
|
+
rel="stylesheet"
|
|
61
|
+
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Playwrite+US+Trad:wght@100..400&display=swap" />
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Without this, the theme falls back to system fonts.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// src/icons.tsx
|
|
2
|
+
import {
|
|
3
|
+
X,
|
|
4
|
+
ChevronDown,
|
|
5
|
+
ChevronLeft,
|
|
6
|
+
ChevronRight,
|
|
7
|
+
Check,
|
|
8
|
+
CheckCircle,
|
|
9
|
+
XCircle,
|
|
10
|
+
AlertTriangle,
|
|
11
|
+
Info,
|
|
12
|
+
Calendar,
|
|
13
|
+
Clock,
|
|
14
|
+
ExternalLink,
|
|
15
|
+
Menu,
|
|
16
|
+
MoreHorizontal,
|
|
17
|
+
Search,
|
|
18
|
+
ArrowUp,
|
|
19
|
+
ArrowDown,
|
|
20
|
+
ArrowUpDown,
|
|
21
|
+
Filter,
|
|
22
|
+
EyeOff,
|
|
23
|
+
Columns,
|
|
24
|
+
Copy,
|
|
25
|
+
CheckCheck,
|
|
26
|
+
Wrench,
|
|
27
|
+
Square,
|
|
28
|
+
Mic
|
|
29
|
+
} from "lucide-react";
|
|
30
|
+
import { jsx } from "react/jsx-runtime";
|
|
31
|
+
var iconProps = {
|
|
32
|
+
size: "1em",
|
|
33
|
+
"aria-hidden": true
|
|
34
|
+
};
|
|
35
|
+
var matchaIconRegistry = {
|
|
36
|
+
close: /* @__PURE__ */ jsx(X, { ...iconProps }),
|
|
37
|
+
chevronDown: /* @__PURE__ */ jsx(ChevronDown, { ...iconProps }),
|
|
38
|
+
chevronLeft: /* @__PURE__ */ jsx(ChevronLeft, { ...iconProps }),
|
|
39
|
+
chevronRight: /* @__PURE__ */ jsx(ChevronRight, { ...iconProps }),
|
|
40
|
+
check: /* @__PURE__ */ jsx(Check, { ...iconProps }),
|
|
41
|
+
success: /* @__PURE__ */ jsx(CheckCircle, { ...iconProps }),
|
|
42
|
+
error: /* @__PURE__ */ jsx(XCircle, { ...iconProps }),
|
|
43
|
+
warning: /* @__PURE__ */ jsx(AlertTriangle, { ...iconProps }),
|
|
44
|
+
info: /* @__PURE__ */ jsx(Info, { ...iconProps }),
|
|
45
|
+
calendar: /* @__PURE__ */ jsx(Calendar, { ...iconProps }),
|
|
46
|
+
clock: /* @__PURE__ */ jsx(Clock, { ...iconProps }),
|
|
47
|
+
externalLink: /* @__PURE__ */ jsx(ExternalLink, { ...iconProps }),
|
|
48
|
+
menu: /* @__PURE__ */ jsx(Menu, { ...iconProps }),
|
|
49
|
+
moreHorizontal: /* @__PURE__ */ jsx(MoreHorizontal, { ...iconProps }),
|
|
50
|
+
search: /* @__PURE__ */ jsx(Search, { ...iconProps }),
|
|
51
|
+
arrowUp: /* @__PURE__ */ jsx(ArrowUp, { ...iconProps }),
|
|
52
|
+
arrowDown: /* @__PURE__ */ jsx(ArrowDown, { ...iconProps }),
|
|
53
|
+
arrowsUpDown: /* @__PURE__ */ jsx(ArrowUpDown, { ...iconProps }),
|
|
54
|
+
funnel: /* @__PURE__ */ jsx(Filter, { ...iconProps }),
|
|
55
|
+
eyeSlash: /* @__PURE__ */ jsx(EyeOff, { ...iconProps }),
|
|
56
|
+
viewColumns: /* @__PURE__ */ jsx(Columns, { ...iconProps }),
|
|
57
|
+
copy: /* @__PURE__ */ jsx(Copy, { ...iconProps }),
|
|
58
|
+
checkDouble: /* @__PURE__ */ jsx(CheckCheck, { ...iconProps }),
|
|
59
|
+
wrench: /* @__PURE__ */ jsx(Wrench, { ...iconProps }),
|
|
60
|
+
stop: /* @__PURE__ */ jsx(Square, { ...iconProps }),
|
|
61
|
+
microphone: /* @__PURE__ */ jsx(Mic, { ...iconProps })
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export {
|
|
65
|
+
matchaIconRegistry
|
|
66
|
+
};
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAC;AAoC1D,eAAO,MAAM,kBAAkB,EAAE,YA2BhC,CAAC"}
|
package/dist/icons.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/icons.tsx
|
|
21
|
+
var icons_exports = {};
|
|
22
|
+
__export(icons_exports, {
|
|
23
|
+
matchaIconRegistry: () => matchaIconRegistry
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(icons_exports);
|
|
26
|
+
var import_lucide_react = require("lucide-react");
|
|
27
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
+
var iconProps = {
|
|
29
|
+
size: "1em",
|
|
30
|
+
"aria-hidden": true
|
|
31
|
+
};
|
|
32
|
+
var matchaIconRegistry = {
|
|
33
|
+
close: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.X, { ...iconProps }),
|
|
34
|
+
chevronDown: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDown, { ...iconProps }),
|
|
35
|
+
chevronLeft: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronLeft, { ...iconProps }),
|
|
36
|
+
chevronRight: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronRight, { ...iconProps }),
|
|
37
|
+
check: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Check, { ...iconProps }),
|
|
38
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.CheckCircle, { ...iconProps }),
|
|
39
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.XCircle, { ...iconProps }),
|
|
40
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.AlertTriangle, { ...iconProps }),
|
|
41
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Info, { ...iconProps }),
|
|
42
|
+
calendar: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Calendar, { ...iconProps }),
|
|
43
|
+
clock: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Clock, { ...iconProps }),
|
|
44
|
+
externalLink: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ExternalLink, { ...iconProps }),
|
|
45
|
+
menu: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Menu, { ...iconProps }),
|
|
46
|
+
moreHorizontal: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.MoreHorizontal, { ...iconProps }),
|
|
47
|
+
search: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Search, { ...iconProps }),
|
|
48
|
+
arrowUp: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ArrowUp, { ...iconProps }),
|
|
49
|
+
arrowDown: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ArrowDown, { ...iconProps }),
|
|
50
|
+
arrowsUpDown: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ArrowUpDown, { ...iconProps }),
|
|
51
|
+
funnel: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Filter, { ...iconProps }),
|
|
52
|
+
eyeSlash: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.EyeOff, { ...iconProps }),
|
|
53
|
+
viewColumns: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Columns, { ...iconProps }),
|
|
54
|
+
copy: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Copy, { ...iconProps }),
|
|
55
|
+
checkDouble: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.CheckCheck, { ...iconProps }),
|
|
56
|
+
wrench: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Wrench, { ...iconProps }),
|
|
57
|
+
stop: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Square, { ...iconProps }),
|
|
58
|
+
microphone: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Mic, { ...iconProps })
|
|
59
|
+
};
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
matchaIconRegistry
|
|
63
|
+
});
|
package/dist/icons.mjs
ADDED
package/dist/matcha.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
* Generated: 2026-06-25T23:57:35.849Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import type { DefinedTheme } from '@astryxdesign/core/theme';
|
|
9
|
+
import type { IconRegistry } from '@astryxdesign/core/Icon';
|
|
10
|
+
export declare const matchaIconRegistry: IconRegistry;
|
|
11
|
+
export declare const matchaTheme: DefinedTheme;
|
package/dist/matcha.js
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
* Generated: 2026-06-25T23:57:35.848Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { matchaIconRegistry } from './icons';
|
|
9
|
+
/**
|
|
10
|
+
* matcha theme — built by `pnpm exec astryx theme build`
|
|
11
|
+
* Import the CSS file alongside this module:
|
|
12
|
+
*
|
|
13
|
+
* import { matchaTheme } from './matcha';
|
|
14
|
+
* import './matcha.css';
|
|
15
|
+
*/
|
|
16
|
+
export const matchaTheme = {
|
|
17
|
+
name: 'matcha',
|
|
18
|
+
__built: true,
|
|
19
|
+
tokens: {
|
|
20
|
+
"--font-size-4xs": "0.3125rem",
|
|
21
|
+
"--font-size-3xs": "0.4375rem",
|
|
22
|
+
"--font-size-2xs": "0.5rem",
|
|
23
|
+
"--font-size-xs": "0.625rem",
|
|
24
|
+
"--font-size-sm": "0.8125rem",
|
|
25
|
+
"--font-size-base": "1rem",
|
|
26
|
+
"--font-size-lg": "1.25rem",
|
|
27
|
+
"--font-size-xl": "1.5625rem",
|
|
28
|
+
"--font-size-2xl": "1.9375rem",
|
|
29
|
+
"--font-size-3xl": "2.4375rem",
|
|
30
|
+
"--font-size-4xl": "3.0625rem",
|
|
31
|
+
"--font-size-5xl": "3.8125rem",
|
|
32
|
+
"--text-heading-1-size": "var(--font-size-2xl)",
|
|
33
|
+
"--text-heading-1-weight": "var(--font-weight-semibold)",
|
|
34
|
+
"--text-heading-1-leading": "1.4194",
|
|
35
|
+
"--text-heading-2-size": "var(--font-size-xl)",
|
|
36
|
+
"--text-heading-2-weight": "var(--font-weight-semibold)",
|
|
37
|
+
"--text-heading-2-leading": "1.44",
|
|
38
|
+
"--text-heading-3-size": "var(--font-size-lg)",
|
|
39
|
+
"--text-heading-3-weight": "var(--font-weight-semibold)",
|
|
40
|
+
"--text-heading-3-leading": "1.4",
|
|
41
|
+
"--text-heading-4-size": "var(--font-size-base)",
|
|
42
|
+
"--text-heading-4-weight": "var(--font-weight-semibold)",
|
|
43
|
+
"--text-heading-4-leading": "1.5",
|
|
44
|
+
"--text-heading-5-size": "var(--font-size-sm)",
|
|
45
|
+
"--text-heading-5-weight": "var(--font-weight-semibold)",
|
|
46
|
+
"--text-heading-5-leading": "1.5385",
|
|
47
|
+
"--text-heading-6-size": "var(--font-size-xs)",
|
|
48
|
+
"--text-heading-6-weight": "var(--font-weight-semibold)",
|
|
49
|
+
"--text-heading-6-leading": "1.6",
|
|
50
|
+
"--text-body-size": "var(--font-size-base)",
|
|
51
|
+
"--text-body-weight": "var(--font-weight-normal)",
|
|
52
|
+
"--text-body-leading": "1.5",
|
|
53
|
+
"--text-large-size": "var(--font-size-lg)",
|
|
54
|
+
"--text-large-weight": "var(--font-weight-semibold)",
|
|
55
|
+
"--text-large-leading": "1.4",
|
|
56
|
+
"--text-label-size": "var(--font-size-base)",
|
|
57
|
+
"--text-label-weight": "var(--font-weight-medium)",
|
|
58
|
+
"--text-label-leading": "1.5",
|
|
59
|
+
"--text-code-size": "var(--font-size-base)",
|
|
60
|
+
"--text-code-weight": "var(--font-weight-normal)",
|
|
61
|
+
"--text-code-leading": "1.5",
|
|
62
|
+
"--text-supporting-size": "var(--font-size-sm)",
|
|
63
|
+
"--text-supporting-weight": "var(--font-weight-normal)",
|
|
64
|
+
"--text-supporting-leading": "1.5385",
|
|
65
|
+
"--text-display-1-size": "var(--font-size-5xl)",
|
|
66
|
+
"--text-display-1-weight": "var(--font-weight-normal)",
|
|
67
|
+
"--text-display-1-leading": "1.2459",
|
|
68
|
+
"--text-display-2-size": "var(--font-size-4xl)",
|
|
69
|
+
"--text-display-2-weight": "var(--font-weight-normal)",
|
|
70
|
+
"--text-display-2-leading": "1.2245",
|
|
71
|
+
"--text-display-3-size": "var(--font-size-3xl)",
|
|
72
|
+
"--text-display-3-weight": "var(--font-weight-normal)",
|
|
73
|
+
"--text-display-3-leading": "1.2308",
|
|
74
|
+
"--duration-fast-min": "95ms",
|
|
75
|
+
"--duration-fast": "125ms",
|
|
76
|
+
"--duration-fast-max": "165ms",
|
|
77
|
+
"--duration-medium-min": "225ms",
|
|
78
|
+
"--duration-medium": "300ms",
|
|
79
|
+
"--duration-medium-max": "400ms",
|
|
80
|
+
"--duration-slow-min": "525ms",
|
|
81
|
+
"--duration-slow": "700ms",
|
|
82
|
+
"--duration-slow-max": "935ms",
|
|
83
|
+
"--font-family-body": "\"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
84
|
+
"--font-family-heading": "\"Playwrite US Trad\", Georgia, \"Times New Roman\", Times, serif",
|
|
85
|
+
"--font-family-code": "\"JetBrains Mono\", \"SF Mono\", Monaco, Consolas, monospace",
|
|
86
|
+
"--color-syntax-keyword": "light-dark(#5a6b2a, #a8bf6a)",
|
|
87
|
+
"--color-syntax-string": "light-dark(#2e6b4a, #7bc49e)",
|
|
88
|
+
"--color-syntax-comment": "light-dark(#707E46, #707E46)",
|
|
89
|
+
"--color-syntax-number": "light-dark(#8c6b30, #d4b870)",
|
|
90
|
+
"--color-syntax-function": "light-dark(#3a5e8c, #7ba8d4)",
|
|
91
|
+
"--color-syntax-type": "light-dark(#6b4a8c, #b08ed4)",
|
|
92
|
+
"--color-syntax-variable": "light-dark(#3E481D, #C0CBA9)",
|
|
93
|
+
"--color-syntax-operator": "light-dark(#707E46, #94a468)",
|
|
94
|
+
"--color-syntax-constant": "light-dark(#8c6b30, #d4b870)",
|
|
95
|
+
"--color-syntax-tag": "light-dark(#8c3a3a, #d47a7a)",
|
|
96
|
+
"--color-syntax-attribute": "light-dark(#7c5e3a, #c4a882)",
|
|
97
|
+
"--color-syntax-property": "light-dark(#3a7c6b, #70c4b0)",
|
|
98
|
+
"--color-syntax-punctuation": "light-dark(#707E46, #5a6440)",
|
|
99
|
+
"--color-syntax-background": "light-dark(#F0F0E0, #1a1c14)",
|
|
100
|
+
"--color-accent": "light-dark(#3E481D, #C0CBA9)",
|
|
101
|
+
"--color-accent-muted": "light-dark(#3E481D14, #C0CBA920)",
|
|
102
|
+
"--color-neutral": "light-dark(#3E481D0F, #C0CBA91A)",
|
|
103
|
+
"--color-background-surface": "light-dark(#FFFFFF, #1a1c14)",
|
|
104
|
+
"--color-background-body": "light-dark(#F0F0E0, #12140e)",
|
|
105
|
+
"--color-overlay": "light-dark(#3E481D80, #3E481DCC)",
|
|
106
|
+
"--color-overlay-hover": "light-dark(#3E481D0D, #C0CBA90D)",
|
|
107
|
+
"--color-overlay-pressed": "light-dark(#3E481D1A, #C0CBA91A)",
|
|
108
|
+
"--color-background-muted": "light-dark(#F0F0E0, #3E481D)",
|
|
109
|
+
"--color-text-primary": "light-dark(#3E481D, #C0CBA9)",
|
|
110
|
+
"--color-text-secondary": "light-dark(#707E46, #94a468)",
|
|
111
|
+
"--color-text-disabled": "light-dark(#C0CBA9, #5a6440)",
|
|
112
|
+
"--color-text-accent": "light-dark(#3E481D, #C0CBA9)",
|
|
113
|
+
"--color-on-dark": "#FFFFFF",
|
|
114
|
+
"--color-on-light": "#3E481D",
|
|
115
|
+
"--color-on-accent": "light-dark(#FFFFFF, #3E481D)",
|
|
116
|
+
"--color-on-success": "light-dark(#FFFFFF, #3E481D)",
|
|
117
|
+
"--color-on-error": "light-dark(#FFFFFF, #3E481D)",
|
|
118
|
+
"--color-on-warning": "light-dark(#3E481D, #3E481D)",
|
|
119
|
+
"--color-icon-accent": "light-dark(#3E481D, #C0CBA9)",
|
|
120
|
+
"--color-icon-primary": "light-dark(#3E481D, #C0CBA9)",
|
|
121
|
+
"--color-icon-secondary": "light-dark(#707E46, #94a468)",
|
|
122
|
+
"--color-icon-disabled": "light-dark(#C0CBA9, #5a6440)",
|
|
123
|
+
"--color-background-card": "light-dark(#FFFFFF, #1e2016)",
|
|
124
|
+
"--color-background-popover": "light-dark(#FFFFFF, #3E481D)",
|
|
125
|
+
"--color-background-inverted": "light-dark(#3E481D, #C0CBA9)",
|
|
126
|
+
"--color-success": "light-dark(#4D9900, #6dbf2a)",
|
|
127
|
+
"--color-success-muted": "light-dark(#4D990020, #6dbf2a20)",
|
|
128
|
+
"--color-error": "light-dark(#FD0000, #ff5c5c)",
|
|
129
|
+
"--color-error-muted": "light-dark(#FD000020, #ff5c5c20)",
|
|
130
|
+
"--color-warning": "light-dark(#FFB600, #ffc940)",
|
|
131
|
+
"--color-warning-muted": "light-dark(#FFB60020, #ffc94020)",
|
|
132
|
+
"--color-border": "light-dark(#DCE3CE, #C0CBA91A)",
|
|
133
|
+
"--color-border-emphasized": "light-dark(#B7C29E, #5a6440)",
|
|
134
|
+
"--color-skeleton": "light-dark(#C0CBA9, #5a6440)",
|
|
135
|
+
"--color-shadow": "light-dark(#3E481D1A, #0000004D)",
|
|
136
|
+
"--color-tint-hover": "light-dark(black, white)",
|
|
137
|
+
"--color-background-blue": "light-dark(#3a5e8c33, #3a5e8c33)",
|
|
138
|
+
"--color-border-blue": "light-dark(#3a5e8c, #7ba8d4)",
|
|
139
|
+
"--color-icon-blue": "light-dark(#3a5e8c, #7ba8d4)",
|
|
140
|
+
"--color-text-blue": "light-dark(#2e4a6e, #8dbce0)",
|
|
141
|
+
"--color-background-cyan": "light-dark(#3a7c7c33, #3a7c7c33)",
|
|
142
|
+
"--color-border-cyan": "light-dark(#3a7c7c, #70c4c4)",
|
|
143
|
+
"--color-icon-cyan": "light-dark(#3a7c7c, #70c4c4)",
|
|
144
|
+
"--color-text-cyan": "light-dark(#2e6060, #82d4d4)",
|
|
145
|
+
"--color-background-gray": "light-dark(#707E4633, #5a644033)",
|
|
146
|
+
"--color-border-gray": "light-dark(#707E46, #707E46)",
|
|
147
|
+
"--color-icon-gray": "light-dark(#707E46, #94a468)",
|
|
148
|
+
"--color-text-gray": "light-dark(#3E481D, #C0CBA9)",
|
|
149
|
+
"--color-background-green": "light-dark(#4D990033, #6dbf2a33)",
|
|
150
|
+
"--color-border-green": "light-dark(#4D9900, #6dbf2a)",
|
|
151
|
+
"--color-icon-green": "light-dark(#4D9900, #6dbf2a)",
|
|
152
|
+
"--color-text-green": "light-dark(#3d7a00, #80d43a)",
|
|
153
|
+
"--color-background-orange": "light-dark(#c4762033, #d4903a33)",
|
|
154
|
+
"--color-border-orange": "light-dark(#c47620, #d4903a)",
|
|
155
|
+
"--color-icon-orange": "light-dark(#c47620, #d4903a)",
|
|
156
|
+
"--color-text-orange": "light-dark(#a06018, #e0a04a)",
|
|
157
|
+
"--color-background-pink": "light-dark(#c44a7033, #e07a9a33)",
|
|
158
|
+
"--color-border-pink": "light-dark(#c44a70, #e07a9a)",
|
|
159
|
+
"--color-icon-pink": "light-dark(#c44a70, #e07a9a)",
|
|
160
|
+
"--color-text-pink": "light-dark(#a03a5a, #f08aaa)",
|
|
161
|
+
"--color-background-purple": "light-dark(#6b4a8c33, #b08ed433)",
|
|
162
|
+
"--color-border-purple": "light-dark(#6b4a8c, #b08ed4)",
|
|
163
|
+
"--color-icon-purple": "light-dark(#6b4a8c, #b08ed4)",
|
|
164
|
+
"--color-text-purple": "light-dark(#553a70, #c0a0e0)",
|
|
165
|
+
"--color-background-red": "light-dark(#FD000033, #ff5c5c33)",
|
|
166
|
+
"--color-border-red": "light-dark(#FD0000, #ff5c5c)",
|
|
167
|
+
"--color-icon-red": "light-dark(#FD0000, #ff5c5c)",
|
|
168
|
+
"--color-text-red": "light-dark(#cc0000, #ff7a7a)",
|
|
169
|
+
"--color-background-teal": "light-dark(#2e6b5a33, #5ab89833)",
|
|
170
|
+
"--color-border-teal": "light-dark(#2e6b5a, #5ab898)",
|
|
171
|
+
"--color-icon-teal": "light-dark(#2e6b5a, #5ab898)",
|
|
172
|
+
"--color-text-teal": "light-dark(#245546, #6ccaaa)",
|
|
173
|
+
"--color-background-yellow": "light-dark(#FFB60033, #ffc94033)",
|
|
174
|
+
"--color-border-yellow": "light-dark(#FFB600, #ffc940)",
|
|
175
|
+
"--color-icon-yellow": "light-dark(#FFB600, #ffc940)",
|
|
176
|
+
"--color-text-yellow": "light-dark(#cc9200, #ffd960)",
|
|
177
|
+
"--spacing-0-5": "3px",
|
|
178
|
+
"--spacing-1": "6px",
|
|
179
|
+
"--spacing-1-5": "9px",
|
|
180
|
+
"--spacing-2": "12px",
|
|
181
|
+
"--spacing-3": "18px",
|
|
182
|
+
"--spacing-4": "24px",
|
|
183
|
+
"--spacing-5": "30px",
|
|
184
|
+
"--spacing-6": "36px",
|
|
185
|
+
"--spacing-7": "42px",
|
|
186
|
+
"--spacing-8": "48px",
|
|
187
|
+
"--spacing-9": "54px",
|
|
188
|
+
"--spacing-10": "60px",
|
|
189
|
+
"--spacing-11": "66px",
|
|
190
|
+
"--spacing-12": "72px",
|
|
191
|
+
"--radius-inner": "6px",
|
|
192
|
+
"--radius-element": "12px",
|
|
193
|
+
"--radius-container": "18px",
|
|
194
|
+
"--radius-page": "42px",
|
|
195
|
+
"--size-element-sm": "36px",
|
|
196
|
+
"--size-element-md": "40px",
|
|
197
|
+
"--size-element-lg": "44px",
|
|
198
|
+
"--shadow-low": "0 2px 4px #3E481D0D, 0 4px 8px #3E481D1A",
|
|
199
|
+
"--shadow-med": "0 2px 4px #3E481D0D, 0 4px 12px #3E481D1A",
|
|
200
|
+
"--shadow-high": "0 4px 6px #3E481D1A, 0 12px 24px #3E481D26",
|
|
201
|
+
"--shadow-inset-hover": "inset 0px 0px 0px 2px #3E481D30",
|
|
202
|
+
"--shadow-inset-selected": "inset 0px 0px 0px 2px #3E481D50",
|
|
203
|
+
"--shadow-inset-success": "inset 0px 0px 0px 2px #4D990050",
|
|
204
|
+
"--shadow-inset-warning": "inset 0px 0px 0px 2px #FFB60050",
|
|
205
|
+
"--shadow-inset-error": "inset 0px 0px 0px 2px #FD000050"
|
|
206
|
+
},
|
|
207
|
+
icons: matchaIconRegistry,
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
export { matchaIconRegistry };
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
* Generated: 2026-06-25T23:57:35.855Z
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
// Generated by astryx theme build
|
|
9
|
+
export {};
|
|
10
|
+
|
|
11
|
+
declare module '@astryxdesign/core/Heading' {
|
|
12
|
+
interface XDSHeadingLevelMap {
|
|
13
|
+
'1': true;
|
|
14
|
+
'2': true;
|
|
15
|
+
'3': true;
|
|
16
|
+
'4': true;
|
|
17
|
+
'5': true;
|
|
18
|
+
'6': true;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"matchaTheme.d.ts","sourceRoot":"","sources":["../src/matchaTheme.ts"],"names":[],"mappings":"AAkCA,eAAO,MAAM,WAAW,iDAoNtB,CAAC"}
|
package/dist/source.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC"}
|