Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17208 from atom/sm-ibeam
Browse files Browse the repository at this point in the history
Fix white I-beam cursor
  • Loading branch information
simurai authored and maxbrunsfeld committed Apr 25, 2018
1 parent 483e176 commit be7be78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion static/cursors.less
Expand Up @@ -8,7 +8,7 @@
@ibeam-2x: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC');

.cursor-white() {
cursor: -webkit-image-set(@ibeam-1x 1dppx, @ibeam-2x 2dppx) 5 8, text;
cursor: -webkit-image-set(@ibeam-1x 1x, @ibeam-2x 2x) 5 8, text;
}

// Editors
Expand Down
1 change: 1 addition & 0 deletions stylelint.config.js
Expand Up @@ -19,5 +19,6 @@ module.exports = {
"rule-empty-line-before": null, // TODO: enable?
"at-rule-empty-line-before": null, // TODO: enable?
"font-family-no-duplicate-names": null, // TODO: enable?
"unit-no-unknown": [true, {"ignoreUnits": [ "x" ]}], // Needed for -webkit-image-set 1x/2x units
}
}

0 comments on commit be7be78

Please sign in to comment.