@kiva/kv-tokens 3.0.0 → 3.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 +27 -0
- package/README.md +4 -2
- package/configs/kivaTypography.js +2 -1
- package/index.js +4 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.2.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.1.0...@kiva/kv-tokens@3.2.0) (2025-04-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* lineHeight for large screens ([4d12094](https://github.com/kiva/kv-ui-elements/commit/4d12094ae75f496fd7dbec6bcb40bcd687d6c9e5))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* changing lineHeight to tight in h2 text ([b5ffeda](https://github.com/kiva/kv-ui-elements/commit/b5ffedac46e0495db649cb27627639f929f38590))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.1.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@3.0.0...@kiva/kv-tokens@3.1.0) (2025-01-21)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **kv-tokens:** export configs from main ([f405e6d](https://github.com/kiva/kv-ui-elements/commit/f405e6def81d504d7558068f8aba52b1388b073b))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.0.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.16.1...@kiva/kv-tokens@3.0.0) (2025-01-17)
|
|
7
34
|
|
|
8
35
|
|
package/README.md
CHANGED
|
@@ -21,8 +21,10 @@ const primaryTextColor = designTokens.colors.theme.DEFAULT.text.primary;
|
|
|
21
21
|
|
|
22
22
|
```js
|
|
23
23
|
// tailwind.config.js
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
import { tailwindConfig } from "@kiva/kv-tokens";
|
|
25
|
+
|
|
26
|
+
export default {
|
|
27
|
+
presets: [tailwindConfig],
|
|
26
28
|
// Project-specific customizations
|
|
27
29
|
theme: {
|
|
28
30
|
//...
|
|
@@ -100,7 +100,7 @@ export const textStyles = (() => {
|
|
|
100
100
|
fontSize: rem(fontSizes.h2.sm),
|
|
101
101
|
fontWeight: fontWeights.medium,
|
|
102
102
|
letterSpacing: em(letterSpacings.normal, fontSizes.h2.sm),
|
|
103
|
-
lineHeight: lineHeights.
|
|
103
|
+
lineHeight: lineHeights.tight,
|
|
104
104
|
'@screen md': {
|
|
105
105
|
fontSize: rem(fontSizes.h2.md),
|
|
106
106
|
letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.md),
|
|
@@ -108,6 +108,7 @@ export const textStyles = (() => {
|
|
|
108
108
|
'@screen lg': {
|
|
109
109
|
fontSize: rem(fontSizes.h2.lg),
|
|
110
110
|
letterSpacing: em(letterSpacings['-0.3'], fontSizes.h2.lg),
|
|
111
|
+
lineHeight: lineHeights['nearly-none'],
|
|
111
112
|
},
|
|
112
113
|
};
|
|
113
114
|
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-tokens",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"@tailwindcss/typography": "^0.5.1",
|
|
16
16
|
"tailwindcss": "^3.4.3"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "d31b947928eca67e11d7048f84c6a5516677cf99"
|
|
19
19
|
}
|