lx200916 / desktop_plugin_server

3 stars 3 forks source link

[FEATURE REQUEST] Can you add support for accent color on background/font? #2

Open bigplayer-ai opened 1 year ago

bigplayer-ai commented 1 year ago

Hey, Can you add support for accent color on background/font? As shown in the image below image

lx200916 commented 1 year ago

Uh...You mean let the lyrics windows follow the accent color in Windows Settings? Seems interesting but seems Accent Color is a quite new feature,idk if I can add support for it.

bigplayer-ai commented 1 year ago

check out AccentColorizer on GitHub for further reference.

lx200916 commented 1 year ago

1.Build the latest commit or download pre-release. 2.Replace the untitled13.exe file located at plugin folder(if u use cider plugin). 3.Edit config file: if u want to set bg_color to accent, set config item bg_color to [-1.0,0.0,0.0,0.0],(a magic value). or if u want to set text color, set the same value to text_color. (if u apply accent color to bg color, the alpha channel of the accent will be set to 0.2 to make contrast.) 4.Check the color.

bigplayer-ai commented 1 year ago

Where is the pre release I can't find it. Sorry for that mate, I can't build the plugin. Can you send me an installer/update the current desktoplyricsplugin in cider store?

lx200916 commented 1 year ago

Where is the pre release I can't find it. Sorry for that mate, I can't build the plugin. Can you send me an installer/update the current desktoplyricsplugin in cider store?

Okay, I commit an update at plugin repo, maybe you can check&update.

bigplayer-ai commented 1 year ago

man thank you <3

bigplayer-ai commented 1 year ago

1.Build the latest commit or download pre-release. 2.Replace the untitled13.exe file located at plugin folder(if u use cider plugin). 3.Edit config file: if u want to set bg_color to accent, set config item bg_color to [-1.0,0.0,0.0,0.0],(a magic value). or if u want to set text color, set the same value to text_color. (if u apply accent color to bg color, the alpha channel of the accent will be set to 0.2 to make contrast.) 4.Check the color.

Can I have the option to change alpha/contrast between lyrics text and plugin? I want text to be more sharp

lx200916 commented 1 year ago

If you update the plugin to the newest version, u can set the bg_color(or text_color) to [-1.0,0.0,0.0,X],X maybe any float value between (0.0,1.0],this will change alpha channel. To be honest, Windows does not handle Accent Palette gracefully, I suggest set the alpha of bg to 0.1 or 0.05 to make it a little better.

bigplayer-ai commented 1 year ago

If you update the plugin to the newest version, u can set the bg_color(or text_color) to [-1.0,0.0,0.0,X],X maybe any float value between (0.0,1.0],this will change alpha channel. To be honest, Windows does not handle Accent Palette gracefully, I suggest set the alpha of bg to 0.1 or 0.05 to make it a little better. 1) Can you not hardcode/force change alpha color? (changing to 0.2). (if u apply accent color to bg color, the alpha channel of the accent will be set to 0.2 to make contrast.)

2) Can you make the plugin update its colors instant/in real time when changing accent color or when changing the data in text file? I will try to make a GUI for desktop lyrics player colors. Such a good practice for my coding skills :3