您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

duotone-dark.css 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. Name: DuoTone-Dark
  3. Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)
  4. CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
  5. */
  6. .cm-s-duotone-dark.CodeMirror {
  7. background: #2a2734;
  8. color: #6c6783;
  9. }
  10. .cm-s-duotone-dark div.CodeMirror-selected {
  11. background: #545167 !important;
  12. }
  13. .cm-s-duotone-dark .CodeMirror-gutters {
  14. background: #2a2734;
  15. border-right: 0px;
  16. }
  17. .cm-s-duotone-dark .CodeMirror-linenumber {
  18. color: #545167;
  19. }
  20. /* begin cursor */
  21. .cm-s-duotone-dark .CodeMirror-cursor {
  22. border-left: 1px solid #ffad5c; /* border-left: 1px solid #ffad5c80; */
  23. border-right: .5em solid #ffad5c; /* border-right: .5em solid #ffad5c80; */
  24. opacity: .5;
  25. }
  26. .cm-s-duotone-dark .CodeMirror-activeline-background {
  27. background: #363342; /* background: #36334280; */
  28. opacity: .5;
  29. }
  30. .cm-s-duotone-dark .cm-fat-cursor .CodeMirror-cursor {
  31. background: #ffad5c; /* background: #ffad5c80; */
  32. opacity: .5;
  33. }
  34. /* end cursor */
  35. .cm-s-duotone-dark span.cm-atom, .cm-s-duotone-dark span.cm-number, .cm-s-duotone-dark span.cm-keyword, .cm-s-duotone-dark span.cm-variable, .cm-s-duotone-dark span.cm-attribute, .cm-s-duotone-dark span.cm-quote, .cm-s-duotone-dark span.cm-hr, .cm-s-duotone-dark span.cm-link {
  36. color: #ffcc99;
  37. }
  38. .cm-s-duotone-dark span.cm-property {
  39. color: #9a86fd;
  40. }
  41. .cm-s-duotone-dark span.cm-punctuation, .cm-s-duotone-dark span.cm-unit, .cm-s-duotone-dark span.cm-negative {
  42. color: #e09142;
  43. }
  44. .cm-s-duotone-dark span.cm-string {
  45. color: #ffb870;
  46. }
  47. .cm-s-duotone-dark span.cm-operator {
  48. color: #ffad5c;
  49. }
  50. .cm-s-duotone-dark span.cm-positive {
  51. color: #6a51e6;
  52. }
  53. .cm-s-duotone-dark span.cm-variable-2, .cm-s-duotone-dark span.cm-variable-3, .cm-s-duotone-dark span.cm-type, .cm-s-duotone-dark span.cm-string-2, .cm-s-duotone-dark span.cm-url {
  54. color: #7a63ee;
  55. }
  56. .cm-s-duotone-dark span.cm-def, .cm-s-duotone-dark span.cm-tag, .cm-s-duotone-dark span.cm-builtin, .cm-s-duotone-dark span.cm-qualifier, .cm-s-duotone-dark span.cm-header, .cm-s-duotone-dark span.cm-em {
  57. color: #eeebff;
  58. }
  59. .cm-s-duotone-dark span.cm-bracket, .cm-s-duotone-dark span.cm-comment {
  60. color: #6c6783;
  61. }
  62. /* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
  63. .cm-s-duotone-dark span.cm-error, .cm-s-duotone-dark span.cm-invalidchar {
  64. color: #f00;
  65. }
  66. .cm-s-duotone-dark span.cm-header {
  67. font-weight: normal;
  68. }
  69. .cm-s-duotone-dark .CodeMirror-matchingbracket {
  70. text-decoration: underline;
  71. color: #eeebff !important;
  72. }