File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ function color ( ) {
2+ var svg = document . querySelector ( ".logo" ) . getSVGDocument ( ) ;
3+ svg . getElementById ( "dark-1" ) . setAttribute ( "stop-color" , document . getElementById ( "color1" ) . value ) ;
4+ svg . getElementById ( "dark-2" ) . setAttribute ( "stop-color" , document . getElementById ( "color2" ) . value ) ;
5+ }
Original file line number Diff line number Diff line change 1+ body {
2+ font-family : fira-sans, sans;
3+ font-size : 10pt ;
4+ background-color : transparent;
5+ }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > RouterOS-Scripts Logo Color Changer</ title >
6+ < link rel ="stylesheet " type ="text/css " href ="logo-color.d/style.css ">
7+ < script src ="logo-color.d/script.js "> </ script >
8+ </ head >
9+ < body >
10+
11+ < h1 > RouterOS-Scripts Logo Color Changer</ h1 >
12+
13+ < p > You want the logo for your own notifications? But you joined the
14+ < a href ="https://t.me/routeros_scripts "> Telegram Group</ a > and want
15+ something that differentiates? Color it!</ p >
16+
17+ < embed class ="logo " src ="../logo.svg " width ="128 " height ="128 " type ="image/svg+xml ">
18+
19+ < p > Select the colors here:
20+ < input id ="color1 " type ="color " value ="#222222 " onchange ="color(); ">
21+ < input id ="color2 " type ="color " value ="#444444 " onchange ="color(); "> </ p >
22+
23+ < p > Then right-click, click "< i > Take Screenshot</ i > " and finally select the
24+ logo and download it.</ p >
25+
26+ </ body >
27+ </ html >
You can’t perform that action at this time.
0 commit comments