CristianVasile23 / conversation-hud

A simple FoundryVTT module that adds a nice HUD that display the portraits of all the characters present in a conversation.
MIT License
16 stars 2 forks source link

[Feature Request] Expose some CSS options #9

Closed dirusulixes closed 1 year ago

dirusulixes commented 1 year ago

The module is great but I'd love for it to have some flexibility in the CSS exposed as settings. For example, I use square portraits in my campaign and wanted to have the active participant name font size a little bigger. Screenshot from 2023-04-13 11-22-56

CristianVasile23 commented 1 year ago

I will most likely add options to customize several aspects of the HUD in the future, but it might take some time as this feature is not exactly a priority at the moment. That said, I will be looking into this eventually but I can't promise when that will be.

Steelskinz commented 1 year ago

I can't wait to see it, would be great for swapping background picture when narrating :) image

CristianVasile23 commented 1 year ago

Hey @Steelskinz, sorry for the late reply I have been a bit busy. By swapping the background picture, do you mean to have the option to change the dark overlay with a specific image? Or are you referring to something else?

CristianVasile23 commented 1 year ago

@dirusulixes, with release 4.0.0 I have added some customization options in the module settings. Among these you will find the font size option for the active participant, as well as a portrait style option which should add full support for square portraits (honestly, I was surprised that square portraits were even working in the first place).

In the future, I will be adding more options for further customization, but for now I think you should have what you needed. If you have any other ideas or requests, please let me know.

dirusulixes commented 1 year ago

Nice, thanks! And yeah, square portraits weren't working properly. I modified the css to make them work.

Steelskinz commented 1 year ago

Hey @Steelskinz, sorry for the late reply I have been a bit busy. By swapping the background picture, do you mean to have the option to change the dark overlay with a specific image? Or are you referring to something else?

I completly miss that notification (Sorry), I was more thinking changing the ratio of the picture so it can be use for a Theater of Mind Background.

CristianVasile23 commented 1 year ago

I completly miss that notification (Sorry), I was more thinking changing the ratio of the picture so it can be use for a Theater of Mind Background.

No worries @Steelskinz, it happens.

As to the ratio of the image, I think I get what you are trying to do and with release 4.0.0 I have added the option to use landscape images as well. Unfortunately you can only have one type of image orientation (landscape, vertical or square), which I know is not ideal. Initially I tried to set the orientation on a case-by-case basis, but this caused numerous issues with the layout and it just looked weird when changing between participants of different orientations so I decided to scrap that feature.

That said, the module wasn't really designed for theater of the mind. You can use it in that way I guess but it really isn't what I envisioned for it. Maybe in the future I might add more options to this module that permits some theater of mind functionality, but for now I'm afraid that it's not possible.

If you want you can contact me on discord (Saervicus#7305) as I might have a possible workaround that might achieve a similar effect to what you had in mind.