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:
2026-10-28 13:40:38 +01:00
parent 6827e1455d
commit 2b82f052ae
14 changed files with 158 additions and 16 deletions

View File

@@ -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};