added dark mode

This commit is contained in:
Kevin Froman 2019-10-04 16:49:35 -05:00
parent 14334e7197
commit 215c8d2c3a
14 changed files with 51 additions and 13 deletions

View file

@ -3,7 +3,6 @@
<p>Onionr is a private decentralized communication network</p>
<p><i class="fab fa-gitlab"></i> <a href="https://gitlab.com/beardog/onionr">Source code</a></p>
<br>
<b>Core developers:</b>
@ -12,6 +11,12 @@
<li><a href="https://www.aaronesau.com/">Aaron Esau</a></li>
</ul>
<b>Contributors:</b>
<ul>
<li><a href="https://invisamage.com/">Travis Kipp</a> (web UI and CSS)</li>
<li><a href="https://k7dxs.net/">Duncan Simpson</a> Packaging help</li>
</ul>
<br>
<b>Onionr is built with:</b>

View file

@ -58,4 +58,12 @@ html {
.aboutLogo{
max-width: 25%;
margin-bottom: 1em;
}
html{
background-color: #212224;
color: white;
}
.textarea{
background-color: #212224;
color: white;
}

View file

@ -16,7 +16,7 @@ async function userIcon(pubkey, imgSize=64){
pubkey = await sha256(base32.decode.asBytes(pubkey))
let options = {
//foreground: [0,0,0,1], // rgba black
background: [255, 255, 255, 255], // rgba white
background: [0, 0, 0, 0], // rgba white
//margin: 0.1,
size: imgSize,
format: 'svg' // use SVG instead of PNG