Conditionally enable the white cursor

Detects whether a dark syntax theme is loaded and enables the white cursor only if true. It looks for a single CSS class name on the workspace that contains the words `theme`, `dark` and `syntax`.

Fixes #2