> ## 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

# Styles

スタイル設定の目的でレイアウト全体にわたって参照できる、再利用可能なスタイルのコレクション。`styles` プロパティは、バンドルの [コンテキスト ファイル](https://docs.xbox.com/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-bundle.md#context) 内で定義することもできます。同等の `styles` プロパティがコンテキスト ファイルで定義されている場合、両者の内容はマージされます。重複する定義が見つかった場合、レイアウト内の定義が優先され、コンテキスト ファイル内の定義は上書きされます。

## プロパティ

`colors` - *object*、*省略可*。レイアウト全体で再利用できる色を持つ [color palettes](https://docs.xbox.com/ja-jp/reference/system/touchadaptationkit/layout/game-streaming-touch-color-palette.md) のコレクションを定義します。

## 関連項目

[Touch Adaptation Kit リファレンス](https://docs.xbox.com/ja-jp/build/core-features/common/game-streaming/game-streaming-touch-touch-adaptation-kit-overview.md)\
[サンプル レイアウトの使い始め](https://docs.xbox.com/ja-jp/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/ja-jp/reference/system/xaccessibility/enums/xclosedcaptionfontstyle.md)
- [XClosedCaptionProperties](https://docs.xbox.com/ja-jp/reference/system/xaccessibility/structs/xclosedcaptionproperties.md)
- [Layout](https://docs.xbox.com/ja-jp/reference/system/touchadaptationkit/layout/game-streaming-touch-layout.md)
- [XBOX Accessibility Guideline 121](https://docs.xbox.com/ja-jp/build/game-principles/accessibility/xag-deep-dives/xag-121-accessible-feature-documentation.md)
- [OpenSSL ライセンス](https://docs.xbox.com/ja-jp/services/playfab/sdks/cocos2d-x/Licenses/openssl-license.md)
