Plugins for acnb.
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',
}
)