@acnb/plugins

0.5.3 • Public • Published

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',
  }
)

Readme

Keywords

Package Sidebar

Install

npm i @acnb/plugins

Weekly Downloads

3

Version

0.5.3

License

MIT

Unpacked Size

107 kB

Total Files

71

Last publish

Collaborators

  • guangzan