diff --git a/crates/viewer/re_ui/data/dark_theme.ron b/crates/viewer/re_ui/data/dark_theme.ron index 7ce821fe7e6e..1a844eb7592c 100644 --- a/crates/viewer/re_ui/data/dark_theme.ron +++ b/crates/viewer/re_ui/data/dark_theme.ron @@ -275,20 +275,25 @@ "color": "{Gray.700}" }, + //array indices "code_index_color": { - "color": "#D176BF" + "color": "#CC9CC6" }, + + //numbers, bool, null "code_primitive_color": { - "color": "#4ACB94" + "color": "#84BE99" }, + "code_string_color": { - "color": "#818EF8" + "color": "#A1AAE1" }, // TODO(ab, katya): review these "code_keyword_color": { - "color": "#D176BF", + "color": "#C8A973", }, + "table_filter_frame_stroke": { "color": "{Gray.400}", "width": 1 diff --git a/crates/viewer/re_ui/data/light_theme.ron b/crates/viewer/re_ui/data/light_theme.ron index a0b09f108f9c..4324b4ad9e32 100644 --- a/crates/viewer/re_ui/data/light_theme.ron +++ b/crates/viewer/re_ui/data/light_theme.ron @@ -275,18 +275,18 @@ }, "code_index_color": { - "color": "#BF68AF" + "color": "#894783" }, "code_primitive_color": { - "color": "#32AA79" + "color": "#007745" }, "code_string_color": { - "color": "#7782EA" + "color": "#545AA6" }, // TODO(ab, katya): review these "code_keyword_color": { - "color": "#D176BF", + "color": "#855E00", }, "table_filter_frame_stroke": { "color": "{Gray.400}", diff --git a/crates/viewer/re_ui/src/syntax_highlighting.rs b/crates/viewer/re_ui/src/syntax_highlighting.rs index bd34aedb60fb..f55d782ea9d5 100644 --- a/crates/viewer/re_ui/src/syntax_highlighting.rs +++ b/crates/viewer/re_ui/src/syntax_highlighting.rs @@ -339,7 +339,7 @@ impl SyntaxHighlightedStyle { Self::Primitive => { Self::monospace_with_color(style, style.tokens().code_primitive_color) } - Self::Syntax => Self::monospace_with_color(style, style.tokens().text_strong), + Self::Syntax => Self::monospace_with_color(style, style.tokens().text_subdued), Self::Body => Self::body(style), Self::BodyDefault => { let mut format = Self::body(style);