From 5ae3cb336fa80d8d5fe141d59a85148f8c4823df Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 23 May 2023 11:47:06 +0200 Subject: add a logo color changer Generate a colored logo for your notifications! --- contrib/logo-color.d/script.js | 5 +++++ contrib/logo-color.d/style.css | 5 +++++ contrib/logo-color.html | 27 +++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 contrib/logo-color.d/script.js create mode 100644 contrib/logo-color.d/style.css create mode 100644 contrib/logo-color.html (limited to 'contrib') diff --git a/contrib/logo-color.d/script.js b/contrib/logo-color.d/script.js new file mode 100644 index 0000000..ac89905 --- /dev/null +++ b/contrib/logo-color.d/script.js @@ -0,0 +1,5 @@ +function color() { + var svg = document.querySelector(".logo").getSVGDocument(); + svg.getElementById("dark-1").setAttribute("stop-color", document.getElementById("color1").value); + svg.getElementById("dark-2").setAttribute("stop-color", document.getElementById("color2").value); +} diff --git a/contrib/logo-color.d/style.css b/contrib/logo-color.d/style.css new file mode 100644 index 0000000..f0e3f49 --- /dev/null +++ b/contrib/logo-color.d/style.css @@ -0,0 +1,5 @@ +body { + font-family: fira-sans, sans; + font-size: 10pt; + background-color: transparent; +} diff --git a/contrib/logo-color.html b/contrib/logo-color.html new file mode 100644 index 0000000..2864fcb --- /dev/null +++ b/contrib/logo-color.html @@ -0,0 +1,27 @@ + + + + +RouterOS-Scripts Logo Color Changer + + + + + +

RouterOS-Scripts Logo Color Changer

+ +

You want the logo for your own notifications? But you joined the +Telegram Group and want +something that differentiates? Color it!

+ + + +

Select the colors here: + +

+ +

Then right-click, click "Take Screenshot" and finally select the +logo and download it.

+ + + -- cgit v1.2.3-54-g00ecf