flake-parts / community.flake.parts

A `flake-parts` community website containing docs for various community modules
https://community.flake.parts
20 stars 1 forks source link

Change theme to match `flake.parts` #7

Open srid opened 10 months ago

srid commented 10 months ago

@roberth Could you confirm that this is what you want community.flake.parts to look like?

image
srid commented 10 months ago

And is this a builtin theme of mdbook? Where is it defined, btw?

roberth commented 10 months ago

Yes, it is a good example for a documentation theme, because it is a calm, flat style that doesn't distract from the content. Also, a very similar style makes the two sites look more coherent.

It is mostly the default "light" theme, with a few overrides: https://github.com/hercules-ci/flake.parts-website/blob/main/site/flake-parts.css

The rest of the theme is as defined upstream by mdBook here.

srid commented 9 months ago

@roberth How do you find the Obsidian theme in comparison? https://publish.obsidian.md/tasks/Scripting/Custom+Sorting

Let's still do mdBook theme for consistency with flake.parts site, but am just curious.

roberth commented 9 months ago

The Obsidian theme has a couple of flaws, but the general looks is ok.