@acnb/plugins
v0.5.5
Published
Plugins for acnb.
Downloads
18
Readme
plugins
Plugins for acnb.
Usage
npm i @acnb/corenpm i @acnb/pluginsimport { 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',
}
)