#[derive(Debug, Clone)]
pub struct Theme {
pub bg: String,
pub surface: String,
pub text: String,
pub muted: String,
pub accent: String,
pub border: String,
pub status_note: String,
pub status_tip: String,
pub status_important: String,
pub status_warning: String,
pub status_caution: String,
pub font_heading: String,
pub font_body: String,
pub font_mono: String,
pub root_class: String,
pub code_theme: String,
}
impl Default for Theme {
fn default() -> Self {
Theme {
bg: "#0D0D0D".to_string(),
surface: "rgba(127,127,127,0.10)".to_string(),
text: "#F5F5F0".to_string(),
muted: "#a6a69c".to_string(),
accent: "#B8FF00".to_string(),
border: "rgba(127,127,127,0.28)".to_string(),
status_note: "#4c8dff".to_string(),
status_tip: "#3fb950".to_string(),
status_important: "#a371f7".to_string(),
status_warning: "#d29922".to_string(),
status_caution: "#f0655e".to_string(),
font_heading: "'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif"
.to_string(),
font_body: "system-ui, -apple-system, 'Segoe UI', sans-serif".to_string(),
font_mono: "'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace"
.to_string(),
root_class: "mdr".to_string(),
code_theme: "base16-ocean.dark".to_string(),
}
}
}