Refactor.

Implements syntax-variables and color vars. Stolen from electron-syntax-dark.