We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829756b commit c9a7a54Copy full SHA for c9a7a54
main/gui.c
@@ -37,8 +37,12 @@ ESP_EVENT_DEFINE_BASE(GUI_EVENT);
37
38
const color_t GUI_BLOCKSTREAM_JADE_GREEN = 0x4C04;
39
const color_t GUI_BLOCKSTREAM_BUTTONBORDER_GREY = 0x0421;
40
+#ifdef CONFIG_IDF_TARGET_ESP32S3
41
+// V2 QR codes scan better with a higher contrast background
42
+const color_t GUI_BLOCKSTREAM_QR_PALE = 0xFFFF;
43
+#else
44
const color_t GUI_BLOCKSTREAM_QR_PALE = 0x494A;
-
45
+#endif
46
const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_DEFAULT = GUI_BLOCKSTREAM_JADE_GREEN;
47
const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_ORANGE = 0xE0D3;
48
const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_BLUE = 0xD318;
0 commit comments