@atls-ui/theme 0.1.0 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
 
2
2
 
3
+ # [0.2.0](https://github.com/atls/hyperion/compare/@atls-ui/theme@0.1.0...@atls-ui/theme@0.2.0) (2026-08-13)
4
+
5
+
6
+ ### Features
7
+
8
+
9
+ * **theme:** add web spacing tokens ([fd701d5](https://github.com/atls/hyperion/commit/fd701d5911593d53d628cfa9b8a7d978af089256))
10
+
11
+
12
+
13
+
14
+
3
15
  # [0.1.0](https://github.com/atls/hyperion/compare/@atls-ui/theme@0.0.3...@atls-ui/theme@0.1.0) (2026-08-13)
4
16
 
5
17
 
@@ -1,5 +1,6 @@
1
1
  export * from './animations.js';
2
2
  export * from './colors/index.js';
3
+ export * from './layout/spaces.js';
3
4
  export * from './opacities.js';
4
5
  export * from './radii.js';
5
6
  export * from './space.js';
@@ -1,5 +1,6 @@
1
1
  export * from "./animations.js";
2
2
  export * from "./colors/index.js";
3
+ export * from "./layout/spaces.js";
3
4
  export * from "./opacities.js";
4
5
  export * from "./radii.js";
5
6
  export * from "./space.js";
@@ -0,0 +1,23 @@
1
+ export declare const spacing: {
2
+ readonly component: {
3
+ readonly none: "0";
4
+ readonly xs2: "2px";
5
+ readonly xs: "4px";
6
+ readonly sm: "6px";
7
+ readonly md: "8px";
8
+ readonly lg: "12px";
9
+ readonly xl: "16px";
10
+ readonly xl2: "20px";
11
+ readonly xl3: "24px";
12
+ readonly xl4: "32px";
13
+ };
14
+ readonly layout: {
15
+ readonly xs2: "40px";
16
+ readonly xs: "48px";
17
+ readonly sm: "64px";
18
+ readonly md: "80px";
19
+ readonly lg: "96px";
20
+ readonly xl: "128px";
21
+ };
22
+ };
23
+ export type SpacingTokens = typeof spacing;
@@ -0,0 +1,22 @@
1
+ export const spacing = {
2
+ component: {
3
+ none: '0',
4
+ xs2: '2px',
5
+ xs: '4px',
6
+ sm: '6px',
7
+ md: '8px',
8
+ lg: '12px',
9
+ xl: '16px',
10
+ xl2: '20px',
11
+ xl3: '24px',
12
+ xl4: '32px',
13
+ },
14
+ layout: {
15
+ xs2: '40px',
16
+ xs: '48px',
17
+ sm: '64px',
18
+ md: '80px',
19
+ lg: '96px',
20
+ xl: '128px',
21
+ },
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atls-ui/theme",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "license": "BSD-3-Clause",
5
5
  "type": "module",
6
6
  "exports": {