@vivliostyle/theme-bunko

1.0.1 • Public • Published

Bunko

npm: total downloads npm: license

A simple and stylish theme for Vivliostyle.

文庫用のテーマ。

Use

In vivliostyle.config.js:

module.exports = {
  theme: '@vivliostyle/theme-bunko',
};

Available theme CSS variables

:root {
  /**
   *  Number of lines per page/Number of characters per line
   */
  --vs-theme--num-of-line: 15;
  --vs-theme--num-of-character: 39;
  /**
   *  Content to be displayed in the upper left/upper right corner of the page spread
   */
  --vs-theme--page-top-left-content: counter(page) ' ' env(doc-title);
  --vs-theme--page-top-right-content: counter(page);
  /**
   *  Indent size of subsection
   */
  --vs-theme--subsection-text-indent: 3rem;
  /**
   *  Color of anchor texts on screen media
   */
  --vs-theme--anchor-color-body: darkblue;
}

License

CC0 1.0

Original author: Vivliostyle project team

Package Sidebar

Install

npm i @vivliostyle/theme-bunko

Weekly Downloads

9

Version

1.0.1

License

CC0-1.0

Unpacked Size

38.7 kB

Total Files

8

Last publish

Collaborators

  • mshinyu
  • uetchy
  • akabeko
  • youchan
  • spring-raining
  • johanneswilm
  • yamasy1549