1# Configuration 2 3> **NOTE**<br> 4> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. 5 6 7Provides the configuration for the environment where the ability is running. 8 9 10## Modules to Import 11 12 13```js 14import Configuration from '@ohos.application.Configuration'; 15``` 16 17 18## Attributes 19 20**System capability**: SystemCapability.Ability.AbilityBase 21 22| Name| Type| Readable| Writable| Description| 23| -------- | -------- | -------- | -------- | -------- | 24| language | string | Yes| Yes| Language of the application.| 25| colorMode | [ColorMode](js-apis-configurationconstant.md) | Yes| Yes| Color mode, which can be **COLOR_MODE_LIGHT** or **COLOR_MODE_DARK**. The default value is **COLOR_MODE_LIGHT**.| 26