Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update theme, add light/dark mode switch #667

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Apr 2, 2022

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://void-book.qrm.cat

closes #581

@classabbyamp classabbyamp force-pushed the update branch 3 times, most recently from c639ace to e973189 Compare April 9, 2022 15:08
@classabbyamp classabbyamp force-pushed the update branch 3 times, most recently from 373fa9d to d16b3dd Compare June 2, 2022 20:48
@ericonr
Copy link
Member

ericonr commented Jul 17, 2022

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.

@classabbyamp
Copy link
Member Author

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

@classabbyamp
Copy link
Member Author

classabbyamp commented Jul 18, 2022

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 classabbyamp force-pushed the update branch 2 times, most recently from 1b0783e to f43741b Compare November 23, 2022 05:43
@classabbyamp classabbyamp force-pushed the update branch 2 times, most recently from 124a174 to 0f47f0b Compare April 29, 2023 19:38
add buttons for printing, editing, and changing to dark theme
clean up CSS, including improvements to the print theming

Co-authored-by: Érico Nogueira <erico.erc@gmail.com>
@classabbyamp classabbyamp merged commit 7281ced into void-linux:master Sep 6, 2023
@classabbyamp classabbyamp deleted the update branch September 6, 2023 21:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants