mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-29 01:27:00 +03:00
Document favoring less over css
This commit is contained in:
parent
bb7d8812da
commit
0b8800c818
@ -119,19 +119,19 @@ make customizations. You have full access to Atom's API from code in this file.
|
||||
Please refer to the [Atom Internals Guide](./internals/intro,md) for more information. If your
|
||||
customizations become extensive, consider [creating a package](./packages/creating_packages.md).
|
||||
|
||||
### user.css
|
||||
|
||||
VERIFY: Do we favor less or css?
|
||||
### user.less
|
||||
|
||||
If you want to apply quick-and-dirty personal styling changes without creating
|
||||
an entire theme that you intend to distribute, you can add styles to
|
||||
_user.css_ in your _~/.atom_ directory.
|
||||
_user.less_ in your _~/.atom_ directory.
|
||||
|
||||
For example, to change the color of the highlighted line number for the line that
|
||||
contains the cursor, you could add the following style to _user.css_:
|
||||
contains the cursor, you could add the following style to _user.less_:
|
||||
|
||||
```less
|
||||
@highlight-color: pink;
|
||||
|
||||
```css
|
||||
.editor .line-number.cursor-line {
|
||||
color: pink;
|
||||
color: @highlight-color;
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user