Blame view

node_modules/pretty-error/src/defaultStyle.coffee 1.25 KB
aaac7fed   liuqimichale   add
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
  module.exports = ->
    'pretty-error':
      display: 'block'
      marginLeft: '2'
  
    'pretty-error > header':
      display: 'block'
  
    'pretty-error > header > title > kind':
      background: 'red'
      color: 'bright-white'
  
    'pretty-error > header > title > wrapper':
      marginRight: '1'
      color: 'grey'
  
    'pretty-error > header > colon':
      color: 'grey'
      marginRight: 1
  
    'pretty-error > header > message':
      color: 'bright-white'
  
    'pretty-error > trace':
      display: 'block'
      marginTop: 1
  
    'pretty-error > trace > item':
      display: 'block'
      marginBottom: 1
      marginLeft: 2
      bullet: '"<grey>-</grey>"'
  
    'pretty-error > trace > item > header':
      display: 'block'
  
    'pretty-error > trace > item > header > pointer > file':
      color: 'bright-yellow'
  
    'pretty-error > trace > item > header > pointer > colon':
      color: 'grey'
  
    'pretty-error > trace > item > header > pointer > line':
      color: 'bright-yellow'
      marginRight: 1
  
    'pretty-error > trace > item > header > what':
      color: 'white'
  
    'pretty-error > trace > item > footer':
      display: 'block'
  
    'pretty-error > trace > item > footer > addr':
      display: 'block'
      color: 'grey'
  
    'pretty-error > trace > item > footer > extra':
      display: 'block'
      color: 'grey'