             description: 'Untick this for colored icons'
             default: false
             type: 'boolean'
-        closeUnpinned:
+        closeUnpinnedTabs:
             title: 'Disable the \'Close Unpinned Tabs\' option'
             description: 'Untick this to keep the option'
             default: true

{CompositeDisposable} = require 'atom'

module.exports = PinnedTabs =
    # Configuration of the package
    config:
        animation:
            title: 'Disable animations'

                body.classList.add 'pinned-icons-colorless'
            else
                body.classList.remove 'pinned-icons-colorless'
        atom.config.observe 'pinned-tabs.closeUnpinnedTabs', (newValue) =>
            body = document.querySelector 'body'
            if newValue
                body.classList.remove 'close-unpinned'
