@openbayes/docusaurus-enlight
Docusaurus Enlight'ed by Kladenets color system made for OpenBayes
Demo
General appearance:
Auto dark mode via Kladenets for product pages:
Install
pnpm add @openbayes/docusaurus-enlight kladenets@next
Usage
In React:
import 'kladenets';
// CSS
import '@openbayes/docusaurus-enlight';
// SCSS (this method will expose `_variables.scss` in your project)
import '@openbayes/docusaurus-enlight/src/index.scss';
In Sass with Webpack:
@import '~kladenets';
// CSS
@import "~@openbayes/docusaurus-enlight";
// SCSS (this method will expose `_variables.scss` in your project)
@import "@openbayes/docusaurus-enlight/src/index.scss";
License
MPL-2.0