https://github.com/ameknite/blender_theme
Blender Theme Models. Facilitate the creation of blender themes.
https://github.com/ameknite/blender_theme
b3d blender theme themes
Last synced: 9 months ago
JSON representation
Blender Theme Models. Facilitate the creation of blender themes.
- Host: GitHub
- URL: https://github.com/ameknite/blender_theme
- Owner: ameknite
- License: gpl-3.0
- Created: 2024-06-28T21:06:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-19T21:06:15.000Z (9 months ago)
- Last Synced: 2025-09-19T23:56:51.370Z (9 months ago)
- Topics: b3d, blender, theme, themes
- Language: Rust
- Homepage:
- Size: 427 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE-GPL-3.0-or-later
- Notice: NOTICE
Awesome Lists containing this project
README
# Blender Theme
[](https://github.com/ameknite/blender_theme?tab=readme-ov-file#license)
[](https://crates.io/crates/blender_theme)
[](./Cargo.toml#L8)
[](https://github.com/ameknite/blender_theme/actions/workflows/ci.yaml)
Blender Theme Models.
Facilitate the creation of blender themes.
```toml
[dependencies]
blender_theme = "0.1"
```
## Examples
Using the default blender dark theme.
```rust
use blender_theme::{B3dTheme, Version};
fn main() -> color_eyre::Result<()> {
color_eyre::install()?;
let mut theme: B3dTheme = Version::V4_2.get_default_theme()?;
// theme modifications
theme.save_theme("themes/my_theme.xml")?;
Ok(())
}
```
Using your own theme.
```rust
use blender_theme::{B3dTheme, Version};
fn main() -> color_eyre::Result<()> {
color_eyre::install()?;
let theme = B3dTheme::from_file("themes/my_theme.xml", Version::V4_2)?;
// theme modifications
theme.save_theme("themes/my_modified_theme.xml")?;
Ok(())
}
```
## Supported Versions
| blender_theme | blender |
| ------------- | --------- |
| 0.1 | 3.6 - 4.3 |
## LICENSE
Licensed under the terms of the [GNU General Public License v3.0 or later](LICENSE-GPL-3.0-or-later).
SPDX-License-Identifier: GPL-3.0-or-later