|
- .ace_gutter {
- background: $ui-gutter-background;
- color: $ui-gutter-color;
- }
- .ace_print-margin {
- width: 2px;
- background: $ui-margin-line;
- }
- .ace_editor {
- background-color: $ui-background;
- color: $ui-foreground;
- }
- .rstudio-themes-flat {
- &.ace_editor_theme {
- background-color: $ui-background;
- color: $ui-foreground;
- .profvis-flamegraph {
- background-color: $ui-background;
- color: $ui-foreground;
- }
- }
- .ace_editor_theme {
- background-color: $ui-background;
- color: $ui-foreground;
- }
- &.editor_dark.ace_editor_theme a {
- color: #FFF !important;
- }
- &.rstudio-themes-dark-menus .ace_editor.ace_autocomplete {
- background: #2f3941;
- border: solid 1px #4e5c68 !important;
- color: #f0f0f0;
- .ace_marker-layer {
- .ace_active-line {
- background: transparentize($ui-foreground, 0.75);
- border: none;
- }
- .ace_line-hover {
- background: transparentize($ui-foreground, 0.75);
- border: none;
- }
- }
- }
- }
- .ace_cursor {
- color: $ui-cursor;
- }
- .ace_marker-layer {
- .ace_selection {
- background: $ui-selection;
- }
- .ace_step {
- background: lighten($rlang-string, 10%);
- }
- .ace_bracket {
- margin: -1px 0 0 -1px;
- border: 1px solid $ui-bracket;
- }
- .ace_active-line {
- background: $ui-line-active;
- }
- .ace_selected-word {
- border: 1px solid $ui-selection;
- }
- .ace_foreign_line {
- position: absolute;
- z-index: -1;
- background-color: $ui-code-chunk-background;
- }
- .ace_active_debug_line {
- position: absolute;
- z-index: -1;
- background-color: $ui-debug-background;
- }
- .ace_find_line {
- position: absolute;
- z-index: -1;
- background-color: $ui-line-find;
- }
- }
- .ace_gutter-active-line {
- background-color: $ui-line-active-gutter;
- }
- .ace_fold {
- background-color: $rlang-function;
- border-color: $ui-foreground;
- }
- .ace_active-line ~ .ace_selection.ace_start {
- background-color: opacify($ui-line-active, 1);
- }
- .ace_keyword {
- font-style: italic;
- color: $rlang-reserved;
- &.ace_operator {
- font-style: normal;
- color: $rlang-operator;
- }
- &.ace_other.ace_unit {
- font-style: normal;
- color: $rlang-value;
- }
- }
- .ace_constant {
- &.ace_language {
- color: $rlang-message;
- }
- &.ace_numeric {
- color: $rlang-value;
- }
- &.ace_character {
- color: $rlang-value;
- }
- &.ace_other {
- color: $ui-foreground;
- }
- }
- .ace_support {
- &.ace_function {
- color: $rlang-function;
- }
- &.ace_constant {
- color: $rlang-value;
- }
- &.ace_class {
- font-style: $rlang-namespace-font-style;
- color: $rlang-namespace;
- }
- &.ace_type {
- color: $rlang-namespace;
- }
- }
- .ace_paren {
- &.ace_keyword.ace_operator {
- color: $rlang-bracket;
- }
- }
- .ace_storage {
- color: $rlang-reserved;
- &.ace_type {
- color: $rlang-reserved;
- }
- }
- .ace_invalid {
- background-color: transparentize($rlang-variable, 0.5);
- &.ace_deprecated {
- background-color: transparentize($rlang-reserved, 0.5);
- }
- }
- .ace_string {
- color: $rlang-string;
- }
- .ace_comment {
- color: $rlang-comment;
- }
- .ace_invisible {
- color: $ui-invisible;
- }
- .ace_variable {
- color: $rlang-variable;
- &.ace_parameter {
- color: $rlang-value;
- }
- }
- .ace_entity {
- &.ace_name {
- &.ace_function {
- color: $rlang-function;
- }
- &.ace_tag {
- color: $other-tag;
- }
- }
- &.ace_other.ace_attribute-name {
- color: $rlang-reserved;
- }
- }
- .ace_bracket {
- margin: 0 !important;
- border: 0 !important;
- background-color: $ui-bracket;
- }
- .ace_console_error {
- background-color: $ui-line-find;
- }
- .ace_layer {
- z-index: 3;
- &.ace_print-margin-layer {
- z-index: 2;
- }
- &.ace_marker-layer {
- z-index: 1;
- }
- }
- .ace_selection.ace_start {
- box-shadow: 0 0 3px 0 $ui-background;
- border-radius: 2px;
- }
- .ace_meta.ace_tag {
- color: $rlang-operator;
- }
- .ace_markup.ace_heading {
- font-weight: 600;
- color: $rlang-string;
- }
- .nocolor.ace_editor .ace_line span {
- color: $rlang-reserved !important;
- }
-
- @import "_terminal";
|