@kiva/kv-tokens 1.2.1 → 1.3.3

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
@@ -3,6 +3,47 @@
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
+ ## [1.3.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@1.3.2...@kiva/kv-tokens@1.3.3) (2022-02-03)
7
+
8
+ **Note:** Version bump only for package @kiva/kv-tokens
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.3.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@1.3.1...@kiva/kv-tokens@1.3.2) (2022-02-03)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * fix empty content error ([ae08e8a](https://github.com/kiva/kv-ui-elements/commit/ae08e8a8edf27917a0a0d398b27b303f027cb887))
20
+
21
+
22
+
23
+
24
+
25
+ ## [1.3.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@1.3.0...@kiva/kv-tokens@1.3.1) (2022-01-11)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * allow buttons to inherit font weights ([593b28f](https://github.com/kiva/kv-ui-elements/commit/593b28f5f2b23ad38b893b64ac866e8287f12479))
31
+
32
+
33
+
34
+
35
+
36
+ # [1.3.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@1.2.1...@kiva/kv-tokens@1.3.0) (2021-12-23)
37
+
38
+
39
+ ### Features
40
+
41
+ * match previous font smoothing settings ([e6c3edf](https://github.com/kiva/kv-ui-elements/commit/e6c3edf8f696ccd496607ab40b6874a3e63429ea))
42
+
43
+
44
+
45
+
46
+
6
47
  ## [1.2.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@1.2.0...@kiva/kv-tokens@1.2.1) (2021-11-24)
7
48
 
8
49
  **Note:** Version bump only for package @kiva/kv-tokens
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The package contains
4
4
 
5
5
  - A JSON file specifying the design definitions of Kiva's style guide.
6
- - A custom Tailwind configuration set to Kiva's style guide that can be used as a preset for your Tailwind project.
6
+ - A custom Tailwind configuration set to Kiva's style guide that can be used as a preset for your Tailwind v3 project.
7
7
 
8
8
  ## Install
9
9
 
@@ -27,7 +27,7 @@ module.exports = {
27
27
  theme: {
28
28
  //...
29
29
  },
30
- purge: [
30
+ content: [
31
31
  //...
32
32
  ],
33
33
  // ...
@@ -18,8 +18,7 @@ const {
18
18
  } = designtokens;
19
19
 
20
20
  module.exports = {
21
- purge: [],
22
- darkMode: false, // or 'media' or 'class'
21
+ content: ['./**.*.js'],
23
22
  prefix: 'tw-', // prefixes all tailwinds classes with tw. e.g., 'tw-flex tw-mb-2'
24
23
  corePlugins: {
25
24
  boxShadow: false,
@@ -170,8 +169,11 @@ module.exports = {
170
169
  body: {
171
170
  ...textStyles.textBase,
172
171
  color: textBaseColor,
172
+ '-webkit-font-smoothing': 'antialiased',
173
+ '-moz-osx-font-smoothing': 'grayscale',
174
+ 'text-rendering': 'optimizeLegibility',
173
175
  },
174
- button: { fontWeight: fontWeights.book },
176
+ button: { fontWeight: 'inherit' },
175
177
  h1: textStyles.textH1,
176
178
  h2: textStyles.textH2,
177
179
  h3: textStyles.textH3,
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@kiva/kv-tokens",
3
- "version": "1.2.1",
3
+ "version": "1.3.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
7
  "main": "index.js",
8
8
  "dependencies": {
9
- "@tailwindcss/typography": "^0.4.0",
10
- "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.1.0"
9
+ "@tailwindcss/typography": "^0.5.1",
10
+ "tailwindcss": "^3.0.18"
11
11
  },
12
- "gitHead": "766ee90e4bae55b37a638e9dd30c01aac140f6b0"
12
+ "gitHead": "21cdf3869c0ef1513cb957e21732aeecd912c355"
13
13
  }