Vencord icon indicating copy to clipboard operation
Vencord copied to clipboard

[Plugin] Message Colors

Open henmalib opened this issue 1 year ago • 7 comments

Displays hex/rgb/hsl colors in messages with a tiny-colored box nearby :3

I might have made some bad code especially with dynamic element creation, so I would be glad to get roasted

Also includes a color-picker image

henmalib avatar May 29 '24 21:05 henmalib

A nice addition to this would be the ability to have the colors highlight over the value. For example #ff0000 would be highlighted as red over the text. (As a custom setting to switch between box / highlight)

byeoon avatar Jun 12 '24 13:06 byeoon

A nice addition to this would be the ability to have the colors highlight over the value. For example #ff0000 would be highlighted as red over the text. (As a custom setting to switch between box / highlight)

I forgot to mention it, but I already done this a few weeks ago

image

image

image

henmalib avatar Jun 16 '24 12:06 henmalib

I decided to remove 'floating #' because of weird behavior with words like eye Should I nuke color picker as well? background-color now swaps between normal text color and --background-tertiary image image image

Unfortunately I still wasn't able to find better way to change only some part of the text without horror that I have :(

henmalib avatar Jun 21 '24 12:06 henmalib

After a few days of fighting with my stupidity, I finally found a way to deal with it without "dynamic react"

Now all colored text parses as discords markdown rule, which is definitely a much better way of doing it. And it's a lot more readable now

henmalib avatar Jun 27 '24 14:06 henmalib

So I've decided to nuke a color picker for a greater good. Mostly colors are taken from some sort of color theme or taken from a picker from a different program, which makes usage of the built-in one really rare.

Also, less things in a plugin makes it easier to concentrate on fixing it if doomsday comes again

henmalib avatar Jun 27 '24 19:06 henmalib

I love force push ( please discard changes for dearrow ) UPD: nvm, thanks, refined GitHub

Also, should I sacrifice a cockroach to get this moving? :pleadey:

henmalib avatar Sep 04 '24 12:09 henmalib

I love force push ( please discard changes for dearrow )

Also, should I sacrifice a cockroach to get this moving? :pleadey:

go for it (randomly saw this pop up in my notifs so i hope it gets merged soon)

byeoon avatar Sep 08 '24 03:09 byeoon

What a year

henmalib avatar Jul 15 '25 16:07 henmalib

It's been 2 years and it still works without a trouble 🙏 ( well, technically 5 month since last small fix )

henmalib avatar Dec 04 '25 08:12 henmalib

Vee, i will find you, marry you, force you to check my prs and then I'll leave with your money leaving you nothing, but kids

henmalib avatar Dec 15 '25 21:12 henmalib

i wish i had such a relationship

Faf4a avatar Dec 15 '25 21:12 Faf4a

Vee, i will find you, marry you, force you to check my prs and then I'll leave with your money leaving you nothing, but kids

sorry you have to keep copilot

thororen1234 avatar Dec 15 '25 21:12 thororen1234

you people have lost your damn minds

heartmile avatar Dec 15 '25 21:12 heartmile

As a smart person once said...

image

or in more better details..

image

I will ask someone to buy a toilet for vee and also leave comments/review a code if someone is interested in 🙏

henmalib avatar Dec 18 '25 15:12 henmalib