Skip to content

Readium CSS v2 update#739

Open
stevenzeck wants to merge 52 commits intoreadium:readium-css-v2from
stevenzeck:readium-css-v2-update
Open

Readium CSS v2 update#739
stevenzeck wants to merge 52 commits intoreadium:readium-css-v2from
stevenzeck:readium-css-v2-update

Conversation

@stevenzeck
Copy link
Contributor

@stevenzeck stevenzeck commented Mar 2, 2026

  1. Uses npm to manage Readium CSS instead of git cloning.
  2. The copy-webpack-plugin handles copying the CSS files from node_modules to EPUB/Assets/Static/readium-css/ReadiumCSS-before.css.
  3. The existing make-scripts do 1 and 2.
  4. I also added a minifier script for the CSS. It saves ~15%. It's not being used in the Makefile, so either change it there or go into EPUB/Scripts and run pnpm run bundle:minify.
  5. The CSS files are included in this update.
  6. develop has been merged in.

The following properties need to be reviewed, as I don't think they're in the CSS. But maybe we can do that in the branch this PR goes into.

  1. --USER__view
  2. --USER__appearance
  3. --USER__blendImages
  4. --USER__a11yNormalize
  5. --RS__maxLineLength

ddfreiling and others added 30 commits November 6, 2025 12:00
mickael-menu and others added 20 commits February 5, 2026 20:11
CSS is managed through npm now. Run `make scripts` to add them to node_modules. The copy-webpack-plugin handles moving them from node_modules to the readium-css folder.
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.

6 participants