-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace colors: named ANSI colors to other indexed colors (#106)
- Loading branch information
Showing
17 changed files
with
196 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
use ratatui::style::Color; | ||
|
||
// Primary | ||
pub const RED: Color = Color::Indexed(124); | ||
pub const GREEN: Color = Color::Indexed(77); | ||
pub const BLUE: Color = Color::Indexed(27); | ||
pub const YELLOW: Color = Color::Indexed(220); | ||
pub const MAGENTA: Color = Color::Indexed(128); | ||
pub const SKY_BLUE: Color = Color::Indexed(32); | ||
|
||
// Neutral | ||
pub const GRAY_BLACK: Color = Color::Indexed(234); | ||
pub const GRAY_DARK: Color = Color::Indexed(236); | ||
pub const GRAY_DIM: Color = Color::Indexed(240); | ||
pub const GRAY_MEDIUM: Color = Color::Indexed(243); | ||
pub const GRAY_LIGHT: Color = Color::Indexed(250); | ||
pub const GRAY_WHITE: Color = Color::Indexed(253); | ||
pub const WHITE: Color = Color::White; | ||
pub const BLACK: Color = Color::Black; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.