void-docs icon indicating copy to clipboard operation
void-docs copied to clipboard

Update theme, add light/dark mode switch

Open classabbyamp opened this issue 3 years ago • 3 comments

This PR builds off of @ericonr's WIP PR #581, and adds UI elements for printing and editing void-docs, as well as a button to toggle between light and dark modes.

Examples of the updated version is live at https://book.qrm.cat and https://void-book.qrm.cat

classabbyamp avatar Apr 02 '22 05:04 classabbyamp

This looks mostly ok to me :) Thanks for pushing it ahead!

The print button sends me to https://void-book.qrm.cat/print.html and opens the print dialog for the About page, so there seems to be a bug there.

ericonr avatar Jul 17 '22 20:07 ericonr

Hm, that might be a limitation of the mdbook printing capability. I'll take a look into it

classabbyamp avatar Jul 17 '22 21:07 classabbyamp

can confirm. for example, this mdbook will go back to the first page when you press the print button.

Also, it will print all pages, not just the first page (the about page in void-docs' case)

classabbyamp avatar Jul 18 '22 05:07 classabbyamp