1.14 Object Style (Experimental)

Most metadata have a property names “style”. This property can be used by clients to represent the object in a certain way. The properties currently supported by style is as follows:

Style properties
Property Description Type
color A color, represented by a hexadecimal. String (#000000)
icon An icon, represented by a icon-name. String

Currently there is no official list or support for icon-libraries, so this is currently up to the client to provide. The following list shows all objects that supports style:

When creating or updating any of these objects, you can include the following payload to change the style:

{
  ...
  "style": {
    "color": "#ffffff",
    "icon": "my-beautiful-icon"
  }
  ...
}