@ecohouse/ui 0.1.9 → 0.1.10
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/index.cjs +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/LanguageSwitcher/LanguageSwitcher.tsx +4 -4
- package/src/theme/colors.test.ts +1 -0
- package/src/theme/colors.ts +1 -0
package/package.json
CHANGED
|
@@ -229,7 +229,7 @@ const styles = StyleSheet.create({
|
|
|
229
229
|
backgroundColor: "transparent",
|
|
230
230
|
},
|
|
231
231
|
triggerActive: {
|
|
232
|
-
backgroundColor: colors.
|
|
232
|
+
backgroundColor: colors.whiteAlpha6,
|
|
233
233
|
},
|
|
234
234
|
triggerLabel: {
|
|
235
235
|
...languageSwitcherTypography,
|
|
@@ -256,7 +256,7 @@ const styles = StyleSheet.create({
|
|
|
256
256
|
padding: 8,
|
|
257
257
|
gap: 8,
|
|
258
258
|
borderRadius: 12,
|
|
259
|
-
backgroundColor: colors.
|
|
259
|
+
backgroundColor: colors.whiteAlpha6,
|
|
260
260
|
...Platform.select({
|
|
261
261
|
web: { boxShadow: `0 8px 24px ${colors.black}73` },
|
|
262
262
|
default: { elevation: 8 },
|
|
@@ -271,10 +271,10 @@ const styles = StyleSheet.create({
|
|
|
271
271
|
borderRadius: 8,
|
|
272
272
|
},
|
|
273
273
|
itemHovered: {
|
|
274
|
-
backgroundColor: colors.
|
|
274
|
+
backgroundColor: colors.whiteAlpha6,
|
|
275
275
|
},
|
|
276
276
|
itemSelected: {
|
|
277
|
-
backgroundColor: colors.
|
|
277
|
+
backgroundColor: colors.whiteAlpha6,
|
|
278
278
|
},
|
|
279
279
|
itemLabel: {
|
|
280
280
|
...languageSwitcherTypography,
|
package/src/theme/colors.test.ts
CHANGED
|
@@ -10,6 +10,7 @@ describe("design tokens", () => {
|
|
|
10
10
|
expect(colors.whiteAlpha86).toBe("#FFFFFFDB");
|
|
11
11
|
expect(colors.whiteAlpha40).toBe("#FFFFFF66");
|
|
12
12
|
expect(colors.whiteAlpha20).toBe("#FFFFFF33");
|
|
13
|
+
expect(colors.whiteAlpha6).toBe("#FFFFFF0F");
|
|
13
14
|
expect(colors.whiteAlpha10).toBe("#FFFFFF1A");
|
|
14
15
|
expect(colors.whiteAlpha5).toBe("#FFFFFF0D");
|
|
15
16
|
expect(buttonTypography.lg.fontSize).toBe(14);
|