quantrs2_tytan/visual_problem_builder/theme_traits.rs
1//! # Theme - Trait Implementations
2//!
3//! This module contains trait implementations for `Theme`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::{GridSettings, Theme};
12
13impl Default for Theme {
14 fn default() -> Self {
15 Self {
16 primary_color: "#007acc".to_string(),
17 secondary_color: "#ffa500".to_string(),
18 background_color: "#ffffff".to_string(),
19 text_color: "#000000".to_string(),
20 grid: GridSettings::default(),
21 }
22 }
23}