themes-classname

2.0.0 • Public • Published

themes-classname

npm i themes-classname --save
var themesClassName = require('themes-classname')
themesClassName({
    themes: 'dark',
    prefixClassName: 'm-modal'
})
// "m-modal--themes-dark"
themesClassName({
    themes: 'dark big',
    prefixClassName: 'm-modal'
})
// "m-modal--themes-dark m-modal--themes-big"
themesClassName({
    themes: 'dark big',
    prefixClassName: 'm-select'
}, 'menu')
// "m-select-menu--themes-dark m-select-menu--themes-big"

Dependents (2)

Package Sidebar

Install

npm i themes-classname

Weekly Downloads

10

Version

2.0.0

License

MIT

Unpacked Size

2.61 kB

Total Files

4

Last publish

Collaborators

  • nimojs