diff --git a/static/white-cursor.less b/static/white-cursor.less index 91110571f..1b3a2415d 100644 --- a/static/white-cursor.less +++ b/static/white-cursor.less @@ -4,3 +4,17 @@ .white-cursor-image() { cursor: -webkit-image-set(@ibeam-1x 1x, @ibeam-2x 2x) 5 8, text; } + +// Editors +& when ( lightness(@syntax-background-color) < 50% ) { + .platform-darwin atom-text-editor:not([mini])::shadow .editor-contents--private { + .white-cursor-image(); + } +} + +// Mini Editors +& when ( lightness(@input-background-color) < 50% ) { + .platform-darwin atom-text-editor[mini]::shadow .editor-contents--private { + .white-cursor-image(); + } +}