feat: Add text UI component (#56)
This commit is contained in:
@@ -25,11 +25,7 @@ fn setup(mut commands: Commands) {
|
||||
..Node::center()
|
||||
},
|
||||
children![
|
||||
(
|
||||
Text::new("Pomonon Garten"),
|
||||
TextFont::from_font_size(64.0),
|
||||
TextColor(Color::srgb(0.9, 0.9, 0.9))
|
||||
),
|
||||
text("Pomomon Garden", 64.0, Color::WHITE),
|
||||
button(
|
||||
ButtonType::LoadGame,
|
||||
ButtonVariant::Primary,
|
||||
|
||||
Reference in New Issue
Block a user