Skip to content

cnbloglabs/plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugins

Plugins for acnb.

Usage

npm i @acnb/core
npm i @acnb/plugins
import { createTheme } from '@acnb/core'
import { background } from '@acnb/plugins'

createTheme().use(background)

Configure the default behavior of the plugin in your Theme

import { createTheme } from '@acnb/core'
import { background } from '@acnb/plugins'

createTheme().use(background, {
  // The default configuration of the Theme
  enable: true,
})

Configure background plugin

import { createTheme } from '@acnb/core'
import { background } from '@acnb/plugins'

createTheme().use(
  background,
  {},
  {
    // The configuration of the plugin
    opacitySelector: '#sideBar,#mainContent,#footer',
  }
)

About

🧬 Plugins for cnblog themes.

Resources

License

Stars

Watchers

Forks

Languages