mkdocs-bootswatch icon indicating copy to clipboard operation
mkdocs-bootswatch copied to clipboard

As a user, I would like instructions on to edit the themes

Open EricPonvelle opened this issue 4 years ago • 4 comments

Hello,

I really liked the themes, and my company was looking at using these styles to do some proof-of-concept documentation before we can convert everything to this standard. However, as usual, people were questioning the colors. Go figure.

I was curious if I could get an explanation with how to change the themes colors and such. I have an extra-css file that Id like to use to keep everything easy for the rest of the team.

If I can get some insight, I would also like to contribute my experiences and a guide to the Wiki on here.

EricPonvelle avatar Jun 10 '20 21:06 EricPonvelle

This is in the MkDocs documentation: https://www.mkdocs.org/user-guide/configuration/#extra_css

fu-sen avatar Mar 22 '21 03:03 fu-sen

That is the link of how to structure the directory with .css files. I wanted to see the names of elements to change the stock themes to meet our needs.

EricPonvelle avatar Mar 25 '21 13:03 EricPonvelle

The theme is set in theme of mkdocs.yml. Is there a way to change this?

mkdocs.yml:

theme:
    name: flatly

Only the CSS for that theme goes into the site/ directory. Not all theme .css are included. Therefore, some means is required to achieve it.

fu-sen avatar Mar 25 '21 13:03 fu-sen

I think this is what you want to achieve: http://strapdown.ztx.io/

This GitHub Project may give you a hint to make it happen: https://github.com/chaitin/strapdown-zeta

fu-sen avatar Mar 25 '21 14:03 fu-sen