Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Aug 29, 2024
1 parent e2a6e28 commit a277070
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
17 changes: 16 additions & 1 deletion docs/docs/default-colors.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,24 @@ red = '#ED203D'
white = '#F1F1F1'
yellow = '#FCBA28'

# UI colors
# Cursor
cursor = '#F712FF'
vi-cursor = '#12d0ff'

# Navigation
tabs = '#12B5E5'
tabs-active = '#FCBA28'
tabs-active-highlight = '#ff00ff'
tabs-active-foreground = '#FFFFFF'
bar = '#1b1a1a'

# Search
search-match-background = '#44C9F0'
search-match-foreground = '#FFFFFF'
search-focused-match-background = '#E6A003'
search-focused-match-foreground = '#FFFFFF'

# Selection
selection-foreground = '#0F0D0E'
selection-background = '#44C9F0'

Expand Down
1 change: 1 addition & 0 deletions docs/docs/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ selection-foreground = ""
# Navigation
tabs-active = ""
tabs-active-highlight = ""
tabs-active-foreground = ""
bar = ""
cursor = ""
vi-cursor = ""
Expand Down
4 changes: 1 addition & 3 deletions rio-backend/src/config/colors/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ pub fn tabs_active() -> ColorArray {

#[inline]
pub fn tabs_active_foreground() -> ColorArray {
ColorBuilder::from_hex(String::from("#ffffff"), Format::SRGB0_1)
.unwrap()
.to_arr()
[1., 1., 1., 1.]
}

#[inline]
Expand Down

0 comments on commit a277070

Please sign in to comment.