Numbers Probably Matter

    @vivliostyle/theme-gutenberg

    0.1.1 • Public • Published

    Vivliostyle Theme Gutenberg

    npm: version npm: total downloads npm: license

    book theme for latin font

    Install

    npm install --save @vivliostyle/theme-gutenberg
    # or
    yarn add @vivliostyle/theme-gutenberg

    Use

    In vivliostyle.config.js:

    module.exports = {
      theme: 'vivliostyle-theme-gutenberg',
    };

    Dev

    Files

    vivliostyle-theme-gutenberg
    ├── LICENSE
    ├── README.md
    ├── example
    │   ├── default.html       // auto generated
    │   └── default.md         // 🖋
    ├── package.json
    ├── scss                   // 🖋
    │   ├── theme_common.scss
    │   ├── theme_print.scss
    │   └── theme_screen.scss
    ├── theme_common.css       // auto generated
    ├── theme_common.css.map   // auto generated
    ├── theme_print.css        // auto generated
    ├── theme_print.css.map    // auto generated
    ├── theme_screen.css       // auto generated
    ├── theme_screen.css.map   // auto generated
    └── vivliostyle.config.js
    

    example: Contain sample manuscripts using your theme.

    scss: You can add files for specific use (print, screen, cover, toc, preface, ...) and apply them at theme entry > theme in vivliostyle.config.js. Partial files whose names begin with _ will be ignored.

    Commands

    Run vivliostyle preview to preview your theme_*.css.

    To watch file changes, use dev script.

    npm run dev
    # or
    yarn dev

    You can specify your CSS file and manuscript file for preview in vivliostyle.config.js:

    module.exports = {
      language: 'en',
      theme: 'theme_print.css',
      // theme: 'theme_screen.css',
      entry: [
          'example/default.md',
          // and more...
      ],
    }

    Run vivliostyle-theme-scripts validate before publishing your package.

    npm run validate
    # or
    yarn validate

    Install

    npm i @vivliostyle/theme-gutenberg

    DownloadsWeekly Downloads

    25

    Version

    0.1.1

    License

    CC0-1.0

    Unpacked Size

    1.46 MB

    Total Files

    86

    Last publish

    Collaborators

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