Skip to content
New issue

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

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

Already on GitHub? Sign in 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

@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)

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
4 checks passed
@classabbyamp classabbyamp deleted the update branch September 6, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants