This commit is contained in:
Aevann1 2021-10-10 07:05:52 +02:00
parent 860505a72d
commit a13119cb49
6 changed files with 93 additions and 22 deletions

View file

@ -32,7 +32,7 @@ services:
- BOT_DISABLE=0
- COINS_NAME=Dramacoins
- DEFAULT_TIME_FILTER=all
- DEFAULT_THEME=dark
- DEFAULT_THEME=midnight
- DEFAULT_COLOR=ff66ac #YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58
- SLOGAN=Dude bussy lmao
- GUMROAD_TOKEN=3435tdfsdudebussylmaoxxt43

2
env
View file

@ -27,7 +27,7 @@ export GUMROAD_LINK="https://marsey1.gumroad.com/l/tfcvri"
export CARD_VIEW="1"
export DISABLE_DOWNVOTES="0"
export DUES="0"
export DEFAULT_THEME="dark"
export DEFAULT_THEME="midnight"
export DEFAULT_COLOR="ff66ac" # YOU HAVE TO PICK ONE OF THOSE COLORS OR SHIT WILL BREAK: ff66ac, 805ad5, 62ca56, 38a169, 80ffff, 2a96f3, eb4963, ff0000, f39731, 30409f, 3e98a7, e4432d, 7b9ae4, ec72de, 7f8fa6, f8db58
export MAIL_USERNAME="blahblahblah@gmail.com"
export MAIL_PASSWORD="3435tdfsdudebussylmaoxxt43"

View file

@ -1,23 +1,22 @@
@charset "UTF-8";
:root {
--dark: #c7c7c7;
--secondary: #c7c7c7;
--gray: #c7c7c7;
--gray-300: #c7c7c7;
--gray-500: #ffffff;
--gray-600: #ffffff;
--gray-700: #ffffff;
--gray-800: #ffffff;
--gray-900: #ffffff;
--light: #ffffff;
--muted: #1e1e1e;
--gray-100: #1e1e1e;
--gray-200: #1e1e1e;
--white: #1e1e1e;
--black: #303030;
--gray-400: #cfcfcf;
--dark: #383838;
--secondary: #383838;
--white: #E1E1E1;
--black: #CFCFCF;
--light: #000000;
--muted: #E1E1E1;
--gray: #383838;
--gray-100: #E1E1E1;
--gray-200: #E1E1E1;
--gray-300: #383838;
--gray-400: #303030;
--gray-500: #000000;
--gray-600: #000000;
--gray-700: #000000;
--gray-800: #000000;
--gray-900: #000000;
}
* {

View file

@ -0,0 +1,72 @@
@charset "UTF-8";
:root {
--dark: #c7c7c7;
--secondary: #c7c7c7;
--gray: #c7c7c7;
--gray-300: #c7c7c7;
--gray-500: #ffffff;
--gray-600: #ffffff;
--gray-700: #ffffff;
--gray-800: #ffffff;
--gray-900: #ffffff;
--light: #ffffff;
--muted: #1e1e1e;
--gray-100: #1e1e1e;
--gray-200: #1e1e1e;
--white: #1e1e1e;
--black: #303030;
--gray-400: #cfcfcf;
}
* {
border-color: var(--primary);
}
.border {
border-color: var(--primary) !important;
}
.form-control {
background: transparent;
border-color: var(--primary) !important;
}
.btn {
background: transparent;
border-color: var(--primary) !important;
}
.form-control:disabled, .form-control[readonly] {
background: transparent;
border-color: var(--primary) !important;
}
.btn-success {
border-color: #38A169 !important;
}
.btn-danger {
border-color: #E53E3E !important;
}
#frontpage .pseudo-submit-form.card .card-body .form-control {
border-color: transparent !important;
}
.btn-lg {
border-color: transparent !important;
}
pre {
color: #CFCFCF;
}
.transparent {
background: None !important;
}
#frontpage .post-title a:visited {
color: #7a7a7a !important;
}

View file

@ -97,9 +97,9 @@
<div class="input-group mb2">
<select id='theme' class="form-control" form="profile-settings" name="theme" onchange="post_toast('/settings/profile?theme='+document.getElementById('theme').value, '1')">
{% if v.background %}
{% set entries = ["transparent", "win98", "dark", "coffee", "tron", "4chan", "midnight"] %}
{% set entries = ["transparent", "win98", "dark", "light", "coffee", "tron", "4chan", "midnight"] %}
{% else %}
{% set entries = ["dark", "win98", "coffee", "tron", "4chan", "midnight"] %}
{% set entries = ["dark", "light", "win98", "coffee", "tron", "4chan", "midnight"] %}
{% endif %}
{% for entry in entries %}
<option value="{{entry}}" {% if v.theme==entry %} selected {% endif %}>

View file

@ -386,7 +386,7 @@
</div>
{% if p.embed_url %}
{% if p.domain == "twitter.com" and (v and v.theme.split("_")[0] in ["coffee", "4chan"]) %}
{% if p.domain == "twitter.com" and (v and v.theme.split("_")[0] in ["light", "coffee", "4chan"]) %}
{% include "embeds/twitterlight.html" %}
{% elif "twitter.com" in p.domain %}
{% include "embeds/twitter.html" %}