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

# 樣式

> 樣式

# 樣式

可重複使用的樣式集合，可在整個配置中參照以設定樣式。請注意，`styles` 屬性也可以在套件組合的[內容檔案](/zh-TW/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-bundle#context)中定義。如果內容檔案中定義了對等的 `styles` 屬性，兩者的內容會合併。如果發現重複的定義，則會優先使用配置中的定義，並覆寫內容檔案中的定義。

## 屬性

`colors` - *object*、*選擇性*。定義[色彩調色盤](/zh-TW/reference/system/touchadaptationkit/layout/game-streaming-touch-color-palette)集合，其中的色彩可在整個配置中重複使用。

## 另請參閱

[Touch Adaptation Kit 參考](/zh-TW/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview)\
[開始使用範例配置](/zh-TW/build/core-features/common/game-streaming/building-touch-layouts/samples/game-streaming-touch-getting-started-with-sample-layouts)


## Related topics

- [移植到 XBOX GDK 的指南](/zh-TW/home/build-first-title/porting-guides.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
