From 809d191c6624c0c708c6d2c96c23c60e849dab53 Mon Sep 17 00:00:00 2001 From: pfra17 <47630034+pfra17@users.noreply.github.com> Date: Sun, 24 Nov 2024 21:32:47 +0100 Subject: [PATCH] Icon change --- css/style.css | 2 +- images/plane-svgrepo-com-dark.svg | 12 ++++++++++++ images/plane-svgrepo-com-light.svg | 12 ++++++++++++ js/app.js | 2 +- 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 images/plane-svgrepo-com-dark.svg create mode 100644 images/plane-svgrepo-com-light.svg diff --git a/css/style.css b/css/style.css index e30c8a9..d0878eb 100644 --- a/css/style.css +++ b/css/style.css @@ -3,7 +3,7 @@ --background-color: #ffffff; /* Light background */ --background-color-transparent: rgba(255, 255, 255, 0.80); /* Light background */ --text-color: #000000; /* Dark text */ - --primary-color: #4169E1; /* Royal Blue */ + --primary-color: #1E90FF; /* Electric Blue */ --secondary-color: #FF7F50; /* Coral */ } diff --git a/images/plane-svgrepo-com-dark.svg b/images/plane-svgrepo-com-dark.svg new file mode 100644 index 0000000..eb44ad0 --- /dev/null +++ b/images/plane-svgrepo-com-dark.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/images/plane-svgrepo-com-light.svg b/images/plane-svgrepo-com-light.svg new file mode 100644 index 0000000..71efb88 --- /dev/null +++ b/images/plane-svgrepo-com-light.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/js/app.js b/js/app.js index 5ab205f..5db1924 100644 --- a/js/app.js +++ b/js/app.js @@ -40,7 +40,7 @@ map.addLayer(lightMaplayer); // Marker symbol for Vatsim planes let vatsimMarkerIcon = L.icon({ - iconUrl: "images/plane.png", + iconUrl: "images/plane-svgrepo-com-dark.svg", iconSize: [20, 20], iconAnchor: [15, 0], popupAnchor: [0, 0]