pastel-on-dark.css 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**
  2. * Pastel On Dark theme ported from ACE editor
  3. * @license MIT
  4. * @copyright AtomicPages LLC 2014
  5. * @author Dennis Thompson, AtomicPages LLC
  6. * @version 1.1
  7. * @source https://github.com/atomicpages/codemirror-pastel-on-dark-theme
  8. */
  9. .cm-s-pastel-on-dark.CodeMirror {
  10. background: #2c2827;
  11. color: #8F938F;
  12. line-height: 1.5;
  13. }
  14. .cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2); }
  15. .cm-s-pastel-on-dark .CodeMirror-line::selection, .cm-s-pastel-on-dark .CodeMirror-line > span::selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::selection { background: rgba(221,240,255,0.2); }
  16. .cm-s-pastel-on-dark .CodeMirror-line::-moz-selection, .cm-s-pastel-on-dark .CodeMirror-line > span::-moz-selection, .cm-s-pastel-on-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(221,240,255,0.2); }
  17. .cm-s-pastel-on-dark .CodeMirror-gutters {
  18. background: #34302f;
  19. border-right: 0px;
  20. padding: 0 3px;
  21. }
  22. .cm-s-pastel-on-dark .CodeMirror-guttermarker { color: white; }
  23. .cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle { color: #8F938F; }
  24. .cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; }
  25. .cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7; }
  26. .cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; }
  27. .cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; }
  28. .cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; }
  29. .cm-s-pastel-on-dark span.cm-property { color: #8F938F; }
  30. .cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; }
  31. .cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; }
  32. .cm-s-pastel-on-dark span.cm-string { color: #66A968; }
  33. .cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; }
  34. .cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; }
  35. .cm-s-pastel-on-dark span.cm-variable-3, .cm-s-pastel-on-dark span.cm-type { color: #DE8E30; }
  36. .cm-s-pastel-on-dark span.cm-def { color: #757aD8; }
  37. .cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; }
  38. .cm-s-pastel-on-dark span.cm-tag { color: #C1C144; }
  39. .cm-s-pastel-on-dark span.cm-link { color: #ae81ff; }
  40. .cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; }
  41. .cm-s-pastel-on-dark span.cm-error {
  42. background: #757aD8;
  43. color: #f8f8f0;
  44. }
  45. .cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031); }
  46. .cm-s-pastel-on-dark .CodeMirror-matchingbracket {
  47. border: 1px solid rgba(255,255,255,0.25);
  48. color: #8F938F !important;
  49. margin: -1px -1px 0 -1px;
  50. }