Skip to content

Added Dark Mode Theme #418

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions public/css/arf.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ body {
text-align: center;
}

.dark-Mode{
background-color: #000;
color: #fff;
.node text {
fill: #fff;
}
.legend{
color: #fff;
}
path.link{
stroke: #444;
}
}

.legend {
position: absolute;
top: 0px;
Expand Down
5 changes: 3 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
<div class="legend"><p>(T) - Indicates a link to a tool that must be installed and run locally<br>
(D) - Google Dork, for more information: <a href="https://en.wikipedia.org/wiki/Google_hacking">Google Hacking</a><br>
(R) - Requires registration<br>
(M) - Indicates a URL that contains the search term and the URL itself must be edited manually<br></p></div>

(M) - Indicates a URL that contains the search term and the URL itself must be edited manually<br></p>
<button onclick="goDark()">Toggle dark mode</button></div>

<h3>Notes</h3>
OSINT framework focused on gathering information from free tools or resources. The intention is to help people find free OSINT resources. Some of the sites included might require registration or offer more data for $$$, but you should be able to get at least a portion of the available information for no cost.<br>

Expand Down
7 changes: 6 additions & 1 deletion public/js/arf.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,9 @@ function toggle(d) {
d.children = d._children;
d._children = null;
}
}
}
//Togle Dark Mode
function goDark() {
var element = document.body;
element.classList.toggle("dark-Mode");
}