aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/logo-color.d
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/logo-color.d')
-rw-r--r--contrib/logo-color.d/script.js5
-rw-r--r--contrib/logo-color.d/style.css5
2 files changed, 10 insertions, 0 deletions
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;
+}