@kiva/kv-tokens 2.11.1 → 2.12.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
@@ -3,6 +3,25 @@
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
+ # [2.12.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.11.2...@kiva/kv-tokens@2.12.0) (2024-07-12)
7
+
8
+
9
+ ### Features
10
+
11
+ * brown theme added to tokens ([#422](https://github.com/kiva/kv-ui-elements/issues/422)) ([c638ec4](https://github.com/kiva/kv-ui-elements/commit/c638ec4b214b61fbd686371abede2ec1100664f1))
12
+
13
+
14
+
15
+
16
+
17
+ ## [2.11.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.11.1...@kiva/kv-tokens@2.11.2) (2024-05-20)
18
+
19
+ **Note:** Version bump only for package @kiva/kv-tokens
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.11.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-tokens@2.11.0...@kiva/kv-tokens@2.11.1) (2024-04-25)
7
26
 
8
27
 
@@ -7,6 +7,7 @@ const {
7
7
  'dark-green': darkGreenThemeTokens,
8
8
  mint: mintThemeTokens,
9
9
  'dark-mint': darkMintThemeTokens,
10
+ 'dark-stone': darkStoneThemeTokens,
10
11
  } = designtokens.colors.theme;
11
12
 
12
13
  /**
@@ -36,6 +37,7 @@ const darkTheme = buildCSSVarsFromTokens(darkThemeTokens);
36
37
  const mintTheme = buildCSSVarsFromTokens(mintThemeTokens);
37
38
  const darkGreenTheme = buildCSSVarsFromTokens(darkGreenThemeTokens);
38
39
  const darkMintTheme = buildCSSVarsFromTokens(darkMintThemeTokens);
40
+ const darkStoneTheme = buildCSSVarsFromTokens(darkStoneThemeTokens);
39
41
 
40
42
  // function to allow background opacity and text opacity with tailwind colors
41
43
  // https://www.youtube.com/watch?v=MAtaT8BZEAo
@@ -87,4 +89,5 @@ module.exports = {
87
89
  darkGreenTheme,
88
90
  mintTheme,
89
91
  darkMintTheme,
92
+ darkStoneTheme,
90
93
  };
@@ -1,6 +1,5 @@
1
1
  const plugin = require('tailwindcss/plugin');
2
2
  const typographyPlugin = require('@tailwindcss/typography');
3
- const lineClampPlugin = require('@tailwindcss/line-clamp');
4
3
  const kivaTypography = require('./kivaTypography.cjs');
5
4
  const { defaultTheme, buildColorChoices } = require('./kivaColors.cjs');
6
5
  const designtokens = require('../primitives.json');
@@ -181,7 +180,6 @@ module.exports = {
181
180
  },
182
181
  plugins: [
183
182
  typographyPlugin, // prose plugin. See overrides in theme.extend.typography
184
- lineClampPlugin,
185
183
  plugin(({ addBase, addUtilities }) => {
186
184
  const { webFonts, textStyles, textBaseColor } = kivaTypography;
187
185
  addBase(webFonts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-tokens",
3
- "version": "2.11.1",
3
+ "version": "2.12.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,9 +12,8 @@
12
12
  "build": "echo No build needed for @kiva/kv-tokens."
13
13
  },
14
14
  "dependencies": {
15
- "@tailwindcss/line-clamp": "^0.4.0",
16
15
  "@tailwindcss/typography": "^0.5.1",
17
- "tailwindcss": "^3.0.18"
16
+ "tailwindcss": "^3.4.3"
18
17
  },
19
- "gitHead": "73b73507755589f1da39f60a50875e4784801ed3"
18
+ "gitHead": "fb64afce3ca314e2ce9799a7a5c1d836e490e73c"
20
19
  }
package/primitives.json CHANGED
@@ -163,6 +163,40 @@
163
163
  "background": {
164
164
  "primary": "#454545"
165
165
  }
166
+ },
167
+ "dark-stone": {
168
+ "text": {
169
+ "primary": "#F5F5F5",
170
+ "primary-inverse": "#212121",
171
+ "secondary": "#9E9E9E",
172
+ "tertiary": "#757575",
173
+ "action": "#4AB67E",
174
+ "action-highlight": "#6AC395",
175
+ "danger": "#E42A2A",
176
+ "danger-highlight": "#CE2626"
177
+ },
178
+ "background": {
179
+ "primary": "#000000",
180
+ "primary-inverse": "#F5F5F5",
181
+ "secondary": "#2E271E",
182
+ "tertiary": "#454545",
183
+ "action": "#4AB67E",
184
+ "action-highlight": "#6AC395",
185
+ "danger": "#E42A2A",
186
+ "danger-highlight": "#CE2626",
187
+ "caution": "#E6CB55",
188
+ "caution-highlight": "#D9BC3B"
189
+ },
190
+ "border": {
191
+ "primary": "#F5F5F5",
192
+ "primary-inverse": "#212121",
193
+ "secondary": "#9E9E9E",
194
+ "tertiary": "#757575",
195
+ "action": "#4AB67E",
196
+ "action-highlight": "#6AC395",
197
+ "danger": "#E42A2A",
198
+ "danger-highlight": "#CE2626"
199
+ }
166
200
  }
167
201
  }
168
202
  },