book theme for latin font
In vivliostyle.config.js:
module.exports = {
theme: 'vivliostyle-theme-gutenberg',
};theme-gutenberg also provides some extra theme files derived from the basic theme.
module.exports = {
theme: {
specifier: 'vivliostyle-theme-gutenberg',
import: 'alice.css',
},
};module.exports = {
theme: {
specifier: 'vivliostyle-theme-gutenberg',
import: 'fang.css',
},
};module.exports = {
theme: {
specifier: 'vivliostyle-theme-gutenberg',
import: 'sherlock.css',
},
};:root {
/**
* Styles for drop caps
*/
--vs-theme-gutenberg--dropcap-font-size: 1.8em;
--vs-theme-gutenberg--dropcap-font-weight: var(--vs-font-weight-bold);
--vs-theme-gutenberg--dropcap-line-height: 1;
--vs-theme-gutenberg--dropcap-text-indent: 0;
}The running head and the page number use the page variables of the base theme: the publication title sits at the top center and the page number at the outer bottom corner.
:root {
--vs-page--mbox-top-center-content: env(pub-title);
--vs-page--mbox-bottom-outside-content: counter(page);
--vs-page--mbox-text-color: gray;
}CC0 1.0
Original author: Vivliostyle project team


