Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

144 lines
3.0 KiB

  1. var colors = require('ansicolors');
  2. // Change the below definitions in order to tweak the color theme.
  3. module.exports = {
  4. 'Boolean': {
  5. // changed from default
  6. 'true' : colors.red
  7. , 'false' : undefined
  8. , _default : colors.brightRed
  9. }
  10. , 'Identifier': {
  11. 'undefined' : colors.brightBlack
  12. , 'self' : colors.brightRed
  13. , 'console' : colors.blue
  14. , 'log' : colors.blue
  15. , 'warn' : colors.red
  16. , 'error' : colors.brightRed
  17. //
  18. // changed from default
  19. , _default : colors.brightCyan
  20. }
  21. , 'Null': {
  22. _default: colors.brightBlack
  23. }
  24. , 'Numeric': {
  25. _default: colors.blue
  26. }
  27. , 'String': {
  28. _default: colors.brightGreen
  29. }
  30. , 'Keyword': {
  31. 'break' : undefined
  32. , 'case' : undefined
  33. , 'catch' : colors.cyan
  34. , 'continue' : undefined
  35. , 'debugger' : undefined
  36. , 'default' : undefined
  37. , 'delete' : colors.red
  38. , 'do' : undefined
  39. , 'else' : undefined
  40. , 'finally' : colors.cyan
  41. , 'for' : undefined
  42. , 'function' : undefined
  43. , 'if' : undefined
  44. , 'in' : undefined
  45. , 'instanceof' : undefined
  46. , 'new' : colors.red
  47. , 'return' : colors.red
  48. , 'switch' : undefined
  49. , 'this' : colors.brightRed
  50. , 'throw' : undefined
  51. , 'try' : colors.cyan
  52. , 'typeof' : undefined
  53. , 'var' : colors.green
  54. , 'void' : undefined
  55. , 'while' : undefined
  56. , 'with' : undefined
  57. , _default : colors.brightBlue
  58. }
  59. , 'Punctuator': {
  60. ';': colors.brightBlack
  61. , '.': colors.green
  62. , ',': colors.green
  63. , '{': colors.yellow
  64. , '}': colors.yellow
  65. , '(': colors.brightBlack
  66. , ')': colors.brightBlack
  67. , '[': colors.yellow
  68. , ']': colors.yellow
  69. , '<': undefined
  70. , '>': undefined
  71. , '+': undefined
  72. , '-': undefined
  73. , '*': undefined
  74. , '%': undefined
  75. , '&': undefined
  76. , '|': undefined
  77. , '^': undefined
  78. , '!': undefined
  79. , '~': undefined
  80. , '?': undefined
  81. , ':': undefined
  82. , '=': undefined
  83. , '<=': undefined
  84. , '>=': undefined
  85. , '==': undefined
  86. , '!=': undefined
  87. , '++': undefined
  88. , '--': undefined
  89. , '<<': undefined
  90. , '>>': undefined
  91. , '&&': undefined
  92. , '||': undefined
  93. , '+=': undefined
  94. , '-=': undefined
  95. , '*=': undefined
  96. , '%=': undefined
  97. , '&=': undefined
  98. , '|=': undefined
  99. , '^=': undefined
  100. , '/=': undefined
  101. , '===': undefined
  102. , '!==': undefined
  103. , '>>>': undefined
  104. , '<<=': undefined
  105. , '>>=': undefined
  106. , '>>>=': undefined
  107. , _default: colors.brightYellow
  108. }
  109. // line comment
  110. , Line: {
  111. _default: colors.brightBlack
  112. }
  113. /* block comment */
  114. , Block: {
  115. _default: colors.brightBlack
  116. }
  117. , _default: undefined
  118. };