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

Styling issues for Agda code in EPUB #673

Open
wenkokke opened this issue Jun 9, 2022 · 0 comments
Open

Styling issues for Agda code in EPUB #673

wenkokke opened this issue Jun 9, 2022 · 0 comments
Labels
accessibility Relates to accessibility. epub Relates to the EPUB version. help wanted style Relates to the styling of the book.

Comments

@wenkokke
Copy link
Collaborator

wenkokke commented Jun 9, 2022

Currently, Agda code blocks are displayed with set text background colour, which don’t change depending on whether the book is viewed in light or dark mode.

The easiest way to fix this would be to remove the box around code & text and background colours, and only use e.g. bold & oblique fonts for highlighting.

The more advanced way would be to investigate if we can have highlighting conditional on light or dark mode settings.

@wenkokke wenkokke added the epub Relates to the EPUB version. label Jun 9, 2022
@wenkokke wenkokke changed the title Fix styling issues for Agda code in EPUB Styling issues for Agda code in EPUB Jun 9, 2022
@wenkokke wenkokke added style Relates to the styling of the book. help wanted accessibility Relates to accessibility. labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Relates to accessibility. epub Relates to the EPUB version. help wanted style Relates to the styling of the book.
Projects
None yet
Development

No branches or pull requests

1 participant