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

# Night Mode Styling

By using the Edit Card Template action, it is possible to customize how
cards appear when night mode/dark mode is enabled.

If you wanted a grey background instead of black, you could use
something like:

```css theme={null}
.card.nightMode {
    background-color: #555;
}
```

If you have a 'myclass' style, the following would show the text in
yellow when night mode is enabled:

```css theme={null}
.nightMode .myclass {
    color: yellow;
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.