# Highlighter Composer Button

**URL:** https://meta.discourse.org/t/highlighter-composer-button/277597
**Category:** Theme component
**Tags:** broken
**Created:** [September 3, 2023, 1:56am UTC](https://meta.discourse.org/t/highlighter-composer-button/277597 "2023-09-03T01:56:39Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [September 5, 2023, 6:26am UTC](https://meta.discourse.org/t/highlighter-composer-button/277597/20 "2023-09-05T06:26:08Z")

</div>

> [@Lilly](#):
>
> Maybe I’ll see if a javascript one is possible somehow.

The color picker JSON setting (in a theme/component) is not working on Discourse, indeed.  
I think good practice would be to use Discourse colors variables in general instead of picking arbitrary colors in a theme or component that won’t blend nicely depending on what other themes and colors users chose.

A user made a color picker for the composer some time ago, but I’m not sure the code was released:

> [@BBcode color tags in a theme](https://meta.discourse.org/t/bbcode-color-tags-in-a-theme/211902/8):
>
> I think I have something cooked up based on the previous work of you guys. Will post a PR this weekend. Still bugs and things to iron out. [qKJ3Qt2RpY]

---

_[View the full topic](https://meta.discourse.org/t/highlighter-composer-button/277597)._
