@farcaster/snap 1.22.0 → 1.22.1
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/colors.d.ts +4 -4
- package/dist/colors.js +20 -20
- package/package.json +1 -1
- package/src/colors.ts +20 -20
package/dist/colors.d.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* it to a hex value appropriate for its current light/dark mode.
|
|
4
4
|
*
|
|
5
5
|
* Light-mode hex values (used by emulator):
|
|
6
|
-
* gray=#
|
|
7
|
-
* green=#
|
|
6
|
+
* gray=#6E6A86 blue=#286983 red=#B4637A amber=#EA9D34
|
|
7
|
+
* green=#3E8F8F teal=#56949F purple=#907AA9 pink=#D7827E
|
|
8
8
|
*
|
|
9
9
|
* Dark-mode hex values (for reference; client-owned):
|
|
10
|
-
* gray=#
|
|
11
|
-
* green=#
|
|
10
|
+
* gray=#908CAA blue=#9CCFD8 red=#EB6F92 amber=#F6C177
|
|
11
|
+
* green=#56D4A4 teal=#3E8FB0 purple=#C4A7E7 pink=#EBBCBA
|
|
12
12
|
*/
|
|
13
13
|
export declare const PALETTE_COLOR: {
|
|
14
14
|
readonly gray: "gray";
|
package/dist/colors.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* it to a hex value appropriate for its current light/dark mode.
|
|
4
4
|
*
|
|
5
5
|
* Light-mode hex values (used by emulator):
|
|
6
|
-
* gray=#
|
|
7
|
-
* green=#
|
|
6
|
+
* gray=#6E6A86 blue=#286983 red=#B4637A amber=#EA9D34
|
|
7
|
+
* green=#3E8F8F teal=#56949F purple=#907AA9 pink=#D7827E
|
|
8
8
|
*
|
|
9
9
|
* Dark-mode hex values (for reference; client-owned):
|
|
10
|
-
* gray=#
|
|
11
|
-
* green=#
|
|
10
|
+
* gray=#908CAA blue=#9CCFD8 red=#EB6F92 amber=#F6C177
|
|
11
|
+
* green=#56D4A4 teal=#3E8FB0 purple=#C4A7E7 pink=#EBBCBA
|
|
12
12
|
*/
|
|
13
13
|
export const PALETTE_COLOR = {
|
|
14
14
|
gray: "gray",
|
|
@@ -34,25 +34,25 @@ export const PALETTE_COLOR_VALUES = [
|
|
|
34
34
|
];
|
|
35
35
|
/** Light-mode hex for each palette color (emulator / reference client). */
|
|
36
36
|
export const PALETTE_LIGHT_HEX = {
|
|
37
|
-
gray: "#
|
|
38
|
-
blue: "#
|
|
39
|
-
red: "#
|
|
40
|
-
amber: "#
|
|
41
|
-
green: "#
|
|
42
|
-
teal: "#
|
|
43
|
-
purple: "#
|
|
44
|
-
pink: "#
|
|
37
|
+
gray: "#6E6A86",
|
|
38
|
+
blue: "#286983",
|
|
39
|
+
red: "#B4637A",
|
|
40
|
+
amber: "#EA9D34",
|
|
41
|
+
green: "#3E8F8F",
|
|
42
|
+
teal: "#56949F",
|
|
43
|
+
purple: "#907AA9",
|
|
44
|
+
pink: "#D7827E",
|
|
45
45
|
};
|
|
46
46
|
/** Dark-mode hex for each palette color (reference). */
|
|
47
47
|
export const PALETTE_DARK_HEX = {
|
|
48
|
-
gray: "#
|
|
49
|
-
blue: "#
|
|
50
|
-
red: "#
|
|
51
|
-
amber: "#
|
|
52
|
-
green: "#
|
|
53
|
-
teal: "#
|
|
54
|
-
purple: "#
|
|
55
|
-
pink: "#
|
|
48
|
+
gray: "#908CAA",
|
|
49
|
+
blue: "#9CCFD8",
|
|
50
|
+
red: "#EB6F92",
|
|
51
|
+
amber: "#F6C177",
|
|
52
|
+
green: "#56D4A4",
|
|
53
|
+
teal: "#3E8FB0",
|
|
54
|
+
purple: "#C4A7E7",
|
|
55
|
+
pink: "#EBBCBA",
|
|
56
56
|
};
|
|
57
57
|
export const PROGRESS_COLOR_VALUES = [
|
|
58
58
|
PALETTE_COLOR_ACCENT,
|
package/package.json
CHANGED
package/src/colors.ts
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* it to a hex value appropriate for its current light/dark mode.
|
|
4
4
|
*
|
|
5
5
|
* Light-mode hex values (used by emulator):
|
|
6
|
-
* gray=#
|
|
7
|
-
* green=#
|
|
6
|
+
* gray=#6E6A86 blue=#286983 red=#B4637A amber=#EA9D34
|
|
7
|
+
* green=#3E8F8F teal=#56949F purple=#907AA9 pink=#D7827E
|
|
8
8
|
*
|
|
9
9
|
* Dark-mode hex values (for reference; client-owned):
|
|
10
|
-
* gray=#
|
|
11
|
-
* green=#
|
|
10
|
+
* gray=#908CAA blue=#9CCFD8 red=#EB6F92 amber=#F6C177
|
|
11
|
+
* green=#56D4A4 teal=#3E8FB0 purple=#C4A7E7 pink=#EBBCBA
|
|
12
12
|
*/
|
|
13
13
|
export const PALETTE_COLOR = {
|
|
14
14
|
gray: "gray",
|
|
@@ -40,26 +40,26 @@ export type PaletteColor = (typeof PALETTE_COLOR_VALUES)[number];
|
|
|
40
40
|
|
|
41
41
|
/** Light-mode hex for each palette color (emulator / reference client). */
|
|
42
42
|
export const PALETTE_LIGHT_HEX: Record<PaletteColor, string> = {
|
|
43
|
-
gray: "#
|
|
44
|
-
blue: "#
|
|
45
|
-
red: "#
|
|
46
|
-
amber: "#
|
|
47
|
-
green: "#
|
|
48
|
-
teal: "#
|
|
49
|
-
purple: "#
|
|
50
|
-
pink: "#
|
|
43
|
+
gray: "#6E6A86",
|
|
44
|
+
blue: "#286983",
|
|
45
|
+
red: "#B4637A",
|
|
46
|
+
amber: "#EA9D34",
|
|
47
|
+
green: "#3E8F8F",
|
|
48
|
+
teal: "#56949F",
|
|
49
|
+
purple: "#907AA9",
|
|
50
|
+
pink: "#D7827E",
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
/** Dark-mode hex for each palette color (reference). */
|
|
54
54
|
export const PALETTE_DARK_HEX: Record<PaletteColor, string> = {
|
|
55
|
-
gray: "#
|
|
56
|
-
blue: "#
|
|
57
|
-
red: "#
|
|
58
|
-
amber: "#
|
|
59
|
-
green: "#
|
|
60
|
-
teal: "#
|
|
61
|
-
purple: "#
|
|
62
|
-
pink: "#
|
|
55
|
+
gray: "#908CAA",
|
|
56
|
+
blue: "#9CCFD8",
|
|
57
|
+
red: "#EB6F92",
|
|
58
|
+
amber: "#F6C177",
|
|
59
|
+
green: "#56D4A4",
|
|
60
|
+
teal: "#3E8FB0",
|
|
61
|
+
purple: "#C4A7E7",
|
|
62
|
+
pink: "#EBBCBA",
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
export const PROGRESS_COLOR_VALUES = [
|