---
title: "AdaptiveStyleKey | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias AdaptiveStyleKey

AdaptiveStyleKey: [ReferenceStyleKey](https://docs.maptiler.com/sdk-js/api-reference/types/ReferenceStyleKey/) | \`${[ReferenceStyleKey](https://docs.maptiler.com/sdk-js/api-reference/types/ReferenceStyleKey/)}\-${string}\`

Style key the adaptive colours can target: an unversioned reference-style id, optionally with a variant suffix (e.g. `"streets"`, `"streets-dark"`). Versioned style ids (`"streets-v4-dark"`) are normalised to this form by [getAdaptiveColorsForStyle](https://docs.maptiler.com/sdk-js/api-reference/functions/getAdaptiveColorsForStyle/).
