     primaryColor.property = secondaryColor.property = switch cursorType
       when 'block' then 'background-color'
       else 'border-color'
-
-    pulseDuration = if pulseDuration > 0 then "#{pulseDuration}ms" else ''
-    cursorThickness = if cursorType isnt 'block' then "#{cursorThickness}px" else ''
 
     # transition opacity instead of background-color to transparent
     if secondaryColor.alpha is 0

'use strict'
PackageConfigObserver = require 'atom-package-config-observer'

class BlockCursor
  config:

    @stylesheet.parentNode.removeChild @stylesheet
    @stylesheet = null

  updateGlobalCursorStyle: (@globalConfig) =>
    @updateCursorStyleForScope globalConfig, [atom.workspace], ''
    for own scopeName, editors of @configObserver.editorsForObservedScopes()
      scopedConfig = @configObserver.configForScope scopeName
      @updateCursorStyleForScope scopedConfig, editors, scopeName

  updateCursorStyleForScope: (scopedConfig, editors, scopeName) =>
    if scopedConfig isnt @globalConfig and equals scopedConfig, @globalConfig, scopeName
      return
    scopedConfig = @prepareConfig scopedConfig
    @updateStylesheet scopeName, scopedConfig
    for editor in editors
