Icons - project-owner/Peppy.doc GitHub Wiki

The player currently provides two categories of icons:

  • Line - the lightweight outline icons (default).
  • Original - the original filled icons.

The player provides three types of icons:

  • Monochrome (default) - the icons have one color for the regular state and one color for the selected state
  • Bi-Color - the icons have two colors for the regular state and two colors for the selected state
  • Gradient - the icons have two-color gradient for the regular state and two-color gradient for the selected state

The following image shows icons of different categories and types:

The icons' type and colors can be defined in the configuration file /home/pi/Peppy/config.txt:

[icons]
category = line
type = monochrome
color.1.main = 160,190,210
color.1.on = 255,190,120
color.2.main = 70,140,150
color.2.on = 155,90,20

The same parameters can be modified using the Configuration Web UI:

The following table shows the examples of using the properties and screenshots corresponding to the specific set of properties.

Type Properties Screenshot
Monochrome [icons]type = monochromecolor.1.main = 160,190,210color.1.on = 255,190,120color.2.main = 70,140,150color.2.on = 155,90,20
Bi-Color [icons]type = bi-colorcolor.1.main = 255,190,120color.1.on = 220,200,255color.2.main = 242,107,106color.2.on = 190,130,180
Gradient [icons]type = gradientcolor.1.main = 255,190,120color.1.on = 220,200,255color.2.main = 242,107,106color.2.on = 190,130,180

<<Previous | Next>>