Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from MrEnder0/develop
test publish
- Loading branch information
Showing
4 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,17 +1,33 @@ | ||
use owo_colors::{ComboColorDisplay, colors::{CustomColor, css::*}, OwoColorize}; | ||
use owo_colors::{ | ||
colors::{css::*, CustomColor}, | ||
ComboColorDisplay, OwoColorize, | ||
}; | ||
|
||
pub(crate) fn error_tag() -> ComboColorDisplay<'static, CustomColor<0, 0, 0>, CustomColor<{ u8::MAX }, 0, 0>, &'static str> { | ||
pub(crate) fn error_tag( | ||
) -> ComboColorDisplay<'static, CustomColor<0, 0, 0>, CustomColor<{ u8::MAX }, 0, 0>, &'static str> | ||
{ | ||
"[ERROR]".fg::<Black>().bg::<Red>() | ||
} | ||
|
||
pub(crate) fn warning_tag() -> ComboColorDisplay<'static, CustomColor<0, 0, 0>, CustomColor<{ u8::MAX }, { u8::MAX }, 0>, &'static str> { | ||
pub(crate) fn warning_tag() -> ComboColorDisplay< | ||
'static, | ||
CustomColor<0, 0, 0>, | ||
CustomColor<{ u8::MAX }, { u8::MAX }, 0>, | ||
&'static str, | ||
> { | ||
"[WARNING]".fg::<Black>().bg::<Yellow>() | ||
} | ||
|
||
pub(crate) fn info_tag() -> ComboColorDisplay<'static, CustomColor<0, 0, 0>, CustomColor<211, 211, 211>, &'static str> { | ||
pub(crate) fn info_tag( | ||
) -> ComboColorDisplay<'static, CustomColor<0, 0, 0>, CustomColor<211, 211, 211>, &'static str> { | ||
"[INFO]".fg::<Black>().bg::<LightGray>() | ||
} | ||
|
||
pub(crate) fn debug_tag() -> ComboColorDisplay<'static, CustomColor<0, 0, 0>, CustomColor<{ u8::MAX }, 0, { u8::MAX }>, &'static str> { | ||
pub(crate) fn debug_tag() -> ComboColorDisplay< | ||
'static, | ||
CustomColor<0, 0, 0>, | ||
CustomColor<{ u8::MAX }, 0, { u8::MAX }>, | ||
&'static str, | ||
> { | ||
"[DEBUG]".fg::<Black>().bg::<Magenta>() | ||
} | ||
} |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pub mod importance_tags; | ||
pub mod time_utils; | ||
pub mod importance_tags; |