bashtage / sphinx-material

A material-based, responsive theme inspired by mkdocs-material
Other
312 stars 91 forks source link

Allow arbitrary colors for "color_primary" #111

Open kebekus opened 3 years ago

kebekus commented 3 years ago

Dear Bashtage,

again, thank you for your wonderful project. I have a bit of a difficulty with "color_primary". I use sphinx-material for the manual of an app for Android that uses Material and that uses "teal" as a primary color. It seems, however, that color in my app is quite a bit darker than the "teal" defined in sphinx-material. The effect is a rather unprofessional look.

I guess that it would be easiest if I could define arbitrary HEX colors in "color_primary". Any help/improvement is greatly appreciated.

Best,

Stefan

nickeubank commented 3 years ago

+1 !

martinberoiz commented 2 years ago

Hi, I was about to open a new issue and then I read this one. I have the exact same problem. It turns out that I want to match pre-existing docs that use MkDocs but the color_primary is none of the options.

Does anyone know of a workaround? Like dropping a new CSS somewhere that overrides sphinx-material. Otherwise I'll have to go nuclear and fork this one with the color replaced.

Great plug in btw.