Skip to main content

urushi/theme/
tokens.rs

1//! Colors named for their display meaning.
2
3use crate::Color;
4
5/// Colors named for their display meaning rather than a rendering technology.
6#[derive(Debug, Clone, Copy, PartialEq, Eq)]
7pub struct SemanticTokens {
8    pub text: Color,
9    pub text_muted: Color,
10    pub background: Color,
11    pub surface: Color,
12    pub accent: Color,
13    pub accent_text: Color,
14    pub success: Color,
15    pub warning: Color,
16    pub error: Color,
17    pub border: Color,
18}