ambiance.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "theme": {
  3. ".cm-gutters": {
  4. "backgroundColor": "#3d3d3d",
  5. "borderRightColor": "transparent",
  6. "backgroundImage": "linear-gradient(left, #3D3D3D, #333)",
  7. "backgroundRepeat": "repeat-x",
  8. "borderRight": "1px solid #4d4d4d",
  9. "textShadow": "0px 1px 1px #4d4d4d",
  10. "color": "#222"
  11. },
  12. ".cm-activeLineGutter": {
  13. "backgroundColor": "#3F3F3F"
  14. },
  15. "&": {
  16. "color": "#E6E1DC",
  17. "backgroundColor": "#202020"
  18. },
  19. ".cm-cursor, .cm-dropCursor": {
  20. "borderLeft": "1px solid #7991E8"
  21. },
  22. "&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection, .cm-searchMatch.cm-searchMatch.cm-searchMatch-selected": {
  23. "background": "rgba(221, 240, 255, 0.20)"
  24. },
  25. ".cm-selectionMatch.cm-selectionMatch, .cm-searchMatch.cm-searchMatch": {
  26. "borderRadius": 0,
  27. "boxShadow": "0 0 4px black",
  28. "outline": "8px solid #3f475d",
  29. "margin": 0,
  30. "outline-width": "2px"
  31. },
  32. "&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": {
  33. "margin": 0,
  34. "outline": "1px solid rgba(255, 255, 255, 0.25)"
  35. },
  36. ".cm-activeLine": {
  37. "background": "rgba(255, 255, 255, 0.031)"
  38. }
  39. },
  40. "highlightStyle": {
  41. ".tok-keyword": {
  42. "color": "#cda869"
  43. },
  44. ".tok-operator": {
  45. "color": "#fa8d6a"
  46. },
  47. ".tok-string": {
  48. "color": "#8f9d6a"
  49. },
  50. ".tok-labelName": {
  51. "color": "#CF7EA9"
  52. },
  53. ".tok-literal": {
  54. "color": "#78CF8A"
  55. },
  56. ".tok-invalid": {
  57. "textDecoration": "underline",
  58. "fontStyle": "italic",
  59. "color": "#D2A8A1"
  60. },
  61. ".tok-regexp": {
  62. "color": "#DAD085"
  63. },
  64. ".tok-comment": {
  65. "fontStyle": "italic",
  66. "color": "#555"
  67. },
  68. ".tok-typeName": {
  69. "color": "#aac6e3"
  70. },
  71. ".tok-attributeValue": {
  72. "color": "#9999cc"
  73. },
  74. ".tok-variableName": {
  75. "color": "#9b859d"
  76. }
  77. },
  78. "dark": true
  79. }