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

Remove box shadows from Reveal.js slides #229

Closed
wants to merge 1 commit into from
Closed

Remove box shadows from Reveal.js slides #229

wants to merge 1 commit into from

Conversation

zigarn
Copy link

@zigarn zigarn commented Mar 20, 2021

In case it was added through custom CSS.
Keeping box-shadow creates a heavy PDF file.

In case it was added through custom CSS.
Keeping it create an oversized PDF.
@astefanutti
Copy link
Owner

Thanks for the PR. To make sure we are not breaking intended usage of box shadows, are these styles coming from RevealJS default CSS? What version of RevealJS do you use?

@zigarn
Copy link
Author

zigarn commented Mar 22, 2021

No, it's not coming from default CSS of RevealJS.
But this style only applies to box of slides, so it's not visible when doing export with decktape but still have impact of PDF file size.

This is similar to 33b0975

@zigarn
Copy link
Author

zigarn commented Mar 22, 2021

If not accepted because not default CSS, I understand.

Then #191 would be great.

@astefanutti
Copy link
Owner

Right. I'd rather rely on #191 for custom CSS. We could add an option to the CLI so that users can provide their custom CSS patch, and have it inserted like in this PR, but rather in the main loop so that it benefits to all the presentation frameworks.

@zigarn zigarn closed this Mar 23, 2021
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.

2 participants