Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
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.

Predefined Colors

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

Creating a Custom Color

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')