# Edit a Mixin

Theme mixins are partial theme files that are always applied on top of a base theme. The concept is very similar to [JavaScript mixins](https://javascript.info/mixins).

You can edit a theme mixin in two ways:

* **Open a theme mixin file**

  Click the ![load Theme.Image](/files/VWk9Cq4voHEEetd1YpD8) Open Theme button on the toolbar and select the theme mixin file (.mixin.theme) to load.
* **Double click a theme mixin file**

  You can double click .mixin.theme file in a folder or in a **Visual Studio** project to load it in Theme Builder.

{% hint style="info" %}
You cannot create a theme mixin using the Theme Builder. Theme mixins are created in Visual Studio by adding the **Theme Mixin** component to the project, or manually by creating a new .mixin.theme file.
{% endhint %}

## Switch the Base Theme

While editing a theme mixin you can switch the base theme by selecting one of the preloaded themes, or by again clicking the ![load Theme.Image](/files/VWk9Cq4voHEEetd1YpD8) Open Theme button and selecting a .theme file.

When you change the base theme, the Theme Builder updates the previews but the tree and the editor are still limited to the elements defined in the mixin.

## See Also


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/theme-builder/getting-started/edit-a-mixin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
