@sofya-ds/tokens 1.10.0 → 1.11.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.
Files changed (2) hide show
  1. package/README.md +34 -34
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,34 +1,34 @@
1
- # @sofya-ds/tokens
2
-
3
- Official theme tokens and presets for Sofya.
4
-
5
- ## Install
6
-
7
- ```bash
8
- pnpm add @sofya-ds/tokens
9
- ```
10
-
11
- ## Usage
12
-
13
- ```ts
14
- import {
15
- gradientToCss,
16
- sofyaColorPalette,
17
- sofyaSemanticColorHex,
18
- themePresets
19
- } from "@sofya-ds/tokens";
20
-
21
- const primary = sofyaSemanticColorHex.primary;
22
- const gradient = gradientToCss(sofyaColorPalette.gradients.primary);
23
- const preset = themePresets.sofya;
24
- ```
25
-
26
- ## Includes
27
-
28
- - Official palette groups
29
- - Semantic color map
30
- - Semantic typography roles for product screens, sidebars, legal/prose content and encounter views
31
- - Semantic surface roles for app chrome, dialogs, document cards, panels and focused states
32
- - Shared spacing, rhythm, measure, control and layout scales
33
- - Theme presets
34
- - Gradient helpers
1
+ # @sofya-ds/tokens
2
+
3
+ Official theme tokens and presets for Sofya.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pnpm add @sofya-ds/tokens
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ts
14
+ import {
15
+ gradientToCss,
16
+ sofyaColorPalette,
17
+ sofyaSemanticColorHex,
18
+ themePresets
19
+ } from "@sofya-ds/tokens";
20
+
21
+ const primary = sofyaSemanticColorHex.primary;
22
+ const gradient = gradientToCss(sofyaColorPalette.gradients.primary);
23
+ const preset = themePresets.sofya;
24
+ ```
25
+
26
+ ## Includes
27
+
28
+ - Official palette groups
29
+ - Semantic color map
30
+ - Semantic typography roles for product screens, sidebars, legal/prose content and encounter views
31
+ - Semantic surface roles for app chrome, dialogs, document cards, panels and focused states
32
+ - Shared spacing, rhythm, measure, control and layout scales
33
+ - Theme presets
34
+ - Gradient helpers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofya-ds/tokens",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "description": "Official Sofya design tokens, theme presets and semantic color helpers.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",