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.

209 lines
3.7KB

  1. .ace_gutter {
  2. background: $ui-gutter-background;
  3. color: $ui-gutter-color;
  4. }
  5. .ace_print-margin {
  6. width: 2px;
  7. background: $ui-margin-line;
  8. }
  9. .ace_editor {
  10. background-color: $ui-background;
  11. color: $ui-foreground;
  12. }
  13. .rstudio-themes-flat {
  14. &.ace_editor_theme {
  15. background-color: $ui-background;
  16. color: $ui-foreground;
  17. .profvis-flamegraph {
  18. background-color: $ui-background;
  19. color: $ui-foreground;
  20. }
  21. }
  22. .ace_editor_theme {
  23. background-color: $ui-background;
  24. color: $ui-foreground;
  25. }
  26. &.editor_dark.ace_editor_theme a {
  27. color: #FFF !important;
  28. }
  29. &.rstudio-themes-dark-menus .ace_editor.ace_autocomplete {
  30. background: #2f3941;
  31. border: solid 1px #4e5c68 !important;
  32. color: #f0f0f0;
  33. .ace_marker-layer {
  34. .ace_active-line {
  35. background: transparentize($ui-foreground, 0.75);
  36. border: none;
  37. }
  38. .ace_line-hover {
  39. background: transparentize($ui-foreground, 0.75);
  40. border: none;
  41. }
  42. }
  43. }
  44. }
  45. .ace_cursor {
  46. color: $ui-cursor;
  47. }
  48. .ace_marker-layer {
  49. .ace_selection {
  50. background: $ui-selection;
  51. }
  52. .ace_step {
  53. background: lighten($rlang-string, 10%);
  54. }
  55. .ace_bracket {
  56. margin: -1px 0 0 -1px;
  57. border: 1px solid $ui-bracket;
  58. }
  59. .ace_active-line {
  60. background: $ui-line-active;
  61. }
  62. .ace_selected-word {
  63. border: 1px solid $ui-selection;
  64. }
  65. .ace_foreign_line {
  66. position: absolute;
  67. z-index: -1;
  68. background-color: $ui-code-chunk-background;
  69. }
  70. .ace_active_debug_line {
  71. position: absolute;
  72. z-index: -1;
  73. background-color: $ui-debug-background;
  74. }
  75. .ace_find_line {
  76. position: absolute;
  77. z-index: -1;
  78. background-color: $ui-line-find;
  79. }
  80. }
  81. .ace_gutter-active-line {
  82. background-color: $ui-line-active-gutter;
  83. }
  84. .ace_fold {
  85. background-color: $rlang-function;
  86. border-color: $ui-foreground;
  87. }
  88. .ace_active-line ~ .ace_selection.ace_start {
  89. background-color: opacify($ui-line-active, 1);
  90. }
  91. .ace_keyword {
  92. font-style: italic;
  93. color: $rlang-reserved;
  94. &.ace_operator {
  95. font-style: normal;
  96. color: $rlang-operator;
  97. }
  98. &.ace_other.ace_unit {
  99. font-style: normal;
  100. color: $rlang-value;
  101. }
  102. }
  103. .ace_constant {
  104. &.ace_language {
  105. color: $rlang-message;
  106. }
  107. &.ace_numeric {
  108. color: $rlang-value;
  109. }
  110. &.ace_character {
  111. color: $rlang-value;
  112. }
  113. &.ace_other {
  114. color: $ui-foreground;
  115. }
  116. }
  117. .ace_support {
  118. &.ace_function {
  119. color: $rlang-function;
  120. }
  121. &.ace_constant {
  122. color: $rlang-value;
  123. }
  124. &.ace_class {
  125. font-style: $rlang-namespace-font-style;
  126. color: $rlang-namespace;
  127. }
  128. &.ace_type {
  129. color: $rlang-namespace;
  130. }
  131. }
  132. .ace_paren {
  133. &.ace_keyword.ace_operator {
  134. color: $rlang-bracket;
  135. }
  136. }
  137. .ace_storage {
  138. color: $rlang-reserved;
  139. &.ace_type {
  140. color: $rlang-reserved;
  141. }
  142. }
  143. .ace_invalid {
  144. background-color: transparentize($rlang-variable, 0.5);
  145. &.ace_deprecated {
  146. background-color: transparentize($rlang-reserved, 0.5);
  147. }
  148. }
  149. .ace_string {
  150. color: $rlang-string;
  151. }
  152. .ace_comment {
  153. color: $rlang-comment;
  154. }
  155. .ace_invisible {
  156. color: $ui-invisible;
  157. }
  158. .ace_variable {
  159. color: $rlang-variable;
  160. &.ace_parameter {
  161. color: $rlang-value;
  162. }
  163. }
  164. .ace_entity {
  165. &.ace_name {
  166. &.ace_function {
  167. color: $rlang-function;
  168. }
  169. &.ace_tag {
  170. color: $other-tag;
  171. }
  172. }
  173. &.ace_other.ace_attribute-name {
  174. color: $rlang-reserved;
  175. }
  176. }
  177. .ace_bracket {
  178. margin: 0 !important;
  179. border: 0 !important;
  180. background-color: $ui-bracket;
  181. }
  182. .ace_console_error {
  183. background-color: $ui-line-find;
  184. }
  185. .ace_layer {
  186. z-index: 3;
  187. &.ace_print-margin-layer {
  188. z-index: 2;
  189. }
  190. &.ace_marker-layer {
  191. z-index: 1;
  192. }
  193. }
  194. .ace_selection.ace_start {
  195. box-shadow: 0 0 3px 0 $ui-background;
  196. border-radius: 2px;
  197. }
  198. .ace_meta.ace_tag {
  199. color: $rlang-operator;
  200. }
  201. .ace_markup.ace_heading {
  202. font-weight: 600;
  203. color: $rlang-string;
  204. }
  205. .nocolor.ace_editor .ace_line span {
  206. color: $rlang-reserved !important;
  207. }
  208. @import "_terminal";