feat: Added the Eldritch theme and updated documentation

This commit is contained in:
2025-03-10 15:49:40 -06:00
parent 0834802481
commit b4ff5f3351
24 changed files with 214 additions and 103 deletions
+4 -4
View File
@@ -24,13 +24,13 @@ use syn::{Data, DeriveInput, Fields, parse_macro_input};
/// }
///
/// struct Style {
/// color: String,
/// color: String,
/// }
///
/// let theme = Theme {
/// good: Some(Style { color: "Green".to_owned() }),
/// bad: Some(Style { color: "Red".to_owned() }),
/// ..Theme::default()
/// good: Some(Style { color: "Green".to_owned() }),
/// bad: Some(Style { color: "Red".to_owned() }),
/// ..Theme::default()
/// };
///
/// // Since only `good` and `bad` have the `validate` attribute, the `validate` method will only check those fields.