attheme-rs
A crate for working with .attheme
files. It has full support for the
.attheme
file format. In addition, it provides all default themes,
including setting custom accent colors, and a complete list of variables.
Should you have a problem or a question, feel free to file an issue on our GitLab repository.
Installation
Add this in your Cargo.toml
:
[]
= "0.2"
Examples
Working with variables
use fs;
use ;
let contents = read;
let mut theme = from_bytes;
theme.variables.insert;
if theme.variables.get
Extracting a theme's wallpaper
use fs;
use Attheme;
let contents = read;
let theme = from_bytes;
if let Some = theme.wallpaper
Documentation
See the documentation on docs.rs.