diff --git a/.cargo/config.toml b/.cargo/config.toml
new file mode 100644
index 0000000..d29d6c3
--- /dev/null
+++ b/.cargo/config.toml
@@ -0,0 +1,3 @@
+[target.x86_64-unknown-linux-gnu]
+linker = "clang"
+rustflags = ["-C", "link-arg=-fuse-ld=mold"]
diff --git a/Cargo.toml b/Cargo.toml
index e64c739..2c19fde 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,10 +14,6 @@ opt-level = 1
[profile.dev.package."*"]
opt-level = 3
-[target.x86_64-unknown-linux-gnu]
-linker = "clang"
-rustflags = ["-C", "link-arg=-fuse-ld=mold"]
-
[dependencies]
bevy = { version = "0.12.0", features = [ "wayland", "dynamic_linking" ] }
lazy_static = "1.4.0"
diff --git a/assets/fonts/VictorMono-Bold.otf b/assets/fonts/VictorMono-Bold.otf
new file mode 100644
index 0000000..df6fafb
Binary files /dev/null and b/assets/fonts/VictorMono-Bold.otf differ
diff --git a/assets/fonts/VictorMono-BoldItalic.otf b/assets/fonts/VictorMono-BoldItalic.otf
new file mode 100644
index 0000000..1d8c000
Binary files /dev/null and b/assets/fonts/VictorMono-BoldItalic.otf differ
diff --git a/assets/fonts/VictorMono-BoldOblique.otf b/assets/fonts/VictorMono-BoldOblique.otf
new file mode 100644
index 0000000..f5ca7aa
Binary files /dev/null and b/assets/fonts/VictorMono-BoldOblique.otf differ
diff --git a/assets/fonts/VictorMono-ExtraLight.otf b/assets/fonts/VictorMono-ExtraLight.otf
new file mode 100644
index 0000000..d076726
Binary files /dev/null and b/assets/fonts/VictorMono-ExtraLight.otf differ
diff --git a/assets/fonts/VictorMono-ExtraLightItalic.otf b/assets/fonts/VictorMono-ExtraLightItalic.otf
new file mode 100644
index 0000000..836ebba
Binary files /dev/null and b/assets/fonts/VictorMono-ExtraLightItalic.otf differ
diff --git a/assets/fonts/VictorMono-ExtraLightOblique.otf b/assets/fonts/VictorMono-ExtraLightOblique.otf
new file mode 100644
index 0000000..2408c50
Binary files /dev/null and b/assets/fonts/VictorMono-ExtraLightOblique.otf differ
diff --git a/assets/fonts/VictorMono-Italic.otf b/assets/fonts/VictorMono-Italic.otf
new file mode 100644
index 0000000..04110a2
Binary files /dev/null and b/assets/fonts/VictorMono-Italic.otf differ
diff --git a/assets/fonts/VictorMono-Light.otf b/assets/fonts/VictorMono-Light.otf
new file mode 100644
index 0000000..977f7a5
Binary files /dev/null and b/assets/fonts/VictorMono-Light.otf differ
diff --git a/assets/fonts/VictorMono-LightItalic.otf b/assets/fonts/VictorMono-LightItalic.otf
new file mode 100644
index 0000000..de735a7
Binary files /dev/null and b/assets/fonts/VictorMono-LightItalic.otf differ
diff --git a/assets/fonts/VictorMono-LightOblique.otf b/assets/fonts/VictorMono-LightOblique.otf
new file mode 100644
index 0000000..6678a11
Binary files /dev/null and b/assets/fonts/VictorMono-LightOblique.otf differ
diff --git a/assets/fonts/VictorMono-Medium.otf b/assets/fonts/VictorMono-Medium.otf
new file mode 100644
index 0000000..ec79f1a
Binary files /dev/null and b/assets/fonts/VictorMono-Medium.otf differ
diff --git a/assets/fonts/VictorMono-MediumItalic.otf b/assets/fonts/VictorMono-MediumItalic.otf
new file mode 100644
index 0000000..66a2867
Binary files /dev/null and b/assets/fonts/VictorMono-MediumItalic.otf differ
diff --git a/assets/fonts/VictorMono-MediumOblique.otf b/assets/fonts/VictorMono-MediumOblique.otf
new file mode 100644
index 0000000..c1a5368
Binary files /dev/null and b/assets/fonts/VictorMono-MediumOblique.otf differ
diff --git a/assets/fonts/VictorMono-Oblique.otf b/assets/fonts/VictorMono-Oblique.otf
new file mode 100644
index 0000000..cb57386
Binary files /dev/null and b/assets/fonts/VictorMono-Oblique.otf differ
diff --git a/assets/fonts/VictorMono-Regular.otf b/assets/fonts/VictorMono-Regular.otf
new file mode 100644
index 0000000..0421eb0
Binary files /dev/null and b/assets/fonts/VictorMono-Regular.otf differ
diff --git a/assets/fonts/VictorMono-SemiBold.otf b/assets/fonts/VictorMono-SemiBold.otf
new file mode 100644
index 0000000..cf720e8
Binary files /dev/null and b/assets/fonts/VictorMono-SemiBold.otf differ
diff --git a/assets/fonts/VictorMono-SemiBoldItalic.otf b/assets/fonts/VictorMono-SemiBoldItalic.otf
new file mode 100644
index 0000000..54e71a4
Binary files /dev/null and b/assets/fonts/VictorMono-SemiBoldItalic.otf differ
diff --git a/assets/fonts/VictorMono-SemiBoldOblique.otf b/assets/fonts/VictorMono-SemiBoldOblique.otf
new file mode 100644
index 0000000..3a98ffd
Binary files /dev/null and b/assets/fonts/VictorMono-SemiBoldOblique.otf differ
diff --git a/assets/fonts/VictorMono-Thin.otf b/assets/fonts/VictorMono-Thin.otf
new file mode 100644
index 0000000..5c73e59
Binary files /dev/null and b/assets/fonts/VictorMono-Thin.otf differ
diff --git a/assets/fonts/VictorMono-ThinItalic.otf b/assets/fonts/VictorMono-ThinItalic.otf
new file mode 100644
index 0000000..1917b77
Binary files /dev/null and b/assets/fonts/VictorMono-ThinItalic.otf differ
diff --git a/assets/fonts/VictorMono-ThinOblique.otf b/assets/fonts/VictorMono-ThinOblique.otf
new file mode 100644
index 0000000..67c1fed
Binary files /dev/null and b/assets/fonts/VictorMono-ThinOblique.otf differ
diff --git a/assets/fonts/iosevka-comfy-bold.ttf.REMOVED.git-id b/assets/fonts/iosevka-comfy-bold.ttf.REMOVED.git-id
deleted file mode 100644
index 36dcc57..0000000
--- a/assets/fonts/iosevka-comfy-bold.ttf.REMOVED.git-id
+++ /dev/null
@@ -1 +0,0 @@
-43a6ab5c4dfb60b08c412649395ce5c25e188a8c
\ No newline at end of file
diff --git a/assets/fonts/iosevka-comfy-regular.ttf.REMOVED.git-id b/assets/fonts/iosevka-comfy-regular.ttf.REMOVED.git-id
deleted file mode 100644
index d9ea4fa..0000000
--- a/assets/fonts/iosevka-comfy-regular.ttf.REMOVED.git-id
+++ /dev/null
@@ -1 +0,0 @@
-ccc5a6f8221d5251ef60bf750fd69949924a9051
\ No newline at end of file
diff --git a/assets/icon/ambition-2x-nobg-white.png b/assets/icon/ambition-2x-nobg-white.png
new file mode 100644
index 0000000..7b6b3b5
Binary files /dev/null and b/assets/icon/ambition-2x-nobg-white.png differ
diff --git a/assets/icon/ambition-2x.png b/assets/icon/ambition-2x.png
new file mode 100644
index 0000000..5505809
Binary files /dev/null and b/assets/icon/ambition-2x.png differ
diff --git a/assets/icon/ambition-nobg-white.png b/assets/icon/ambition-nobg-white.png
new file mode 100644
index 0000000..5f51935
Binary files /dev/null and b/assets/icon/ambition-nobg-white.png differ
diff --git a/assets/icon/ambition.png b/assets/icon/ambition.png
new file mode 100644
index 0000000..05ca9b2
Binary files /dev/null and b/assets/icon/ambition.png differ
diff --git a/assets/icon/ambition.svg b/assets/icon/ambition.svg
new file mode 100644
index 0000000..1080946
--- /dev/null
+++ b/assets/icon/ambition.svg
@@ -0,0 +1,92 @@
+
+
+
+
diff --git a/src/main.rs b/src/main.rs
index d387959..a225f70 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -30,8 +30,10 @@ fn main() {
App::new()
.insert_resource(ClearColor(HYPERNOVA.get("DARK_GRAY").copied().unwrap()))
.add_plugins(DefaultPlugins)
- .add_systems(Startup, setup)
- .add_systems(Update, render_ui)
+ .add_systems(
+ Startup,
+ (setup, render_ui)
+ )
.run();
}
@@ -52,19 +54,39 @@ fn render_ui(
server: Res,
mut commands: Commands
) {
- let bold_font: Handle = server.load("fonts/iosevka-comfy-bold.ttf");
- let regular_font: Handle = server.load("fonts/iosevka-comfy-regular.ttf");
+ let bold_font: Handle = server.load("fonts/VictorMono-Bold.otf");
+ let regular_font: Handle = server.load("fonts/VictorMono-Regular.otf");
let text_style = TextStyle {
- font: bold_font,
- font_size: 60.0,
- color: HYPERNOVA.get("WHITE").copied().unwrap(),
+ font: bold_font.clone(),
+ font_size: 80.0,
+ color: Color::WHITE,
};
- let text_alignment = TextAlignment::Center;
- commands.spawn((
- Text2dBundle {
- text: Text::from_section("translation", text_style.clone())
- .with_alignment(text_alignment),
- ..default()
- )};
+ commands
+ .spawn(NodeBundle {
+ style: Style {
+ // fill the entire window
+ width: Val::Percent(100.),
+ flex_direction: FlexDirection::Column,
+ align_items: AlignItems::Center,
+ ..Default::default()
+ },
+ background_color: BackgroundColor(Color::BLACK),
+ ..Default::default()
+ })
+ .with_children(|builder| {
+ builder.spawn(
+ TextBundle::from_section("Ambition", text_style.clone())
+ .with_text_alignment(TextAlignment::Center)
+ .with_style(Style {
+ position_type: PositionType::Absolute,
+ margin: UiRect {
+ top: Val::Percent(10.),
+ ..default()
+ },
+ ..default()
+ }),
+ );
+ }
+ );
}