#ui #diacritics #contrast #accessibility #color

mundy

Reads various system-level accessibility and UI preferences

9 releases

0.1.8 Mar 24, 2025
0.1.7 Mar 8, 2025
0.1.6 Jan 27, 2025
0.1.5 Dec 17, 2024
0.1.2 Oct 18, 2024

#86 in Operating systems

Download history 62/week @ 2024-12-19 1/week @ 2024-12-26 50/week @ 2025-01-02 20/week @ 2025-01-09 5/week @ 2025-01-16 97/week @ 2025-01-23 37/week @ 2025-01-30 26/week @ 2025-02-06 8/week @ 2025-02-13 31/week @ 2025-02-20 14/week @ 2025-02-27 128/week @ 2025-03-06 15/week @ 2025-03-13 178/week @ 2025-03-20 56/week @ 2025-03-27 43/week @ 2025-04-03

293 downloads per month

Apache-2.0

110KB
2K SLoC

mundy 🐋

Docs Crate Version

Your friendly neighbourhood whale crate for reading various system-level accessibility and UI preferences across platforms 🐋

The following preferences are supported:

Example

use mundy::{Preferences, Interest};
use futures_lite::StreamExt as _;

// Interest tells mundy which preferences it should monitor for you.
// use `Interest::All` if you're interested in all preferences.
let mut stream = Preferences::stream(Interest::AccentColor);

async {
    while let Some(preferences) = stream.next().await {
        eprintln!("accent color: {:?}", preferences.accent_color);
    }
};

Docs

License

Licensed under the Apache License, Version 2.0 (license.txt or http://www.apache.org/licenses/LICENSE-2.0)

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~0.2–46MB
~722K SLoC