redimp / otterwiki

A minimalistic wiki powered by python, markdown and git.
https://otterwiki.com
MIT License
652 stars 29 forks source link

Page tree colors #148

Closed ervinBLU closed 1 month ago

ervinBLU commented 1 month ago

Page tree colors, when having many pages in a category and subcategories with its pages, it takes a while to find what you look for. Having categories and subcategories in green text and pages in blue, headlines in red is much more pleasant to find what you look for.

I used the color utilities from Halfmoon

Categories: .text-success Pages: .text-primary Headers: .text-danger

example image

image

image

redimp commented 1 month ago

Hey @ervinBLU, thank you for your pull request. I'm personally not good with colors, they distract me and I'm never happy with any combination.

I agree that the Page Index could need some improvedment to make Folders, Pages and Headings more distinguishable, but this amount of colors is in my opinion too much. What do you think of these modifications, with bold folders and italic headings?

image

What do you think?

To make this customizeable, I will add classes to the different types of items, so that they can be changed with a custom css:

ervinBLU commented 1 month ago

Yea I understand, in a way having lot's of colors is a bit distracting, your solution is fine as well, but if there is a way to customize them with .css then yea, that would be perfect. Thank you.

redimp commented 1 month ago

The proposed compromise (see b678033 ) bas been released in v2.7.0.