Crates.io | ratatui-base16 |
lib.rs | ratatui-base16 |
version | 0.3.4 |
source | src |
created_at | 2024-05-10 05:12:01.364569 |
updated_at | 2024-08-19 22:50:23.158465 |
description | A base16 palette for ratatui |
homepage | |
repository | https://github.com/kdheepak/ratatui-base16 |
max_upload_size | |
id | 1235701 |
size | 27,863 |
ratatui-base16 is a base16 palette library for the Ratatui crate in Rust.
To get started, first add it to your Cargo.toml dependencies:
$ cargo add ratatui-base16
Creating a Base16Palette
is simple. Here's a quick example:
use ratatui_base16::Base16Palette;
let palette = Base16Palette::from_yaml("./config/dracula.yaml");
Please feel free to fork the repository, make your changes, and submit a pull request.
See LICENSE for details.