Color adjustments

This commit is contained in:
Brahim Hadriche committed 2023-12-20 16:59:15 -05:00
1 parent 64f5985aae
commit 482daf5e12
7 files changed
+23 -7

No files matched your search

@@ -0,0 +1,12 @@
function SetPalette()
palette = createObject("roSGNode", "RSGPalette")
palette.colors = {
DialogBackgroundColor: "#242424FF",
DialogFocusColor: "#CECECEFF",
DialogFocusItemColor: "#202020FF",
DialogSecondaryTextColor: "#F8F8F8FF",
DialogSecondaryItemColor: "0xFF1C30FF",
DialogTextColor: "#EEEEEEFF"
}
m.top.palette = palette
end function
@@ -2,8 +2,10 @@ import "pkg:/components/Screens/WebAppScreen/GenerateQrCodeTask.bs"
import "pkg:/source/asyncTask/asyncTask.bs"
import "pkg:/source/utils/StringUtils.bs"
import "pkg:/source/utils/Types.bs"
import "DialogPalette.bs"
function Init()
SetPalette()
m.urlLabel = m.top.findNode("urlLabel")
m.qrCode = m.top.findNode("QrCodePoster")
@@ -18,7 +18,7 @@
horizAlign="right"
width="400"
extendToDialogEdge="false"
showDivider="true">
showDivider="false">
<Label
text="Scan the QR Code"
horizAlign="center"
@@ -1,6 +1,8 @@
import "pkg:/source/utils/Types.bs"
import "DialogPalette.bs"
function Init()
SetPalette()
m.top.observeField("buttonSelected", FuncName(CloseDialog))
end function