@tamagui/theme-base 1.0.1-beta.19 → 1.0.1-beta.191

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,244 +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
- backgroundStronger,
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 get = /* @__PURE__ */ __name((arr, index, name = "background") => {
55
- return arr[Math.max(0, Math.min(index + (offsets[name][str] || 0), arr.length - 1))];
56
- }, "get");
57
- const colorTranslucent = setColorAlpha(getVariableValue(get(colors, 0 + str, "color")), 0.5);
58
- let theme = {
59
- background: get(backgrounds, str),
60
- backgroundStronger: backgroundStronger || get(backgrounds, str + strongerDir),
61
- backgroundSoft: get(backgrounds, str + 3),
62
- backgroundHover: get(backgrounds, str + strongerDir),
63
- backgroundPress: get(backgrounds, str + darkerDir * 1),
64
- backgroundFocus: get(backgrounds, str + darkerDir * 2),
65
- backgroundTransparent: color.grayA1,
66
- color: get(colors, 0 + str, "color"),
67
- colorHover: get(colors, 1 + str, "color"),
68
- colorPress: get(colors, 2 + str, "color"),
69
- colorFocus: get(colors, 3 + str, "color"),
70
- colorTranslucent,
71
- colorMid: colors[Math.floor(colors.length / 2)],
72
- shadowColor: isLight ? color.grayA2 : color.grayA8,
73
- shadowColorHover: darkColors[!isLight ? 1 : 8],
74
- shadowColorPress: darkColors[!isLight ? 1 : 8],
75
- shadowColorFocus: darkColors[!isLight ? 1 : 8],
76
- borderColor: null,
77
- borderColorHover: null,
78
- borderColorPress: null,
79
- borderColorFocus: null
80
- };
81
- if (isBase) {
82
- Object.assign(theme, {
83
- borderColor: isLight ? get(colors, 8 - str, "borderColor") : get(backgrounds, 2 + str, "borderColor"),
84
- borderColorHover: isLight ? get(colors, 6 - str, "borderColor") : get(backgrounds, 3 + str, "borderColor"),
85
- borderColorPress: isLight ? get(colors, 5 - str, "borderColor") : get(backgrounds, 1 + str, "borderColor"),
86
- borderColorFocus: isLight ? get(colors, 4 - str, "borderColor") : get(backgrounds, 3 + str, "borderColor")
87
- });
88
- } else {
89
- Object.assign(theme, {
90
- borderColor: get(borderColors, 1 + strongerDir, "borderColor"),
91
- borderColorHover: get(borderColors, 2 + strongerDir, "borderColor"),
92
- borderColorPress: get(borderColors, 3 + strongerDir, "borderColor"),
93
- borderColorFocus: get(borderColors, 4 + strongerDir, "borderColor")
94
- });
95
- }
96
- return theme;
97
- }, "createTheme");
98
- const colorSchemes = [
99
- { name: "blue", colors: Colors.blue, darkColors: Colors.blueDark },
100
- { name: "gray", colors: Colors.gray, darkColors: Colors.grayDark },
101
- { name: "green", colors: Colors.green, darkColors: Colors.greenDark },
102
- { name: "indigo", colors: Colors.indigo, darkColors: Colors.indigoDark },
103
- { name: "orange", colors: Colors.orange, darkColors: Colors.orangeDark },
104
- { name: "pink", colors: Colors.pink, darkColors: Colors.pinkDark },
105
- { name: "purple", colors: Colors.purple, darkColors: Colors.purpleDark },
106
- { name: "red", colors: Colors.red, darkColors: Colors.redDark },
107
- { name: "violet", colors: Colors.violet, darkColors: Colors.violetDark },
108
- { name: "yellow", colors: Colors.yellow, darkColors: Colors.yellowDark },
109
- { name: "teal", colors: Colors.teal, darkColors: Colors.tealDark },
110
- { name: "lime", colors: Colors.lime, darkColors: Colors.limeDark },
111
- { name: "brown", colors: Colors.brown, darkColors: Colors.brownDark }
112
- ];
113
- const lightGradient = [
114
- "#fff",
115
- "#f4f4f4",
116
- color.gray1,
117
- color.gray2,
118
- color.gray3,
119
- color.gray4,
120
- color.gray5,
121
- color.gray6,
122
- color.gray7,
123
- color.gray8,
124
- color.gray9,
125
- color.gray10,
126
- color.gray11,
127
- color.gray12
128
- ];
129
- const darkGradient = [
130
- "#111111",
131
- "#151515",
132
- "#191919",
133
- "#232323",
134
- "#282828",
135
- "#323232",
136
- "#383838",
137
- "#424242",
138
- "#494949",
139
- "#545454",
140
- "#626262",
141
- "#777777"
142
- ];
143
- const lightThemes = createThemesFrom("light", createTheme, {
144
- backgrounds: lightGradient,
145
- backgroundStronger: "#fcfcfc",
146
- borderColors: lightGradient.slice(2),
147
- isLight: true
148
- });
149
- const darkThemes = createThemesFrom("dark", createTheme, {
150
- backgrounds: darkGradient,
151
- colors: lightGradient.slice(2),
152
- backgroundStronger: "#111",
153
- isBase: true,
154
- isLight: false,
155
- shift: 1,
156
- offsets: {
157
- color: [0, 4, 5, 5, 5, 5]
158
- }
159
- });
160
- const baseThemes = {
161
- ...lightThemes,
162
- light: {
163
- ...allLightColors,
164
- ...lightThemes.light
165
- },
166
- light_active: makeActiveTheme(lightThemes.light),
167
- light_Card: lightThemes.light,
168
- light_DrawerFrame: lightThemes.light_alt1,
169
- light_Button: lightThemes.light_alt1,
170
- ...darkThemes,
171
- dark: {
172
- ...allDarkColors,
173
- ...darkThemes.dark
174
- },
175
- dark_active: makeActiveTheme(darkThemes.dark),
176
- dark_Card: darkThemes.dark_alt1,
177
- dark_DrawerFrame: darkThemes.dark_alt2,
178
- dark_Button: darkThemes.dark_alt1
179
- };
180
- function makeActiveTheme(theme) {
181
- const res = { ...theme };
182
- res.backgroundHover = res.background;
183
- res.colorHover = res.color;
184
- res.backgroundPress = res.background;
185
- res.colorPress = res.color;
186
- return res;
187
- }
188
- __name(makeActiveTheme, "makeActiveTheme");
189
- const colorThemeEntries = colorSchemes.flatMap(({ name, colors, darkColors }) => {
190
- const [altLightThemes, altDarkThemes] = [
191
- { colors: darkColors, backgrounds: colors },
192
- { colors, backgrounds: darkColors }
193
- ].map((props, i) => {
194
- const isLight = i === 0;
195
- const [backgrounds, colors2] = [
196
- Object.values(props.backgrounds),
197
- Object.values(props.colors).slice(isLight ? 2 : 2)
198
- ];
199
- const scheme = isLight ? "light" : "dark";
200
- const shift = isLight ? 0 : 1;
201
- if (!isLight) {
202
- const [_, h, sp, lp] = backgrounds[0].match(/hsl\(([0-9\.]+), ([0-9\.]+)\%, ([0-9\.]+)\%\)/);
203
- backgrounds.unshift(`hsl(${h}, ${sp}%, ${parseFloat(lp) / 2}%)`);
204
- }
205
- const themeWithAlts = createThemesFrom(name, createTheme, {
206
- colors: colors2,
207
- backgrounds,
208
- borderColors: backgrounds,
209
- isLight,
210
- shift,
211
- isBase: false,
212
- offsets: {
213
- background: isLight ? [1, 1, 1, 1, 1, 1] : null,
214
- borderColor: isLight ? [2, 2, 2, 3, 2] : null,
215
- color: isLight ? [0, 0, -1, -2, -3, -3, -4] : [-1, -1, -1, -1, -1, -1]
216
- }
217
- });
218
- return Object.entries(themeWithAlts).map(([k, v]) => [`${scheme}_${k}`, v]);
219
- });
220
- const lightButtonTheme = altLightThemes[0];
221
- const darkButtonTheme = altDarkThemes[0];
222
- return [
223
- ...altLightThemes,
224
- [`${lightButtonTheme[0]}_Button`, altLightThemes[2][1]],
225
- [`${lightButtonTheme[0]}_Card`, altLightThemes[2][1]],
226
- [`${lightButtonTheme[0]}_DrawerFrame`, altLightThemes[2][1]],
227
- ...altDarkThemes,
228
- [`${darkButtonTheme[0]}_Button`, altDarkThemes[2][1]],
229
- [`${darkButtonTheme[0]}_Card`, altDarkThemes[2][1]],
230
- [`${darkButtonTheme[0]}_DrawerFrame`, altDarkThemes[2][1]]
231
- ];
232
- });
233
- const colorThemes = Object.fromEntries(colorThemeEntries);
234
- const allThemes = {
235
- ...baseThemes,
236
- ...colorThemes
237
- };
238
- const themes = allThemes;
239
- export {
240
- colorSchemes,
241
- darkGradient,
242
- lightGradient,
243
- themes
244
- };
@@ -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;AAmJ1D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;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