1
0
Fork 0
forked from wry/wry

theme: add bar-separator-width setting

This commit is contained in:
Stipe Kotarac 2025-12-01 18:15:11 +01:00
parent f5ed6f8fac
commit a6e629dd2f
16 changed files with 163 additions and 31 deletions

View file

@ -76,7 +76,7 @@ impl Color {
Self::BLACK
} else if r > a || g > a || b > a {
log::warn!(
"f32 values {:?} are not valid valid for a premultiplied color. Using solid black instead.",
"f32 values {:?} are not valid for a premultiplied color. Using solid black instead.",
[r, g, b, a]
);
Self::BLACK
@ -359,5 +359,9 @@ pub mod sized {
///
/// Default: 17
const 03 => BAR_HEIGHT,
/// The width of the bar's separator.
///
/// Default: 1
const 04 => BAR_SEPARATOR_WIDTH,
}
}