[android-components](../../index.md) / [mozilla.components.concept.engine](../index.md) / [DefaultSettings](index.md) / [preferredColorScheme](./preferred-color-scheme.md)

# preferredColorScheme

`var preferredColorScheme: `[`PreferredColorScheme`](../../mozilla.components.concept.engine.mediaquery/-preferred-color-scheme/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/engine/src/main/java/mozilla/components/concept/engine/Settings.kt#L194)

Overrides [Settings.preferredColorScheme](../-settings/preferred-color-scheme.md)

Setting to alert the content that the user prefers a particular theme. This affects the
[@mediaprefers-color-scheme](#) query.

