# GH_Theme class

Namespace: [Grasshopper.GUI.Theme](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.theme.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_Theme : GH_ISerializable
```

## Constructors

- [GH_Theme](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/ctor.md): (2 overloads) Create a new default theme.

## Properties

- [BackGround](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/background.md): Gets the theme background settings.
- [DefaultTheme](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/defaulttheme.md): (static)
- [Objects](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/objects.md): Gets the theme objects and ZUI settings.
- [Page](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/page.md): Gets the theme page and grid settings.
- [Palettes](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/palettes.md): Gets the theme palette settings.
- [Wires](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/wires.md): Gets the theme wire settings.

## Methods

- [LoadTheme](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/loadtheme.md): Instantiate all palette and gui defaults. This function reads the colour values out of grasshopper_gui.xml settings database if it exists.
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/read.md)
- [SaveTheme](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/savetheme.md): Store all palette and gui defaults. This function writes the colour values out to grasshopper_gui.xml settings database.
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.theme.gh-theme/write.md)
