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

# Themes

> Built-in themes and custom theme support in Rayfield.

## Using a theme

Pass a theme identifier to `CreateWindow`, or call `Window.ModifyTheme()` at any time.

```lua theme={null}
Window.ModifyTheme('Default')
```

Or set it during window creation:

```lua theme={null}
local Window = Rayfield:CreateWindow({
   Theme = "Default",
   -- ...
})
```

***

## Available themes

| Theme name | Identifier  | Preview                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ---------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Default    | `Default`   | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Default.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=0c952763a1ef9550ca9fc6fdeb68cfae" alt="Default" width="500" height="475" data-path="images/themes/Default.png" />                    |
| Amber Glow | `AmberGlow` | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/AmberGlow.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=ca4587aea57938109019ab5021abae24" alt="Amber Glow" width="501" height="476" data-path="images/themes/AmberGlow.png" /> |
| Amethyst   | `Amethyst`  | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Amethyst.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=dfb53b624a52013052396a63379c1b45" alt="Amethyst" width="502" height="476" data-path="images/themes/Amethyst.png" />           |
| Bloom      | `Bloom`     | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Bloom.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=2a63f0277f973c70d3634285ebdcaede" alt="Bloom" width="502" height="477" data-path="images/themes/Bloom.png" />                                      |
| Dark Blue  | `DarkBlue`  | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/DarkBlue.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=3c3edf311c4008daa7c96971c8103f5e" alt="Dark Blue" width="502" height="476" data-path="images/themes/DarkBlue.png" />          |
| Green      | `Green`     | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Green.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=d54828f716742782bfd1b31bee215f00" alt="Green" width="502" height="476" data-path="images/themes/Green.png" />                                      |
| Light      | `Light`     | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Light.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=0c8ce5820daa43364c1e551dcf3df34e" alt="Light" width="501" height="476" data-path="images/themes/Light.png" />                                      |
| Ocean      | `Ocean`     | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Ocean.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=169f046e109699b11f8a83dfcada3ddf" alt="Ocean" width="501" height="477" data-path="images/themes/Ocean.png" />                                      |
| Serenity   | `Serenity`  | <img src="https://mintcdn.com/sirius-b451bfde/i5Ltpj53aNl_8MQt/images/themes/Serenity.png?fit=max&auto=format&n=i5Ltpj53aNl_8MQt&q=85&s=042bf576db39b6a77a6b8183099719e9" alt="Serenity" width="505" height="478" data-path="images/themes/Serenity.png" />           |

***

## Custom themes

You can define your own theme as of Rayfield 1.53. Pass a theme table in place of a theme identifier string in either `ModifyTheme` or `CreateWindow`.

```lua theme={null}
{
	TextColor = Color3.fromRGB(240, 240, 240),

	Background = Color3.fromRGB(25, 25, 25),
	Topbar = Color3.fromRGB(34, 34, 34),
	Shadow = Color3.fromRGB(20, 20, 20),

	NotificationBackground = Color3.fromRGB(20, 20, 20),
	NotificationActionsBackground = Color3.fromRGB(230, 230, 230),

	TabBackground = Color3.fromRGB(80, 80, 80),
	TabStroke = Color3.fromRGB(85, 85, 85),
	TabBackgroundSelected = Color3.fromRGB(210, 210, 210),
	TabTextColor = Color3.fromRGB(240, 240, 240),
	SelectedTabTextColor = Color3.fromRGB(50, 50, 50),

	ElementBackground = Color3.fromRGB(35, 35, 35),
	ElementBackgroundHover = Color3.fromRGB(40, 40, 40),
	SecondaryElementBackground = Color3.fromRGB(25, 25, 25),
	ElementStroke = Color3.fromRGB(50, 50, 50),
	SecondaryElementStroke = Color3.fromRGB(40, 40, 40),

	SliderBackground = Color3.fromRGB(50, 138, 220),
	SliderProgress = Color3.fromRGB(50, 138, 220),
	SliderStroke = Color3.fromRGB(58, 163, 255),

	ToggleBackground = Color3.fromRGB(30, 30, 30),
	ToggleEnabled = Color3.fromRGB(0, 146, 214),
	ToggleDisabled = Color3.fromRGB(100, 100, 100),
	ToggleEnabledStroke = Color3.fromRGB(0, 170, 255),
	ToggleDisabledStroke = Color3.fromRGB(125, 125, 125),
	ToggleEnabledOuterStroke = Color3.fromRGB(100, 100, 100),
	ToggleDisabledOuterStroke = Color3.fromRGB(65, 65, 65),

	DropdownSelected = Color3.fromRGB(40, 40, 40),
	DropdownUnselected = Color3.fromRGB(30, 30, 30),

	InputBackground = Color3.fromRGB(30, 30, 30),
	InputStroke = Color3.fromRGB(65, 65, 65),
	PlaceholderColor = Color3.fromRGB(178, 178, 178)
}
```
