add muted_hover token and rework tab strip visuals
This commit is contained in:
@@ -22,6 +22,7 @@ pub struct ThemeDefinition {
|
||||
pub secondary: Option<String>,
|
||||
pub secondary_foreground: Option<String>,
|
||||
pub muted: Option<String>,
|
||||
pub muted_hover: Option<String>,
|
||||
pub muted_foreground: Option<String>,
|
||||
pub destructive: Option<String>,
|
||||
pub destructive_foreground: Option<String>,
|
||||
@@ -88,6 +89,10 @@ impl ThemeDefinition {
|
||||
parse_hex(self.muted.as_deref()?)
|
||||
}
|
||||
|
||||
pub fn muted_hover(&self) -> Option<Hsla> {
|
||||
parse_hex(self.muted_hover.as_deref()?)
|
||||
}
|
||||
|
||||
pub fn muted_foreground(&self) -> Option<Hsla> {
|
||||
parse_hex(self.muted_foreground.as_deref()?)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user