@tamagui/themes 1.15.39 → 1.15.40

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.
@@ -173,8 +173,8 @@ const [lightColorThemes, darkColorThemes] = [import_tokens.colorTokens.light, im
173
173
  Object.keys(colorSet).map((color) => {
174
174
  const colorPalette = Object.values(colorSet[color]);
175
175
  const [head, tail] = [
176
- colorPalette.slice(0, 6),
177
- colorPalette.slice(colorPalette.length - 5)
176
+ colorPalette.slice(0, 4),
177
+ colorPalette.slice(colorPalette.length - 7)
178
178
  ];
179
179
  const palette = [
180
180
  transparent(colorPalette[0]),
@@ -157,8 +157,8 @@ const [lightColorThemes, darkColorThemes] = [colorTokens.light, colorTokens.dark
157
157
  Object.keys(colorSet).map((color) => {
158
158
  const colorPalette = Object.values(colorSet[color]);
159
159
  const [head, tail] = [
160
- colorPalette.slice(0, 6),
161
- colorPalette.slice(colorPalette.length - 5)
160
+ colorPalette.slice(0, 4),
161
+ colorPalette.slice(colorPalette.length - 7)
162
162
  ];
163
163
  const palette = [
164
164
  transparent(colorPalette[0]),
@@ -157,8 +157,8 @@ const [lightColorThemes, darkColorThemes] = [colorTokens.light, colorTokens.dark
157
157
  Object.keys(colorSet).map((color) => {
158
158
  const colorPalette = Object.values(colorSet[color]);
159
159
  const [head, tail] = [
160
- colorPalette.slice(0, 6),
161
- colorPalette.slice(colorPalette.length - 5)
160
+ colorPalette.slice(0, 4),
161
+ colorPalette.slice(colorPalette.length - 7)
162
162
  ];
163
163
  const palette = [
164
164
  transparent(colorPalette[0]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/themes",
3
- "version": "1.15.39",
3
+ "version": "1.15.40",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -33,12 +33,12 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@tamagui/colors": "1.15.39",
37
- "@tamagui/create-theme": "1.15.39",
38
- "@tamagui/web": "1.15.39"
36
+ "@tamagui/colors": "1.15.40",
37
+ "@tamagui/create-theme": "1.15.40",
38
+ "@tamagui/web": "1.15.40"
39
39
  },
40
40
  "devDependencies": {
41
- "@tamagui/build": "1.15.39"
41
+ "@tamagui/build": "1.15.40"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
package/src/themes.tsx CHANGED
@@ -196,8 +196,8 @@ const [lightColorThemes, darkColorThemes] = [colorTokens.light, colorTokens.dark
196
196
  const colorPalette = Object.values(colorSet[color]) as string[]
197
197
  // were re-ordering these
198
198
  const [head, tail] = [
199
- colorPalette.slice(0, 6),
200
- colorPalette.slice(colorPalette.length - 5),
199
+ colorPalette.slice(0, 4),
200
+ colorPalette.slice(colorPalette.length - 7),
201
201
  ]
202
202
  // add our transparent colors first/last
203
203
  // and make sure the last (foreground) color is white/black rather than colorful