1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-05 11:06:23 -07:00

Add Dark theme based on Lynxchan/Bunkerchan's Dark theme

This commit is contained in:
Eggbertx 2020-03-19 13:56:21 -07:00
parent a85b0f8f83
commit 48aaad4e6d
5 changed files with 98 additions and 1 deletions

View file

@ -29,11 +29,12 @@
"SiteDomain": "127.0.0.1",
"SiteHeaderURL": "",
"SiteWebfolder": "/",
"DomainRegex": "(https|http):\\/\\/(gochan\\.lunachan\\.net|gochan\\.org)\\/(.*)",
"DomainRegex": "(https|http):\\/\\/(gochan\\.org)\\/(.*)",
"Styles": [
{ "Name": "Pipes", "Filename": "pipes.css" },
{ "Name": "Burichan", "Filename": "burichan.css" },
{ "Name": "Dark", "Filename": "dark.css" },
{ "Name": "Photon", "Filename": "photon.css" }
],
"DefaultStyle": "pipes.css",

37
sass/dark.scss Normal file
View file

@ -0,0 +1,37 @@
@import 'dark/colors';
@import 'dark/front';
@import 'dark/img';
@import 'util';
body {
background: $bgcol;
color: $color;
font-family: $font-family;
font-size: 70%;
}
header {
color: #663E11;
}
hr {
color: #117743;
}
a, a:visited {
color: $topborder;
text-decoration: none;
}
div#staff, div.thread-ddown-menu {
background: $topbarbg;
border: 1px solid $topborder;
}
div#topbar,
div#topbar a,
div#topbar a:visited
div#threadlinks-top {
background: $topbarbg;
border-bottom: 1px solid $topborder;
}

11
sass/dark/_colors.scss Normal file
View file

@ -0,0 +1,11 @@
$bgcol: #1D1F21;
$color: #ACACAC;
$hcol: #663E11;
$inputbg: #282A2E;
$topborder: #B0790A;
$linkcol: #FFB300;
$bordercol: #117743;
$inputborder: #07371F;
$topbarbg: #151515;
$shadowcol: #101010;
$font-family: monospace, sans-serif;

20
sass/dark/_front.scss Normal file
View file

@ -0,0 +1,20 @@
@import 'colors';
div.section-title-block {
background: $topbarbg;
border: 1px solid $topborder;
border-radius: 5px 5px 0px 0px;
}
div.front-intro {
border-radius: 0px!important;
border-width: 1px!important;
}
div.section-body {
border-width: 0px 1px 1px 1px;
border-style: solid;
border-color: #117743;
border-radius: 0px 0px 5px 5px;
background: #282A2E;
}

28
sass/dark/_img.scss Normal file
View file

@ -0,0 +1,28 @@
@import 'colors';
%formstyle {
background: $inputbg!important;
border: 1px double $inputborder;
color: $color;
}
div.reply, th.postblock {
background: #282A2E;
border: 1px solid #117743;
border-radius: 5px;
}
table#postbox-static, div#report-delbox {
input, select, textarea {
border-radius: 5px;
@extend %formstyle;
}
button, input[type=submit] {
background:#16171A;
}
}
select#changepage {
@extend %formstyle;
}