@tamagui/themes 1.15.39 → 1.16.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/dist/cjs/themes.js +2 -2
- package/dist/esm/themes.js +2 -2
- package/dist/esm/themes.mjs +2 -2
- package/package.json +5 -5
- package/src/themes.tsx +2 -2
package/dist/cjs/themes.js
CHANGED
|
@@ -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,
|
|
177
|
-
colorPalette.slice(colorPalette.length -
|
|
176
|
+
colorPalette.slice(0, 4),
|
|
177
|
+
colorPalette.slice(colorPalette.length - 7)
|
|
178
178
|
];
|
|
179
179
|
const palette = [
|
|
180
180
|
transparent(colorPalette[0]),
|
package/dist/esm/themes.js
CHANGED
|
@@ -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,
|
|
161
|
-
colorPalette.slice(colorPalette.length -
|
|
160
|
+
colorPalette.slice(0, 4),
|
|
161
|
+
colorPalette.slice(colorPalette.length - 7)
|
|
162
162
|
];
|
|
163
163
|
const palette = [
|
|
164
164
|
transparent(colorPalette[0]),
|
package/dist/esm/themes.mjs
CHANGED
|
@@ -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,
|
|
161
|
-
colorPalette.slice(colorPalette.length -
|
|
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.
|
|
3
|
+
"version": "1.16.0",
|
|
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.
|
|
37
|
-
"@tamagui/create-theme": "1.
|
|
38
|
-
"@tamagui/web": "1.
|
|
36
|
+
"@tamagui/colors": "1.16.0",
|
|
37
|
+
"@tamagui/create-theme": "1.16.0",
|
|
38
|
+
"@tamagui/web": "1.16.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "1.
|
|
41
|
+
"@tamagui/build": "1.16.0"
|
|
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,
|
|
200
|
-
colorPalette.slice(colorPalette.length -
|
|
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
|