This repository was archived by the owner on Sep 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 153
Colors
Alex Torres edited this page Aug 13, 2023
·
1 revision
There is a class called TitlebarColor that allows you to configure the colors of the title bar.
The TitlebarColor class has several predefined colors that can be used to configure the colors of the title bar.
TitlebarColor.BLACKTitlebarColor.BLUETitlebarColor.CYANTitlebarColor.GREENTitlebarColor.LIGHTGREYTitlebarColor.REDTitlebarColor.WHITETitlebarColor.TRANSPARENT
To create a custom color, use the static method TitlebarColor.fromHex(color). This method takes a hexadecimal color as an argument and returns a TitlebarColor object.
const customColor = TitlebarColor.fromHex('#FF0000')