Use light logo variants

This commit is contained in:
2026-03-11 13:57:48 -06:00
parent 0b216092b1
commit c3f43dc86f
6 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ public class LoginController {
@FXML @FXML
public void initialize() { public void initialize() {
lblError.setText(""); lblError.setText("");
logoContainer.getChildren().setAll(SvgWebViewFactory.build("/org/example/petshopdesktop/images/leons-pet-store-badge-text.svg", 120)); logoContainer.getChildren().setAll(SvgWebViewFactory.build("/org/example/petshopdesktop/images/leons-pet-store-badge-text-light.svg", 120));
} }
@FXML @FXML

View File

@@ -207,7 +207,7 @@ public class MainLayoutController {
@FXML @FXML
public void initialize() { public void initialize() {
logoContainer.getChildren().setAll(SvgWebViewFactory.build("/org/example/petshopdesktop/images/leons-pet-store-badge.svg", 94)); logoContainer.getChildren().setAll(SvgWebViewFactory.build("/org/example/petshopdesktop/images/leons-pet-store-badge-light.svg", 94));
applyRBAC(); applyRBAC();
UserSession session = UserSession.getInstance(); UserSession session = UserSession.getInstance();

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 512 512" role="img" aria-label="Leon's Pet Store logo"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Leon's Pet Store logo">
<defs> <defs>
<style> <style>
.badge-bg { fill: #E7D8C8; } .badge-bg { fill: #E7D8C8; }

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 512 512" role="img" aria-label="Leon's Pet Store logo"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" role="img" aria-label="Leon's Pet Store logo">
<defs> <defs>
<style> <style>
.ring { fill: none; stroke: #A83B2B; stroke-width: 18; } .ring { fill: none; stroke: #A83B2B; stroke-width: 18; }

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -21,7 +21,7 @@
<Insets bottom="34.0" left="34.0" right="34.0" top="34.0" /> <Insets bottom="34.0" left="34.0" right="34.0" top="34.0" />
</padding> </padding>
<children> <children>
<StackPane fx:id="logoContainer" maxHeight="152.0" maxWidth="152.0" minHeight="152.0" minWidth="152.0" prefHeight="152.0" prefWidth="152.0" style="-fx-background-color: #e7d8c8; -fx-background-radius: 999; -fx-border-color: rgba(161,63,46,0.24); -fx-border-radius: 999;"> <StackPane fx:id="logoContainer" maxHeight="152.0" maxWidth="152.0" minHeight="152.0" minWidth="152.0" prefHeight="152.0" prefWidth="152.0">
<effect> <effect>
<DropShadow blurType="GAUSSIAN" color="0x0f172838" height="18.0" offsetY="6.0" radius="9.0" spread="0.16" width="18.0" /> <DropShadow blurType="GAUSSIAN" color="0x0f172838" height="18.0" offsetY="6.0" radius="9.0" spread="0.16" width="18.0" />
</effect> </effect>

View File

@@ -22,7 +22,7 @@
</padding> </padding>
<children> <children>
<HBox alignment="CENTER"> <HBox alignment="CENTER">
<StackPane fx:id="logoContainer" maxHeight="118.0" maxWidth="118.0" minHeight="118.0" minWidth="118.0" onMouseClicked="#logoClicked" prefHeight="118.0" prefWidth="118.0" style="-fx-cursor: hand; -fx-background-color: #e7d8c8; -fx-background-radius: 999; -fx-border-color: rgba(161,63,46,0.24); -fx-border-radius: 999;"> <StackPane fx:id="logoContainer" maxHeight="118.0" maxWidth="118.0" minHeight="118.0" minWidth="118.0" onMouseClicked="#logoClicked" prefHeight="118.0" prefWidth="118.0" style="-fx-cursor: hand;">
<effect> <effect>
<DropShadow blurType="GAUSSIAN" color="0x0f172838" height="18.0" offsetY="6.0" radius="9.0" spread="0.16" width="18.0" /> <DropShadow blurType="GAUSSIAN" color="0x0f172838" height="18.0" offsetY="6.0" radius="9.0" spread="0.16" width="18.0" />
</effect> </effect>