new rendering engine
This commit is contained in:
22
crates/client-domain/src/theme.rs
Normal file
22
crates/client-domain/src/theme.rs
Normal file
@@ -0,0 +1,22 @@
|
||||
use crate::Color;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct ThemeConfig {
|
||||
pub primary: Color,
|
||||
pub secondary: Color,
|
||||
pub accent: Color,
|
||||
pub text: Color,
|
||||
pub background: Color,
|
||||
}
|
||||
|
||||
impl Default for ThemeConfig {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
primary: Color(0x00, 0x7A, 0xCC),
|
||||
secondary: Color(0x88, 0x88, 0x88),
|
||||
accent: Color(0xE9, 0x45, 0x60),
|
||||
text: Color(0xFF, 0xFF, 0xFF),
|
||||
background: Color(0x00, 0x00, 0x00),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user