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.

100 lines
2.5 KiB

  1. .cm-s-wikijs-dark.CodeMirror {
  2. background: darken(mc('grey','900'), 3%);
  3. color: #e0e0e0;
  4. }
  5. .cm-s-wikijs-dark div.CodeMirror-selected {
  6. background: mc('blue','800');
  7. }
  8. .cm-s-wikijs-dark .cm-matchhighlight {
  9. background: mc('blue','800');
  10. }
  11. .cm-s-wikijs-dark .CodeMirror-line::selection, .cm-s-wikijs-dark .CodeMirror-line > span::selection, .cm-s-wikijs-dark .CodeMirror-line > span > span::selection {
  12. background: mc('amber', '500');
  13. }
  14. .cm-s-wikijs-dark .CodeMirror-line::-moz-selection, .cm-s-wikijs-dark .CodeMirror-line > span::-moz-selection, .cm-s-wikijs-dark .CodeMirror-line > span > span::-moz-selection {
  15. background: mc('amber', '500');
  16. }
  17. .cm-s-wikijs-dark .CodeMirror-gutters {
  18. background: darken(mc('grey','900'), 6%);
  19. border-right: 1px solid mc('grey','900');
  20. }
  21. .cm-s-wikijs-dark .CodeMirror-guttermarker {
  22. color: #ac4142;
  23. }
  24. .cm-s-wikijs-dark .CodeMirror-guttermarker-subtle {
  25. color: #505050;
  26. }
  27. .cm-s-wikijs-dark .CodeMirror-linenumber {
  28. color: mc('grey','800');
  29. }
  30. .cm-s-wikijs-dark .CodeMirror-cursor {
  31. border-left: 1px solid #b0b0b0;
  32. }
  33. .cm-s-wikijs-dark span.cm-comment {
  34. color: mc('orange','800');
  35. }
  36. .cm-s-wikijs-dark span.cm-atom {
  37. color: #aa759f;
  38. }
  39. .cm-s-wikijs-dark span.cm-number {
  40. color: #aa759f;
  41. }
  42. .cm-s-wikijs-dark span.cm-property, .cm-s-wikijs-dark span.cm-attribute {
  43. color: #90a959;
  44. }
  45. .cm-s-wikijs-dark span.cm-keyword {
  46. color: #ac4142;
  47. }
  48. .cm-s-wikijs-dark span.cm-string {
  49. color: #f4bf75;
  50. }
  51. .cm-s-wikijs-dark span.cm-variable {
  52. color: #90a959;
  53. }
  54. .cm-s-wikijs-dark span.cm-variable-2 {
  55. color: #6a9fb5;
  56. }
  57. .cm-s-wikijs-dark span.cm-def {
  58. color: #d28445;
  59. }
  60. .cm-s-wikijs-dark span.cm-bracket {
  61. color: #e0e0e0;
  62. }
  63. .cm-s-wikijs-dark span.cm-tag {
  64. color: #ac4142;
  65. }
  66. .cm-s-wikijs-dark span.cm-link {
  67. color: #aa759f;
  68. }
  69. .cm-s-wikijs-dark span.cm-error {
  70. background: #ac4142;
  71. color: #b0b0b0;
  72. }
  73. .cm-s-wikijs-dark .CodeMirror-activeline-background {
  74. background: mc('grey','900');
  75. }
  76. .cm-s-wikijs-dark .CodeMirror-matchingbracket {
  77. text-decoration: underline;
  78. color: white !important;
  79. }
  80. .cm-s-wikijs-dark .CodeMirror-foldmarker {
  81. margin-left: 10px;
  82. display: inline-block;
  83. background-color: rgba(mc('amber', '800'), .3);
  84. padding: 8px 5px;
  85. color: mc('amber', '500');
  86. border-radius: 5px;
  87. text-shadow: none;
  88. }
  89. .cm-s-wikijs-dark .CodeMirror-buttonmarker {
  90. display: inline-block;
  91. background-color: rgba(mc('blue', '500'), .3);
  92. border: 1px solid mc('blue', '800');
  93. padding: 1px 10px;
  94. color: mc('blue', '200') !important;
  95. border-radius: 5px;
  96. margin-left: 5px;
  97. cursor: pointer;
  98. }