diff --git a/src/state/title_screen.rs b/src/state/title_screen.rs index 2cded5a..311e3ac 100644 --- a/src/state/title_screen.rs +++ b/src/state/title_screen.rs @@ -52,16 +52,28 @@ const BOLD_TEXT_STYLE: TextStyle = TextStyle { font_size: 0.0, color: TEXT_COLOR, }; -const BORDER_COLOR: Color = Color::rgb(0.510, 0.612, 0.769); -const BORDER_WIDTH: f32 = 2.0; + const BACKGROUND_COLOR: Color = Color::rgb(0.580, 0.682, 0.839); +const BORDER_COLOR: Color = Color::rgb(0.510, 0.612, 0.769); +const BORDER_WIDTH: f32 = 1.5; + const HEADER_BACKGROUND_COLOR: Color = Color::rgb(0.549, 0.647, 0.796); const HEADER_FONT_SIZE: f32 = 12.0; const HEADER_TEXT: &str = "Bevy Jam #4: The Game"; + const BODY_FONT_SIZE: f32 = 7.0; const BODY_TEXT: &str = "Welcome to the fourth official Bevy Jam!\n \nIn this 9 day event, your goal is to make a game in Bevy Engine,\nthe free and open-source game engine built in Rust.\n \nThe theme is: That's a LOT of Entities!"; const THEME: &str = "That's a LOT of Entities!"; +const BUTTON_TEXT_STYLE: TextStyle = TextStyle { + font: BOLD_FONT_HANDLE, + font_size: 0.0, + color: Color::WHITE, +}; +const BUTTON_FONT_SIZE: f32 = 12.0; +const BUTTON_BACKGROUND_COLOR: Color = Color::rgb(0.000, 0.188, 0.702); +const BUTTON_BORDER_COLOR: Color = Color::rgb(0.118, 0.306, 0.820); + #[derive(AssetCollection, Resource, Reflect, Default)] #[reflect(Resource)] pub struct TitleScreenAssets {} @@ -108,6 +120,7 @@ fn enter_title_screen(mut commands: Commands, root: Res, config: Res, config: Res, config: Res) {