<h1 align="center">
<img src="https://github.com/toastxc/material3-egui/blob/main/README_RESOURCES/example1.png" alt="Demo image 1" width="30%" height="30%">
<img src="https://github.com/toastxc/material3-egui/blob/main/README_RESOURCES/example2.png" alt="Demo image 2" width="30%" height="30%">
<img src="https://github.com/toastxc/material3-egui/blob/main/README_RESOURCES/example3.png" alt="Demo image 3" width="30%" height="30%">
M3-EGUI
[](https://github.com/toastxc/Reywen-Revolt/stargazers)
[](https://github.com/toastxc/Reywen-Revolt/network/members)
[](https://github.com/toastxc/Reywen-Revolt/pulls)
[](https://github.com/toastxc/Reywen-Revolt/issues)
[](https://github.com/toastxc/Reywen-Revolt/graphs/contributors)
[](https://github.com/toastxc/Reywen-Revolt/blob/main/LICENCE)
</h1>
## About
M3-EGUI (material-egui) is a library that takes an input color and generates a color palette using M3 colors. It then apples those colors to the Egui components.
## Installation
```rust
cargo install material-egui
```
## Adding to projects
### Cargo.toml
```toml
material-egui = "*"
```
### main.rs
This can be done anywhere that CTX is available
```rust
// input color, is_dark_theme, zoom scale
material_egui::apply(String::from("F0F"), true, 1.5, &ctx);
```