readium / readium-css

🌈 A set of reference stylesheets for EPUB Reading Systems, starting with Readium Mobile
https://readium.org/readium-css/
BSD 3-Clause "New" or "Revised" License
92 stars 20 forks source link

Build process should be more flexible and give the option to “compile” modules instead of bundling them #51

Open JayPanoz opened 6 years ago

JayPanoz commented 6 years ago

I'm submitting a feature request

Short description of the issue/suggestion:

The build process is currently all or nothing for user settings, you can only bundle, you can’t “compile” each module into a specific stylesheet.

What is the expected behaviour?

With HTTP2, it makes sense to break up CSS into smaller files e.g. user settings submodules. We should anticipate this need.

What is the current behaviour?

We’re currently bundling everything into the ReadiumCSS-after.css stylesheet.

What is the motivation / use case for changing the behaviour?

Implementers might prefer to append/remove styles for user settings on user interaction.

Do you know which CSS modules (stylesheets) are impacted?

This is limited to user settings.

Other information (e.g. related issues, suggestions how to fix, links for us to have context)