Crates.io | material3_optimizer |
lib.rs | material3_optimizer |
version | 0.1.0 |
source | src |
created_at | 2023-08-15 07:55:21.53494 |
updated_at | 2023-08-15 07:55:21.53494 |
description | It also allows you to inline the colors from the color scheme directly into the generated theme code, providing a seamless integration between the builder and the color scheme. |
homepage | https://github.com/Deaths-Door/material3-optimizer |
repository | |
max_upload_size | |
id | 944796 |
size | 20,850 |
The Material3 Theme Builder Parser for Jetpack Compose Material3 Builder is a utility that automates the process of generating theme code based on the Material3 Builder output. It also allows you to inline the colors from the color scheme directly into the generated theme code, providing a seamless integration between the builder and the color scheme.
Material Theme Builder is a new tool that helps you visualize Material You’s dynamic color and create a custom Material Design 3 theme. With built-in code export, it’s easy to migrate to Material's new color system and take advantage of dynamic color.
Material Design can be customized to represent a variety of stylistic choices. A theme is a set of style choices that define the visual appearance of a product. With Material Design 3, we are introducing design tokens—small, reusable design decisions that reflect the system’s visual style. By building with tokens instead of static values, design and code share a source of truth.
For more information about the Material 3 Builder and its capabilities, please refer to the Material 3 Builder Blog.
To use the CLI program, follow these steps:
cargo build
../material3_optimier.exe --help
OptimizeResult
object from the input directory, the specific error message will be printed.Contributions are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.