ltabis / rhai-autodocs

Generate Markdown documentation from a `rhai::Engine` instance.
MIT License
3 stars 1 forks source link

Better asseccibility for module items in mdbook #24

Closed Tired-Fox closed 4 months ago

Tired-Fox commented 4 months ago

The mdbook template adds a box shadow to the styling of each items wrapping div. This is fine for light themes, but when darker themes are used it is hard to tell where the start and where the end of these areas are.

Adding a border using the --theme-hover variable for the color adds a separation that matches the current theme and makes the distinction between items more visible.

Here is a screen shot of the styling being applied with the ayu theme.

image

ltabis commented 4 months ago

https://github.com/ltabis/rhai-autodocs/pull/25 makes it looks better in deed, i'll merge that asap