# Styling

The Etherspot BUIDLER React Component can be styled to match your theme. See an example below of a theme object that can be passed to the Etherspot component:

## Example

```javascript
const theme = {
  color: {
    background: {
      main: "#221f33",
      topMenu: "#443d66",
      topMenuButton: "#ff884d",
      card: "#2b2640",
      button: "#ff884d",
      closeButton: "#ff884d",
      selectInputToggleButton: "#ff884d",
      selectInput: "#443d66",
      selectInputExpanded: "#1a1726",
      selectInputImagePlaceholder: "#443d66",
      textInput: "#1a1726",
      switchInput: "#1a1726",
      switchInputActiveTab: "#443d66",
      switchInputInactiveTab: "transparent",
      pill: "#2b2640",
      checkboxInputInactive: "#665c99",
      toDropdownColor: "#F8EFEA",
    },
    text: {
      selectInput: "#ffeee6",
      selectInputOption: "#ffeee6",
      selectInputOptionSecondary: "#ffeee6",
      searchInput: "#998ae6",
      searchInputSecondary: "#998ae6",
      outerLabel: "#998ae6",
      innerLabel: "#998ae6",
      topMenu: "#998ae6",
      main: "#ffeee6",
      topBar: "#998ae6",
      buttonSecondary: "#998ae6",
      card: "#ffeee6",
      cardTitle: "#ffeee6",
      button: "#fff",
      errorMessage: "#ff4d6a",
      textInput: "#ffeee6",
      textInputSecondary: "#ffeee6",
      switchInputActiveTab: "#ffeee6",
      switchInputInactiveTab: "#bbb8cc",
      selectInputImagePlaceholder: "#ffeee6",
      cardDisabled: "#605e5e",
      pill: "#bbb8cc",
      pillValue: "#ffeee6",
    },
  },
};
```

This object can then be passed directly to the Etherspot component:

```jsx
<Etherspot
  themeOverride={theme}
/>
```


---

# 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://v1.etherspot.io/buidler-react-component/blocks/styling.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.
