# Is there a theming 'map'? (An easy way to find plugin-outlets etc)

**URL:** <https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383>\
**Category:** Development\
**Created:** [January 22, 2020, 5:17am UTC](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383 "2020-01-22T05:17:53Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [February 7, 2020, 5:03am UTC](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383/11 "2020-02-07T05:03:02Z")

</div>

So it looks like this is not possible with theme components as there doesn’t seem to be any templates/components for this 😭

Appears this Ruby module is injecting inline styles: [discourse/lib/category\_badge.rb at 888e68a1637ca784a7bf51a6bbb524dcf7413b13 · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/888e68a1637ca784a7bf51a6bbb524dcf7413b13/lib/category_badge.rb)

Was this meant to be a temporary measure? If not, do you think it would be possible to allow us to specify custom styles please @sam?

It code be tied to the existing `none` option, where we could have two fields in the admin settings panel where we could paste our styles for each (if no styles are pasted it just acts like the `none` option acts now):

```plaintext
<span class="badge-category-bg" style="background-color: #25AAE2;"></span>

```

and

```plaintext
<span style="color: #FFFFFF;" data-drop-close="true" class="badge-category clear-badge restricted" title="A category exclusive to members with trust level 3 and higher."><svg class="fa d-icon d-icon-lock svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use xlink:href="#lock"></use></svg><span class="category-name">Lounge</span></span>

```

From this snippet:

 ![Screenshot 2020-02-07 at 04.57.03](https://global.discourse-cdn.com/meta/original/3X/f/9/f908d19d8668a3d9534292605ca6f1be2cc22d34.png)

We would just need access to the background colour and text colour variables from the usual category-edit page.

Or is there any other way we can edit this Sam? I just want to remove the background colour and give it a border that is the same colour as the text (as specific in the usual category-edit page).

Any help would be greatly appreciated.

**Edit** : appears that it’s not that Ruby file after all (I edited it on my dev install but nothing changed).. further digging and it seems like it’s this one: [discourse/app/assets/javascripts/discourse/helpers/category-link.js.es6 at b25d9e96c1414bf78b44221da4d385675843991e · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/b25d9e96c1414bf78b44221da4d385675843991e/app/assets/javascripts/discourse/helpers/category-link.js.es6) is there any way to create a plugin to modify it?

---

_[View the full topic](https://meta.discourse.org/t/is-there-a-theming-map-an-easy-way-to-find-plugin-outlets-etc/139383)._
