feat(theme): per-app accent: pm gives window manifest accent before app runs (display ACCENT, refused after BUFFER); theme::with_accent keeps hue, shifts lightness until contrast passes, else theme accent; tally pink
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#![no_std]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
mod accent;
|
||||
mod contrast;
|
||||
mod parse;
|
||||
pub mod wire;
|
||||
@@ -15,6 +16,7 @@ pub mod wire;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
pub use accent::with_accent;
|
||||
pub use contrast::{check, ratio};
|
||||
pub use parse::{Error, parse};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user