> For the complete documentation index, see [llms.txt](https://misago.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://misago.gitbook.io/docs/categorystyles.md).

# Category styles

Misago categories allow you to specify their css class when editing them in admin control panel.

This class is then used to build proper css class names used around the UI. For example, entering "protoss" in class's css name will result in category on categories lists and threads in this class on threads list having `list-group-category-has-flavor` and `list-group-item-category-protoss` css classes on them, allowing you to differentiate this category and its threads on lists. In addition to this, such category's page and its thread page would have `page-threads-protoss` and `page-thread-protoss` classes so you could customize it further.

## CSS shared for all custom classed

Items on list that have custom class added to them also have `list-group-category-has-flavor` css class that allows you to include customisations common for all classes in one place for both simplicity and css size reduction.

## Default classes

Misago's default theme defines basic classes named after colors in [Material Design Palette](https://material.io/guidelines/style/color.html#color-color-palette), visualised as bands added to left side of category and its threads on lists:

* `red`
* `light-red`
* `pink`
* `light-pink`
* `purple`
* `light-purple`
* `deep-purple`
* `indigo`
* `light-indigo`
* `blue`
* `light-blue`
* `cyan`
* `light-cyan`
* `teal`
* `light-teal`
* `green`
* `light-green`
* `lime`
* `yellow`
* `amber`
* `orange`
* `deep-orange`
* `brown`
* `light-brown`
* `blue-grey`
* `light-blue-grey`
* `grey`
* `black`


---

# 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, and the optional `goal` query parameter:

```
GET https://misago.gitbook.io/docs/categorystyles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
