Today spent some time to customize Atom user stylesheet to display the background image for editor. Background image is a feature that I expected so much in either TextMate or Sublime. Now finally I have it in Atom.
Finding the class for each html component is a little bit tricky My theme is seti-ui.
Stylesheet to display background image
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//.react is needed to avoid impact on mini-editor
.editor.react {
// Fix the color strip between gutter and the editing area.
background: #0e1112;
.scroll-view {
// Align the Background Image with Editing Area
padding-left: 0;
margin-left: 10px;
// I put the background image under ~/.atom/images
JSONView is a very popular JSON formatter for Chrome, which automatically prettifies the JSON content.
JSONView provide a very sweety feature that allow user to customize the css used to format the JSON. And I love dark theme and the Consolas font so much, so I customized my dark own dark theme for JSONView.
Here is my theme css, and you can copy it to your JSONView theme editor to apply. Also you can find code on gist: https://gist.github.com/timnew/5167241