> For the complete documentation index, see [llms.txt](https://docs.nickarce.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nickarce.com/etch-drawer/customization/custom-css.md).

# Custom CSS

Customize the visual appearance by setting these custom properties on `.c-drawer` or `:root`.

## Custom properties

| Variable                  | Description                          | Default                       |
| ------------------------- | ------------------------------------ | ----------------------------- |
| `--drawer-bg`             | Drawer background color              | `#fff`                        |
| `--drawer-overlay-color`  | Overlay background color             | `rgba(0,0,0,0.4)`             |
| `--drawer-duration`       | Transition duration                  | `0.5s`                        |
| `--drawer-easing`         | Transition easing curve              | `cubic-bezier(0.32,0.72,0,1)` |
| `--drawer-radius`         | Drawer border radius                 | `var(--radius)`               |
| `--drawer-inset`          | Margin from viewport edges           | `8px`                         |
| `--drawer-max-height`     | Maximum height for vertical drawers  | `92dvh`                       |
| `--drawer-max-width`      | Maximum width for horizontal drawers | `24rem`                       |
| `--drawer-body-padding`   | Padding inside `.c-drawer__body`     | `var(--space-m)`              |
| `--drawer-handle-width`   | Drag handle width                    | `48px`                        |
| `--drawer-handle-height`  | Drag handle height                   | `4px`                         |
| `--drawer-handle-color`   | Drag handle color                    | `#b4b4b8`                     |
| `--drawer-handle-padding` | Drag handle wrapper padding          | `1.25rem 0 1rem`              |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.nickarce.com/etch-drawer/customization/custom-css.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.
