@hashintel/ds-theme 0.0.2 → 0.1.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 +16 -0
- package/README.md +2 -2
- package/dist/main.d.ts +21825 -2
- package/dist/main.js +950 -18
- package/dist/theme.d.ts +7901 -1332
- package/dist/theme.js +2 -3
- package/dist/typography.gen-Bua4caJG.js +2706 -0
- package/package.json +6 -4
- package/dist/radii.gen-aroChr7P.js +0 -1078
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @hashintel/ds-theme
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#8360](https://github.com/hashintel/hash/pull/8360) [`76aed29`](https://github.com/hashintel/hash/commit/76aed2967634fd5b15de428b053c4cdad92c1102) Thanks [@lunelson](https://github.com/lunelson)! - Revamp design token system: Radix-based color generation with semantic bg/fg/bd token structure, expanded 00–120 color scales with OKLCH interpolation, runtime-scalable spacing/radii/line-height via CSS variable factors, and extended conditions.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#8430](https://github.com/hashintel/hash/pull/8430) [`7ddaecb`](https://github.com/hashintel/hash/commit/7ddaecbc0f2b3ea1daff6ea584a3d9f418a3da53) Thanks [@lunelson](https://github.com/lunelson)! - Restructure semantic color tokens: fix text legibility, add bgSolid opaque surface scale, add .fg contrast sub-tokens to all background categories via threshold-based flip logic, and enable palette-aware focus rings.
|
|
12
|
+
|
|
13
|
+
## 0.0.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#8328](https://github.com/hashintel/hash/pull/8328) [`567b951`](https://github.com/hashintel/hash/commit/567b95178a429aa2c1c00050ca753250db0db094) Thanks [@CiaranMn](https://github.com/CiaranMn)! - Build fix
|
|
18
|
+
|
|
3
19
|
## 0.0.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,6 +4,6 @@ A Panda CSS preset for HASH's design system, providing a consistent and reusable
|
|
|
4
4
|
|
|
5
5
|
This is used by `@hashintel/ds-components` and apps that use this design system.
|
|
6
6
|
|
|
7
|
-
## About
|
|
7
|
+
## About Token Sources
|
|
8
8
|
|
|
9
|
-
`src/main.ts` contains the PandaCSS preset definition. This depends on values in `src/theme`,
|
|
9
|
+
`src/main.ts` contains the PandaCSS preset definition. This depends on values in `src/theme`, which are generated by token scripts. Primary color palettes are generated from Radix colors (`scripts/generate-colors-radix.ts`). The legacy Figma export (`scripts/figma-variables.json` via the [Luckino](https://www.figma.com/community/plugin/1495722115809572711) plugin) is still used for non-color tokens and will be retired after the next token refresh.
|