tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
57 stars 39 forks source link

Improve readability #406

Closed Esorat closed 1 month ago

Esorat commented 1 month ago

I suggest improving the readability of the text.

https://docs.tact-lang.org/book/send/

Screenshot 2024-10-09 at 3 22 41 PM
novusnota commented 1 month ago

Thank you for the report. This is a known problem for the light theme, because the inline code highlighting (those functions in the note, for example) uses the One Dark theme independent of the theme on the website elsewhere.

As a workaround, I suggest using the dark theme instead (switch in top right corner), since dark theme is the main priority and it looks the best.

P.S.: Block highlighting in light theme works great, so it's only the inline highlighting inside the asides (note, tip, etc.) that has to be addressed in the future, either by adjusting the highlighting engine or removing the highlighting from those asides altogether.