Skip to content

Commit

Permalink
fix: updated doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
lazytanuki committed Jun 8, 2022
1 parent f2a11bb commit 8b68981
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helix-tui/src/widgets/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ impl<'a> Row<'a> {
/// // ...and they can be separated by a fixed spacing.
/// .column_spacing(1)
/// // If you wish to highlight a row in any specific way when it is selected...
/// .highlight_style(Style::default().add_modifier(Modifier::BOLD))
/// .selected_style(Style::default().add_modifier(Modifier::BOLD))
/// // If you wish to highlight a row in any specific way when it is preselected...
/// .highlighted_style(Style::default().add_modifier(Modifier::BOLD))
/// // ...and potentially show a symbol in front of the selection.
/// .highlight_symbol(">>");
/// ```
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/autumn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"ui.background" = { bg = "my_gray0" }
"ui.menu" = { fg = "my_white", bg = "my_gray2" }
"ui.menu.selected" = { fg = "my_gray2", bg = "my_gray5" }
"ui.menu.highlighted" = { fg = "my_red", bg = "my_gray2" }
"ui.linenr" = { fg = "my_gray4", bg = "my_gray2" }
"ui.popup" = { bg = "my_gray2" }
"ui.window" = { fg = "my_gray4", bg = "my_gray2" }
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/bogster.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@

"ui.menu" = { fg = "#e5ded6bg", bg = "#232d38" }
"ui.menu.selected" = { bg = "#313f4e" }
"ui.menu.highlighted" = { fg = "#dcb659" }

"warning" = "#dc7759"
"error" = "#dc597f"
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/dracula.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"ui.linenr.selected" = { fg = "foreground" }
"ui.menu" = { fg = "foreground", bg = "background_dark" }
"ui.menu.selected" = { fg = "cyan", bg = "background_dark" }
"ui.menu.highlighted" = { fg = "cyan" }
"ui.popup" = { fg = "foreground", bg = "background_dark" }
"ui.selection" = { bg = "secondary_highlight" }
"ui.selection.primary" = { bg = "primary_highlight" }
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/gruvbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"ui.cursor.match" = { bg = "bg2" }
"ui.menu" = { fg = "fg1", bg = "bg2" }
"ui.menu.selected" = { fg = "bg2", bg = "blue1", modifiers = ["bold"] }
"ui.menu.highlighted" = { fg = "green1" }
"ui.virtual" = "bg2"

"diagnostic" = { modifiers = ["underlined"] }
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/ingrid.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
# "ui.cursor.match" # TODO might want to override this because dimmed is not widely supported
"ui.menu" = { fg = "#7B91B3", bg = "#F3EAE9" }
"ui.menu.selected" = { fg = "#D74E50", bg = "#F3EAE9" }
"ui.menu.highlighted" = { fg = "#D74E50" }

"warning" = "#D4A520"
"error" = "#D74E50"
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/monokai.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"ui.help" = { bg = "widget" }
"ui.menu" = { bg = "widget" }
"ui.menu.selected" = { bg = "#414339" }
"ui.menu.highlighted" = { fg = "#F92672" }

"ui.cursor" = { fg = "cursor", modifiers = ["reversed"] }
"ui.cursor.primary" = { fg = "cursor", modifiers = ["reversed"] }
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/nord.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"ui.text.focus" = { fg = "nord8", modifiers= ["bold"] }
"ui.menu" = { fg = "nord6", bg = "#232d38" }
"ui.menu.selected" = { fg = "nord8", bg = "nord2" }
"ui.menu.highlighted" = { fg = "nord8" }
"ui.virtual" = "gray"

"info" = "nord8"
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/onedark.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ diagnostic = { modifiers = ["underlined"] }
"ui.window" = { bg = "gray" }
"ui.menu" = { fg = "white", bg = "gray" }
"ui.menu.selected" = { fg = "black", bg = "blue" }
"ui.menu.highlighted" = { fg = "red" }

[palette]

Expand Down
1 change: 1 addition & 0 deletions runtime/themes/rose_pine.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"ui.background" = { bg = "base" }
"ui.menu" = { fg = "text", bg = "overlay" }
"ui.menu.selected" = { fg = "iris", bg = "surface" }
"ui.menu.highlighted" = { fg = "iris"}
"ui.linenr" = {fg = "subtle" }
"ui.liner.selected" = "highlightOverlay"
"ui.selection" = { bg = "highlight" }
Expand Down
1 change: 1 addition & 0 deletions runtime/themes/snazzy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"ui.linenr.selected" = { fg = "foreground" }
"ui.menu" = { fg = "foreground", bg = "background_dark" }
"ui.menu.selected" = { fg = "cyan", bg = "background_dark" }
"ui.menu.highlighted" = { fg = "cyan" }
"ui.popup" = { fg = "foreground", bg = "background_dark" }
"ui.selection" = { bg = "secondary_highlight" }
"ui.selection.primary" = { bg = "primary_highlight" }
Expand Down
1 change: 1 addition & 0 deletions theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ label = "honey"

"ui.menu" = { fg = "lavender", bg = "revolver" }
"ui.menu.selected" = { fg = "revolver", bg = "white" }
"ui.menu.highlighted" = { fg = "almond"}

diagnostic = { modifiers = ["underlined"] }
# "diagnostic.hint" = { fg = "revolver", bg = "lilac" }
Expand Down

0 comments on commit 8b68981

Please sign in to comment.