5
A
回答
7
在Atom中有一个非常简单的方法。导航到styles.less
通过文件>打开您的样式表。在这个文件的底部,会有这个代码
atom-text-editor::shadow .cursor {
}
这是光标颜色的代码。你可以通过做
border-color: //your color here; (yellow stands out well against the darker background)
里面的括号。
+0
非常感谢!它的工作原理 – 2015-03-06 10:43:59
+0
影子DOM自v1.13.0开始在Atom中被弃用。现在任何人都应该使用'atom-text-editor .cursor {...}'作为选择器。 – 2018-02-21 15:13:02
atom?它是什么?实际的原子或编辑器。 – 2015-02-08 13:08:54