2.8.0 • Published 8 months ago
@o2project/vivliostyle-theme-o2project v2.8.0
Vivliostyle Theme O2 Project
Vivliostyle theme for O2 Project
Install
npm install --save @o2project/vivliostyle-theme-o2project
# or
yarn add @o2project/vivliostyle-theme-o2project
Use
In vivliostyle.config.js
:
module.exports = {
theme: '@o2project/vivliostyle-theme-o2project',
};
Dev
- example: Contain sample manuscripts using your theme.
- src: 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: '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
2.3.0
8 months ago
2.2.1
8 months ago
2.2.0
8 months ago
2.5.0
8 months ago
2.4.0
8 months ago
2.7.0
8 months ago
2.6.0
8 months ago
2.8.0
8 months ago
2.1.0
8 months ago
2.0.3
10 months ago
2.0.2
10 months ago
2.0.4
10 months ago
2.0.1
10 months ago
2.0.0
3 years ago
1.9.0
3 years ago
1.8.0
3 years ago
1.7.1
3 years ago
1.7.0
3 years ago
1.6.3
3 years ago
1.6.2
3 years ago
1.6.1
3 years ago
1.6.0
3 years ago
1.5.0
3 years ago
1.4.0
3 years ago
1.3.0
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.0
3 years ago
1.0.2
3 years ago
1.0.0
3 years ago