> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Styles

> Styles

A collection of reusable styles which can be referenced throughout the layout for styling purposes. Note that a `styles` property may also be defined within a bundle's [context file](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-bundle.md#context). If an equivalent `styles` property is defined in the context file, the contents of each will be merged. If a duplicate definition is found, the definition in the layout is preferred, overwriting the definition in the context file.

## Properties

`colors` - *object*, *optional*. Defines a collection of [color palettes](https://docs.xbox.com/reference/system/touchadaptationkit/layout/game-streaming-touch-color-palette.md) with colors that can be reused throughout the layout.

## See Also

[Touch Adaptation Kit Reference](https://docs.xbox.com/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[Getting started with sample layouts](https://docs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-getting-started-with-sample-layouts.md)


## Related topics

- [XClosedCaptionFontStyle](https://docs.xbox.com/reference/system/xaccessibility/enums/xclosedcaptionfontstyle.md)
- [A designer's guide to building touch controls](https://docs.xbox.com/build/core-features/common/game-streaming/building-touch-layouts/game-streaming-tak-designers-guide.md)
- [Matchmaking scenario and configuration examples](https://docs.xbox.com/services/playfab/multiplayer/matchmaking/config-examples.md)
- [Xbox Accessibility Guideline 101](https://docs.xbox.com/build/game-principles/accessibility/xag-deep-dives/xag-101-text-display.md)
- [Throttle](https://docs.xbox.com/reference/system/touchadaptationkit/controls/game-streaming-touch-throttle.md)
