diff options
author | Canop <cano.petrole@gmail.com> | 2019-05-11 15:17:32 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-05-11 15:17:32 +0200 |
commit | f25d0a7352e6b3a1fbadbb411a1400aedc4f96dc (patch) | |
tree | d8bb3937bfc989be00295be7ca2f39ae8553de4c /src/errors.rs | |
parent | e0ac1553d6f9f300d69df6e34e5e55e634173faf (diff) |
configurable style attribute (bold, italic, crossedout, etc.)
Example:
[skin]
directory = "yellow none bold"
tree = "red none"
file = "rgb(255,187,0) none italic"
selected_line = "none darkblue"
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index 0ecf10c..a2ce000 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -30,6 +30,7 @@ custom_error! {pub RegexError custom_error! {pub InvalidSkinError InvalidColor { raw : String } = "'{}' is not a valid color", + InvalidAttribute { raw : String } = "'{}' is not a valid style attribute", InvalidGreyLevel { level: u8 } = "grey level must be between 0 and 23 (got {})", InvalidStyle {style: String} = "Invalid skin style : {}", //BadKey = "not a valid skin configuration key", |