---
title: Styling
summary: Class in @bimworks/viewercommon.
order: 10
languages: [javascript]
sdk-package: JavaScript · @bimworks/viewercommon
---

# Styling

[[page:reference/javascript/api|API catalogue]] · `@bimworks/viewercommon` · Class

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
class Styling
````

The colours of the BIM.works UI per kind of data, action and result, as "#rrggbb"

## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/javascript/bimworks-viewercommon/styling-af4b6e74#member-constructor-57060480ccbc|constructor]] | Method |  |
| [[page:reference/javascript/bimworks-viewercommon/styling-af4b6e74#member-actions-6d935f8d5d97|actions]] | Method |  |
| [[page:reference/javascript/bimworks-viewercommon/styling-af4b6e74#member-colors-d65c97c72c44|colors]] | Method |  |
| [[page:reference/javascript/bimworks-viewercommon/styling-af4b6e74#member-results-7adf520d7a80|results]] | Method |  |

## `constructor` {#member-constructor-57060480ccbc}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
constructor()
````



## `actions` {#member-actions-6d935f8d5d97}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
static actions(): Readonly<{ bcl: string; bclj: string; bcol: string; bql: string; brl: string; bsl: string; bul: string; bvl: string; bxlj: string; chat: string; clash: string; dataFile: string; gis: string; mvd: string; viewpoint: string }>
````



## `colors` {#member-colors-d65c97c72c44}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
static colors(): Readonly<{ attribute: string; building: string; buildingStorey: string; calculated: string; classification: string; general: string; geometryType: string; layer: string; material: string; model: string; property: string; propertySet: string; quantity: string; quantitySet: string; site: string; technicalData: string; type: string; zone: string }>
````



## `results` {#member-results-7adf520d7a80}

````typescript sdk=js sdk-namespace="@bimworks/viewercommon"
static results(): Readonly<{ error: string; success: string; warning: string }>
````
