This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 149
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.BLACK
TitlebarColor.BLUE
TitlebarColor.CYAN
TitlebarColor.GREEN
TitlebarColor.LIGHTGREY
TitlebarColor.RED
TitlebarColor.WHITE
TitlebarColor.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')