Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow arbitrary colors for "color_primary" #111

Open
kebekus opened this issue Jul 21, 2021 · 2 comments
Open

Allow arbitrary colors for "color_primary" #111

kebekus opened this issue Jul 21, 2021 · 2 comments

Comments

@kebekus
Copy link

kebekus commented Jul 21, 2021

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
Copy link

+1 !

@martinberoiz
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants