margo icon indicating copy to clipboard operation
margo copied to clipboard

Custom CSS support

Open wcampbell0x2a opened this issue 1 year ago • 2 comments

I'd like to customize the colors of the Margo website, but it seems there is no way unless I re-build the binary

wcampbell0x2a avatar Oct 16 '24 13:10 wcampbell0x2a

Sorry for the long delay!

My initial reaction with minimal time spent thinking is "no, we probably won't do that".

Notably, I chose to use Tailwind for Margo, which means that the CSS files are only a tiny piece of the puzzle — the HTML itself specifies a lot of theme aspects.

Can you walk me through your ideal process to customize this would be?

shepmaster avatar Nov 04 '24 20:11 shepmaster

I needed something similar so I implemented Handlebars support for my use case, see #34. @wcampbell0x2a I think this would also fit your requirements, correct? It would require copying the template and adjusting the Tailwind classes in order to change the colours, though, So it would be a little more involved than just some CSS tweaks.

woubuc avatar Aug 26 '25 11:08 woubuc