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.

53 lines
2.2 KiB

3 years ago
  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. font-size: 14px;
  14. }
  15. .cm-s-pastel-on-dark div.CodeMirror-selected { background: rgba(221,240,255,0.2) !important; }
  16. .cm-s-pastel-on-dark.CodeMirror ::selection { background: rgba(221,240,255,0.2); }
  17. .cm-s-pastel-on-dark.CodeMirror ::-moz-selection { background: rgba(221,240,255,0.2); }
  18. .cm-s-pastel-on-dark .CodeMirror-gutters {
  19. background: #34302f;
  20. border-right: 0px;
  21. padding: 0 3px;
  22. }
  23. .cm-s-pastel-on-dark .CodeMirror-guttermarker { color: white; }
  24. .cm-s-pastel-on-dark .CodeMirror-guttermarker-subtle { color: #8F938F; }
  25. .cm-s-pastel-on-dark .CodeMirror-linenumber { color: #8F938F; }
  26. .cm-s-pastel-on-dark .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; }
  27. .cm-s-pastel-on-dark span.cm-comment { color: #A6C6FF; }
  28. .cm-s-pastel-on-dark span.cm-atom { color: #DE8E30; }
  29. .cm-s-pastel-on-dark span.cm-number { color: #CCCCCC; }
  30. .cm-s-pastel-on-dark span.cm-property { color: #8F938F; }
  31. .cm-s-pastel-on-dark span.cm-attribute { color: #a6e22e; }
  32. .cm-s-pastel-on-dark span.cm-keyword { color: #AEB2F8; }
  33. .cm-s-pastel-on-dark span.cm-string { color: #66A968; }
  34. .cm-s-pastel-on-dark span.cm-variable { color: #AEB2F8; }
  35. .cm-s-pastel-on-dark span.cm-variable-2 { color: #BEBF55; }
  36. .cm-s-pastel-on-dark span.cm-variable-3 { color: #DE8E30; }
  37. .cm-s-pastel-on-dark span.cm-def { color: #757aD8; }
  38. .cm-s-pastel-on-dark span.cm-bracket { color: #f8f8f2; }
  39. .cm-s-pastel-on-dark span.cm-tag { color: #C1C144; }
  40. .cm-s-pastel-on-dark span.cm-link { color: #ae81ff; }
  41. .cm-s-pastel-on-dark span.cm-qualifier,.cm-s-pastel-on-dark span.cm-builtin { color: #C1C144; }
  42. .cm-s-pastel-on-dark span.cm-error {
  43. background: #757aD8;
  44. color: #f8f8f0;
  45. }
  46. .cm-s-pastel-on-dark .CodeMirror-activeline-background { background: rgba(255, 255, 255, 0.031) !important; }
  47. .cm-s-pastel-on-dark .CodeMirror-matchingbracket {
  48. border: 1px solid rgba(255,255,255,0.25);
  49. color: #8F938F !important;
  50. margin: -1px -1px 0 -1px;
  51. }