use crate::color::Color;
use serde_derive::Deserialize;
#[cfg(feature = "smartstring")]
use smartstring::alias::String;
use std::collections::HashMap;
#[derive(Deserialize, Debug)]
pub struct Config {
pub version: u16,
pub background_color: Color,
#[serde(default = "default_target_alpha")]
pub target_alpha: u8,
pub node_colors: HashMap<String, Color>,
}
const fn default_target_alpha() -> u8 {
230
}