• PHP reference
  • Interface

Theme

class UI\Theme

Provides information about a color scheme used by a Community.

Properties

string $color

A CSS Hex presentation of the theme's main color, e.g. #FF0000.

string $colorscheme

The color scheme that should be used together with the theme color. Will be set to either dark or light, depending on the lightness of the color.