@tamagui/theme-base 1.0.1-beta.21 → 1.0.1-beta.211

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.
@@ -1,42 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import { getVariableValue } from "@tamagui/core";
4
- const hexToRGBA = /* @__PURE__ */ __name((hex, alpha = 1) => {
5
- var _a;
6
- if (!isValidHex(hex)) {
7
- throw new Error("Invalid HEX");
8
- }
9
- const chunkSize = Math.floor((hex.length - 1) / 3);
10
- const hexArr = getChunksFromString(hex.slice(1), chunkSize);
11
- const [r, g, b, a] = (_a = hexArr == null ? void 0 : hexArr.map(convertHexUnitTo256)) != null ? _a : [];
12
- return `rgba(${r}, ${g}, ${b}, ${getAlphaFloat(a, alpha)})`;
13
- }, "hexToRGBA");
14
- const setColorAlpha = /* @__PURE__ */ __name((colorIn, alpha = 1) => {
15
- let color = `${getVariableValue(colorIn)}`;
16
- if (color.startsWith("hsl(")) {
17
- return color.replace("hsl", "hsla").replace(")", `, ${alpha})`);
18
- }
19
- if (color.startsWith("#")) {
20
- return hexToRGBA(color, alpha);
21
- }
22
- if (color.startsWith("rgb(")) {
23
- return color.replace("rgb", "rgba").replace(")", `, ${alpha})`);
24
- }
25
- return color;
26
- }, "setColorAlpha");
27
- const isValidHex = /* @__PURE__ */ __name((hex) => /^#([A-Fa-f0-9]{3,4}){1,2}$/.test(hex), "isValidHex");
28
- const getChunksFromString = /* @__PURE__ */ __name((st, chunkSize = 0) => st.match(new RegExp(`.{${chunkSize}}`, "g")), "getChunksFromString");
29
- const convertHexUnitTo256 = /* @__PURE__ */ __name((hexStr) => parseInt(hexStr.repeat(2 / hexStr.length), 16), "convertHexUnitTo256");
30
- const getAlphaFloat = /* @__PURE__ */ __name((a, alpha = 1) => {
31
- if (a !== void 0) {
32
- return a / 255;
33
- }
34
- if (typeof alpha != "number" || alpha < 0 || alpha > 1) {
35
- return 1;
36
- }
37
- return alpha;
38
- }, "getAlphaFloat");
39
- export {
40
- hexToRGBA,
41
- setColorAlpha
42
- };
package/dist/jsx/index.js DELETED
@@ -1,3 +0,0 @@
1
- export * from "./themes";
2
- export * from "./tokens";
3
- export * from "@tamagui/colors";
@@ -1,245 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import * as Colors from "@tamagui/colors";
4
- import { allDarkColors, allLightColors } from "@tamagui/colors";
5
- import { getVariableValue } from "@tamagui/core";
6
- import { setColorAlpha } from "./colorUtils";
7
- import { color } from "./tokens";
8
- const alternates = [1, 2, 3, 4];
9
- function createThemesFrom(name, getTheme, props) {
10
- const { shift = 0 } = props;
11
- const theme = getTheme(0 + shift, props);
12
- let themeEntries = [[name, theme]];
13
- const altThemes = alternates.map((alt) => [
14
- `${name}_alt${alt}`,
15
- getTheme(alt + shift, props)
16
- ]);
17
- const altButtonThemes = alternates.map((_, i) => {
18
- const [bName, bTheme] = [altThemes[i][0], (altThemes[i + 1] || altThemes[i])[1]];
19
- return [`${bName}_Button`, bTheme];
20
- });
21
- const darkerTheme = getTheme(Math.max(0, shift + (props.isLight ? 1 : -1)), props);
22
- const activeTheme = makeActiveTheme(theme);
23
- themeEntries = [
24
- ...themeEntries,
25
- ...altThemes,
26
- ...altButtonThemes,
27
- [`${name}_Button`, altThemes[0][1]],
28
- [`${name}_darker`, darkerTheme],
29
- [`${name}_active`, activeTheme]
30
- ];
31
- const themes2 = Object.fromEntries(themeEntries);
32
- return themes2;
33
- }
34
- __name(createThemesFrom, "createThemesFrom");
35
- const createTheme = /* @__PURE__ */ __name((str = 1, {
36
- backgrounds,
37
- isLight = true,
38
- isBase = false,
39
- colors = [...backgrounds].reverse(),
40
- borderColors = isLight ? colors : backgrounds,
41
- backgroundStrong,
42
- offsets: offsetsProp
43
- }) => {
44
- var _a, _b, _c, _d;
45
- const offsets = {
46
- borderColor: (_b = (_a = offsetsProp == null ? void 0 : offsetsProp.borderColor) != null ? _a : offsetsProp == null ? void 0 : offsetsProp.background) != null ? _b : [0, 0, 0, 0],
47
- background: (_c = offsetsProp == null ? void 0 : offsetsProp.background) != null ? _c : [0, 0, 0, 0],
48
- color: (_d = offsetsProp == null ? void 0 : offsetsProp.color) != null ? _d : [0, 0, 0, 0]
49
- };
50
- const darkColors = isLight ? colors : backgrounds;
51
- const lighterDir = isLight ? -1 : 1;
52
- const darkerDir = -lighterDir;
53
- const strongerDir = isLight ? darkerDir : lighterDir;
54
- const softerDir = -strongerDir;
55
- const get = /* @__PURE__ */ __name((arr, index, name = "background") => {
56
- return arr[Math.max(0, Math.min(index + (offsets[name][str] || 0), arr.length - 1))];
57
- }, "get");
58
- const colorTranslucent = setColorAlpha(getVariableValue(get(colors, 0 + str, "color")), 0.5);
59
- let theme = {
60
- background: get(backgrounds, str),
61
- backgroundStrong: backgroundStrong || get(backgrounds, str + strongerDir * 2),
62
- backgroundSoft: get(backgrounds, str + softerDir * 2),
63
- backgroundHover: get(backgrounds, str + lighterDir),
64
- backgroundPress: get(backgrounds, str + darkerDir),
65
- backgroundFocus: get(backgrounds, str + darkerDir * 2),
66
- backgroundTransparent: color.grayA1,
67
- color: get(colors, 0 + str, "color"),
68
- colorHover: get(colors, 1 + str, "color"),
69
- colorPress: get(colors, 2 + str, "color"),
70
- colorFocus: get(colors, 3 + str, "color"),
71
- colorTranslucent,
72
- colorMid: colors[Math.floor(colors.length / 2)],
73
- shadowColor: isLight ? color.grayA2 : color.grayA8,
74
- shadowColorHover: darkColors[!isLight ? 1 : 8],
75
- shadowColorPress: darkColors[!isLight ? 1 : 8],
76
- shadowColorFocus: darkColors[!isLight ? 1 : 8],
77
- borderColor: null,
78
- borderColorHover: null,
79
- borderColorPress: null,
80
- borderColorFocus: null
81
- };
82
- if (isBase) {
83
- Object.assign(theme, {
84
- borderColor: isLight ? get(colors, 8 - str, "borderColor") : get(backgrounds, 2 + str, "borderColor"),
85
- borderColorHover: isLight ? get(colors, 6 - str, "borderColor") : get(backgrounds, 3 + str, "borderColor"),
86
- borderColorPress: isLight ? get(colors, 5 - str, "borderColor") : get(backgrounds, 1 + str, "borderColor"),
87
- borderColorFocus: isLight ? get(colors, 4 - str, "borderColor") : get(backgrounds, 3 + str, "borderColor")
88
- });
89
- } else {
90
- Object.assign(theme, {
91
- borderColor: get(borderColors, 1 + strongerDir, "borderColor"),
92
- borderColorHover: get(borderColors, 2 + strongerDir, "borderColor"),
93
- borderColorPress: get(borderColors, 3 + strongerDir, "borderColor"),
94
- borderColorFocus: get(borderColors, 4 + strongerDir, "borderColor")
95
- });
96
- }
97
- return theme;
98
- }, "createTheme");
99
- const colorSchemes = [
100
- { name: "blue", colors: Colors.blue, darkColors: Colors.blueDark },
101
- { name: "gray", colors: Colors.gray, darkColors: Colors.grayDark },
102
- { name: "green", colors: Colors.green, darkColors: Colors.greenDark },
103
- { name: "indigo", colors: Colors.indigo, darkColors: Colors.indigoDark },
104
- { name: "orange", colors: Colors.orange, darkColors: Colors.orangeDark },
105
- { name: "pink", colors: Colors.pink, darkColors: Colors.pinkDark },
106
- { name: "purple", colors: Colors.purple, darkColors: Colors.purpleDark },
107
- { name: "red", colors: Colors.red, darkColors: Colors.redDark },
108
- { name: "violet", colors: Colors.violet, darkColors: Colors.violetDark },
109
- { name: "yellow", colors: Colors.yellow, darkColors: Colors.yellowDark },
110
- { name: "teal", colors: Colors.teal, darkColors: Colors.tealDark },
111
- { name: "lime", colors: Colors.lime, darkColors: Colors.limeDark },
112
- { name: "brown", colors: Colors.brown, darkColors: Colors.brownDark }
113
- ];
114
- const lightGradient = [
115
- "#fff",
116
- "#f4f4f4",
117
- color.gray1,
118
- color.gray2,
119
- color.gray3,
120
- color.gray4,
121
- color.gray5,
122
- color.gray6,
123
- color.gray7,
124
- color.gray8,
125
- color.gray9,
126
- color.gray10,
127
- color.gray11,
128
- color.gray12
129
- ];
130
- const darkGradient = [
131
- "#111111",
132
- "#151515",
133
- "#191919",
134
- "#232323",
135
- "#282828",
136
- "#323232",
137
- "#383838",
138
- "#424242",
139
- "#494949",
140
- "#545454",
141
- "#626262",
142
- "#777777"
143
- ];
144
- const lightThemes = createThemesFrom("light", createTheme, {
145
- backgrounds: lightGradient,
146
- backgroundStrong: "#fcfcfc",
147
- borderColors: lightGradient.slice(2),
148
- isLight: true
149
- });
150
- const darkThemes = createThemesFrom("dark", createTheme, {
151
- backgrounds: darkGradient,
152
- colors: lightGradient.slice(2),
153
- backgroundStrong: "#111",
154
- isBase: true,
155
- isLight: false,
156
- shift: 1,
157
- offsets: {
158
- color: [0, 4, 5, 5, 5, 5]
159
- }
160
- });
161
- const baseThemes = {
162
- ...lightThemes,
163
- light: {
164
- ...allLightColors,
165
- ...lightThemes.light
166
- },
167
- light_active: makeActiveTheme(lightThemes.light),
168
- light_Card: lightThemes.light,
169
- light_DrawerFrame: lightThemes.light_alt1,
170
- light_Button: lightThemes.light_alt1,
171
- ...darkThemes,
172
- dark: {
173
- ...allDarkColors,
174
- ...darkThemes.dark
175
- },
176
- dark_active: makeActiveTheme(darkThemes.dark),
177
- dark_Card: darkThemes.dark_alt1,
178
- dark_DrawerFrame: darkThemes.dark_alt2,
179
- dark_Button: darkThemes.dark_alt1
180
- };
181
- function makeActiveTheme(theme) {
182
- const res = { ...theme };
183
- res.backgroundHover = res.background;
184
- res.colorHover = res.color;
185
- res.backgroundPress = res.background;
186
- res.colorPress = res.color;
187
- return res;
188
- }
189
- __name(makeActiveTheme, "makeActiveTheme");
190
- const colorThemeEntries = colorSchemes.flatMap(({ name, colors, darkColors }) => {
191
- const [altLightThemes, altDarkThemes] = [
192
- { colors: darkColors, backgrounds: colors },
193
- { colors, backgrounds: darkColors }
194
- ].map((props, i) => {
195
- const isLight = i === 0;
196
- const [backgrounds, colors2] = [
197
- Object.values(props.backgrounds),
198
- Object.values(props.colors).slice(isLight ? 2 : 2)
199
- ];
200
- const scheme = isLight ? "light" : "dark";
201
- const shift = isLight ? 0 : 1;
202
- if (!isLight) {
203
- const [_, h, sp, lp] = backgrounds[0].match(/hsl\(([0-9\.]+), ([0-9\.]+)\%, ([0-9\.]+)\%\)/);
204
- backgrounds.unshift(`hsl(${h}, ${sp}%, ${parseFloat(lp) / 2}%)`);
205
- }
206
- const themeWithAlts = createThemesFrom(name, createTheme, {
207
- colors: colors2,
208
- backgrounds,
209
- borderColors: backgrounds,
210
- isLight,
211
- shift,
212
- isBase: false,
213
- offsets: {
214
- background: isLight ? [1, 1, 1, 1, 1, 1] : null,
215
- borderColor: isLight ? [2, 2, 2, 3, 2] : null,
216
- color: isLight ? [0, 0, -1, -2, -3, -3, -4] : [-1, -1, -1, -1, -1, -1]
217
- }
218
- });
219
- return Object.entries(themeWithAlts).map(([k, v]) => [`${scheme}_${k}`, v]);
220
- });
221
- const lightButtonTheme = altLightThemes[0];
222
- const darkButtonTheme = altDarkThemes[0];
223
- return [
224
- ...altLightThemes,
225
- [`${lightButtonTheme[0]}_Button`, altLightThemes[2][1]],
226
- [`${lightButtonTheme[0]}_Card`, altLightThemes[2][1]],
227
- [`${lightButtonTheme[0]}_DrawerFrame`, altLightThemes[2][1]],
228
- ...altDarkThemes,
229
- [`${darkButtonTheme[0]}_Button`, altDarkThemes[2][1]],
230
- [`${darkButtonTheme[0]}_Card`, altDarkThemes[2][1]],
231
- [`${darkButtonTheme[0]}_DrawerFrame`, altDarkThemes[2][1]]
232
- ];
233
- });
234
- const colorThemes = Object.fromEntries(colorThemeEntries);
235
- const allThemes = {
236
- ...baseThemes,
237
- ...colorThemes
238
- };
239
- const themes = allThemes;
240
- export {
241
- colorSchemes,
242
- darkGradient,
243
- lightGradient,
244
- themes
245
- };
@@ -1,45 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- import { allLightColors, darkColorsPostfixed } from "@tamagui/colors";
4
- const sizeKeys = ["true", "0", "0.25", "0.5", "1", "1.5", "2", "2.5", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "9", "10", "11", "12", "13", "14"];
5
- const getSizeAt = /* @__PURE__ */ __name((index) => index === 0 ? 0 : Math.round(Math.pow(1.6, index)) + Math.floor(3 * index), "getSizeAt");
6
- const size = Object.fromEntries(sizeKeys.map((key) => {
7
- return [key, getSizeAt(key === "true" ? 4 : +key)];
8
- }));
9
- const space = {
10
- ...size,
11
- ...Object.fromEntries(Object.entries(size).map(([k, v]) => [`-${k}`, -v]))
12
- };
13
- const zIndex = {
14
- 0: 0,
15
- 1: 100,
16
- 2: 200,
17
- 3: 300,
18
- 4: 400,
19
- 5: 500
20
- };
21
- const color = {
22
- ...allLightColors,
23
- ...darkColorsPostfixed
24
- };
25
- const radius = {
26
- 0: 0,
27
- 1: 3,
28
- 2: 5,
29
- 3: 7,
30
- 4: 9,
31
- 5: 10,
32
- 6: 12,
33
- 7: 16,
34
- 8: 20,
35
- 9: 30
36
- };
37
- export {
38
- color,
39
- getSizeAt,
40
- radius,
41
- size,
42
- sizeKeys,
43
- space,
44
- zIndex
45
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"colorUtils.d.ts","sourceRoot":"","sources":["../src/colorUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAA;AAE1D,eAAO,MAAM,SAAS,QAAS,MAAM,2BAQpC,CAAA;AAED,eAAO,MAAM,aAAa,YAAa,MAAM,GAAG,QAAQ,2BAYvD,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../src/themes.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAA;AAoJ1D,eAAO,MA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