Skip to content

Commit

Permalink
Make the default label colour white (#282)
Browse files Browse the repository at this point in the history
We should be following the system theme here, probably.

And doing a lot of other things. But this is a saner default with a
black default "background"
  • Loading branch information
DJMcNab authored May 7, 2024
1 parent 72164fc commit 738e4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/xilem_masonry/src/view/label.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::{Color, MasonryView, MessageResult, TextAlignment, ViewCx, ViewId};
pub fn label(label: impl Into<ArcStr>) -> Label {
Label {
label: label.into(),
text_color: Color::BLACK,
text_color: Color::WHITE,
alignment: TextAlignment::default(),
disabled: false,
}
Expand Down

0 comments on commit 738e4b2

Please sign in to comment.