Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gitbook-plugin-autotheme

willin22MIT1.0.1

Gitbook 自动切换主题插件

gitbook, plugin, auto, theme, change

readme

Gitbook AutoTheme Plugin

npm npm npm

Config:

{
    "plugins": ["autotheme"],
    "pluginsConfig": {
        "autotheme": {
          "white": [9, 10, 11, 12, 13, 14, 15, 16],
          "sepia": [6, 7, 8, 17, 18, 19],
          "night": [20, 21, 22, 23, 0, 1, 2, 3, 4, 5]
        }
    }
}

演示:http://leader.js.cool/

如果喜欢,请打赏

LICENSE

MIT

Alipay Donation(通过支付宝捐赠):

qr