# How to add a custom theme

**URL:** <https://forum.gitea.com/t/how-to-add-a-custom-theme/781>\
**Category:** Install/Maintain/Configure\
**Created:** [December 14, 2018, 4:25pm UTC](https://forum.gitea.com/t/how-to-add-a-custom-theme/781 "2018-12-14T16:25:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raucao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/raucao/32/343_2.png) [@raucao](https://forum.gitea.com/u/raucao)\
**Post date:** [December 14, 2018, 4:25pm UTC](https://forum.gitea.com/t/how-to-add-a-custom-theme/781/1 "2018-12-14T16:25:12Z")

</div>

I found some less files for themes, e.g. [https://github.com/go-gitea/gitea/blob/master/public/less/themes/arc-green.less](https://github.com/go-gitea/gitea/blob/master/public/less/themes/arc-green.less)

How would one add a custom theme (that’s ideally also being built like that using less)? Is there a convention for adding it to sth like `custom/themes` perhaps?

---

<div class="post-metadata">

**Author:** ![azophy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/azophy/32/4796_2.png) [@azophy](https://forum.gitea.com/u/azophy)\
**Post date:** [January 28, 2019, 2:14am UTC](https://forum.gitea.com/t/how-to-add-a-custom-theme/781/2 "2019-01-28T02:14:59Z")

</div>

I have not try it yet, but from what I’ve read on the documentation here [https://docs.gitea.io/en-us/customizing-gitea/#other-additions-to-the-page](https://docs.gitea.io/en-us/customizing-gitea/#other-additions-to-the-page) , you could add custom css on the page header or just link another css file which could be put on custom/public/ directory ([https://docs.gitea.io/en-us/customizing-gitea/#serving-custom-public-files](https://docs.gitea.io/en-us/customizing-gitea/#serving-custom-public-files)) . Hope that helps

---

<div class="post-metadata">

**Author:** ![raucao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/raucao/32/343_2.png) [@raucao](https://forum.gitea.com/u/raucao)\
**Post date:** [January 28, 2019, 2:55am UTC](https://forum.gitea.com/t/how-to-add-a-custom-theme/781/3 "2019-01-28T02:55:22Z")

</div>

Ah, so I would put a `custom/public/css/theme-my-theme-name.css` then I guess? Worth a try.
