@astryxdesign/theme-stone 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 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-stone
2
2
 
3
- This is a `0.0.0-bootstrap.0` placeholder published only to claim the npm name while configuring npm trusted publishing. Do not install it; it will be superseded by the first real release.
3
+ Warm stone and slate theme with earthy neutral tones. Uses Montserrat for headings, Figtree for body text, and [Lucide](https://lucide.dev) icons.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @astryxdesign/theme-stone
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 {stoneTheme} from '@astryxdesign/theme-stone/built';
18
+
19
+ function App() {
20
+ return <XDSTheme theme={stoneTheme}>{/* your app */}</XDSTheme>;
21
+ }
22
+ ```
23
+
24
+ ### Import paths
25
+
26
+ | Path | Use case |
27
+ | ---------------------------- | ------------------------------------------------------ |
28
+ | `@astryxdesign/theme-stone` | Source build (StyleX compilation via `@astryxdesign/build`) |
29
+ | `@astryxdesign/theme-stone/built` | Pre-built dist (Tailwind, plain CSS, or no build step) |
30
+ | `@astryxdesign/theme-stone/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-stone/theme.css';
40
+ ```
41
+
42
+ ## Fonts
43
+
44
+ This theme uses custom typefaces:
45
+
46
+ | Role | Font |
47
+ | ------- | -------------- |
48
+ | Body | Figtree |
49
+ | Heading | Montserrat |
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=Figtree:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&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 stoneIconRegistry = {
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
+ stoneIconRegistry
66
+ };
@@ -0,0 +1,3 @@
1
+ import type { IconRegistry } from '@astryxdesign/core/Icon';
2
+ export declare const stoneIconRegistry: IconRegistry;
3
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAC;AAoC1D,eAAO,MAAM,iBAAiB,EAAE,YA2B/B,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
+ stoneIconRegistry: () => stoneIconRegistry
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 stoneIconRegistry = {
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
+ stoneIconRegistry
63
+ });
package/dist/icons.mjs ADDED
@@ -0,0 +1,6 @@
1
+ import {
2
+ stoneIconRegistry
3
+ } from "./chunk-UIELT3KV.mjs";
4
+ export {
5
+ stoneIconRegistry
6
+ };
@@ -0,0 +1,3 @@
1
+ export { stoneTheme, stonePalettes } from './stoneTheme';
2
+ export { stoneIconRegistry } from './icons';
3
+ //# sourceMappingURL=source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,UAAU,EAAE,aAAa,EAAC,MAAM,cAAc,CAAC;AACvD,OAAO,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAC"}