Format SCSS with prettier

This commit is contained in:
Michał Gdula 2022-11-09 18:37:02 +00:00
parent 6a28f6022d
commit bd7765b376
9 changed files with 1233 additions and 1195 deletions

View file

@ -1,13 +1,20 @@
<?php
// Database check, this will check if the database table is setup correctly
// Adding these check hopefully will make the gallery more stable as I dont
// Trust my programming skills nor my ability to write good documentation
// Im also so sorry for the code you're about to read
/*
|-------------------------------------------------------------
| Database Sanity Check
|-------------------------------------------------------------
| this will check if the database table is setup correctly
| Adding these checks hopefully will make the gallery more
| stable as I dont trust my programming skills nor my ability
| to write good documentation.
|
| Im also so sorry for the code you're about to read
|-------------------------------------------------------------
*/
if (defined('ROOT') && $_SESSION['id'] == 1) {
// Column name Type Null Key Default Extra
/* Column name Type Null Key Default Extra */
$table_templates = array(
'images' => array(
array('id', 'int(11)', 'NO', 'PRI', '', 'auto_increment'),
@ -34,6 +41,12 @@ if (defined('ROOT') && $_SESSION['id'] == 1) {
array('last_modified', 'timestamp', 'NO', '', 'CURRENT_TIMESTAMP', 'on update CURRENT_TIMESTAMP'),
array('created_at', 'timestamp', 'NO', '', 'CURRENT_TIMESTAMP', '')
),
'tokens' => array(
array('id', 'int(11)', 'NO', 'PRI', '', 'auto_increment'),
array('code', 'varchar(255)', 'NO', '', '', ''),
array('used', 'boolean', 'NO', '', 'FALSE', ''),
array('created_at', 'timestamp', 'NO', '', 'CURRENT_TIMESTAMP', '')
),
'logs' => array(
array('id', 'int(11)', 'NO', 'PRI', '', 'auto_increment'),
array('ipaddress', 'varchar(16)', 'NO', '', '', ''),
@ -47,12 +60,6 @@ if (defined('ROOT') && $_SESSION['id'] == 1) {
array('time', 'timestamp', 'NO', '', 'CURRENT_TIMESTAMP', ''),
array('length', 'int(255)', 'NO', '', '', ''),
array('pernament', 'boolean', 'NO', '', 'FALSE', '')
),
'tokens' => array(
array('id', 'int(11)', 'NO', 'PRI', '', 'auto_increment'),
array('code', 'varchar(255)', 'NO', '', '', ''),
array('used', 'boolean', 'NO', '', 'FALSE', ''),
array('created_at', 'timestamp', 'NO', '', 'CURRENT_TIMESTAMP', '')
)
);

View file

@ -9,10 +9,10 @@ if (isset($_POST['fix'])) {
echo "<p><span style='color: var(--accent);'>[INFO]</span> Starting autofix</p>";
if (empty($_SESSION['id'])) {
echo "<p><span style='color: var(--warning);'>[ERROR]</span> You are not logged in</p>";
echo "<p class='alert alert-bad'>You are not logged in</p>";
exit();
} elseif ($_SESSION['id'] != 1) {
echo "<p><span style='color: var(--warning);'>[ERRO]</span> You cannot use Autofix as an Admin currently.</p>";
echo "<p class='alert alert-warning'>Autofix is currently not avaliable to You.</p>";
exit();
}
@ -31,10 +31,10 @@ if (isset($_POST['fix'])) {
echo "<p><span style='color: var(--accent);'>[INFO]</span> Autofix complete in $timer_diff ms</p>";
} elseif (isset($_POST['check'])) {
if (empty($_SESSION['id'])) {
echo "<p><span style='color: var(--warning);'>[ERROR]</span> You are not logged in</p>";
echo "<p class='alert alert-bad'>You are not logged in</p>";
exit();
} elseif ($_SESSION['id'] != 1) {
echo "<p><span style='color: var(--warning);'>[ERRO]</span> You cannot use Autofix as an Admin currently.</p>";
echo "<p class='alert alert-warning'>Autofix is currently not avaliable to You.</p>";
exit();
}

View file

@ -10,26 +10,26 @@
:root {
--bg: rgba(21, 21, 21, 0.7333333333);
--bg-1: #242621;
--bg-2: #1D1E1C;
--bg-2: #1d1e1c;
--bg-3: #151515;
--fg: #E8E3E3;
--fg: #e8e3e3;
--fg-dark: #151515;
--red: #B66467;
--orange: #D8A657;
--yellow: #D9BC8C;
--green: #8C977D;
--blue: #8DA3B9;
--purple: #A988B0;
--red: #b66467;
--orange: #d8a657;
--yellow: #d9bc8c;
--green: #8c977d;
--blue: #8da3b9;
--purple: #a988b0;
--black: #121212;
--white: #E8E3E3;
--accent: #8C977D;
--warning: #B66467;
--alert: #D8A657;
--success: #8C977D;
--white: #e8e3e3;
--accent: #8c977d;
--warning: #b66467;
--alert: #d8a657;
--success: #8c977d;
--neutral: #121212;
--shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
--rad: 0.4rem;
--border: #8C977D 0.2rem solid;
--border: #8c977d 0.2rem solid;
}
/*
@ -39,9 +39,9 @@
*/
nav {
background-color: #151515;
color: #E8E3E3;
color: #e8e3e3;
border-radius: 0.4rem;
border: #8C977D 0.2rem solid;
border: #8c977d 0.2rem solid;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
display: flex;
flex-direction: row;
@ -129,7 +129,7 @@ nav .btn {
left: 0;
right: 0;
border: none;
border-top: #8C977D 0.2rem solid;
border-top: #8c977d 0.2rem solid;
border-radius: 0;
-webkit-backdrop-filter: blur(16px);
backdrop-filter: blur(16px);
@ -175,17 +175,17 @@ nav .btn {
.defaultDecoration {
background-color: #151515;
color: #E8E3E3;
color: #e8e3e3;
border-radius: 0.4rem;
border: #8C977D 0.2rem solid;
border: #8c977d 0.2rem solid;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
}
.warningDecoration {
background-color: #151515;
color: #E8E3E3;
color: #e8e3e3;
border-radius: 0.4rem;
border: #B66467 0.2rem solid;
border: #b66467 0.2rem solid;
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.4);
}
@ -305,7 +305,7 @@ nav .btn {
background-color: rgba(21, 21, 21, 0.7333333333);
}
.nsfw-warning span {
color: #B66467;
color: #b66467;
text-align: center;
}
.nsfw-warning span::after {
@ -372,8 +372,8 @@ nav .btn {
display: block;
}
.fullscreen-image button:hover {
outline: #E8E3E3 0.2rem solid;
color: #E8E3E3;
outline: #e8e3e3 0.2rem solid;
color: #e8e3e3;
cursor: pointer;
}
@ -427,8 +427,8 @@ nav .btn {
display: block;
}
.preview-button:hover {
outline: #E8E3E3 0.2rem solid;
color: #E8E3E3;
outline: #e8e3e3 0.2rem solid;
color: #e8e3e3;
cursor: pointer;
}
@ -468,7 +468,7 @@ nav .btn {
margin: 0 0.5rem 0.5rem 0;
padding: 0.5rem;
display: block;
background-color: #8C977D;
background-color: #8c977d;
border-radius: 3px;
font-family: "Secular One", sans-serif;
}
@ -498,7 +498,7 @@ nav .btn {
.group-description h2 a {
margin-left: 0.25rem;
font-size: 16px;
color: #8C977D;
color: #8c977d;
text-decoration: none;
}
.group-description > * {
@ -508,10 +508,10 @@ nav .btn {
text-decoration: none;
}
.group-description a:hover {
color: #8C977D;
color: #8c977d;
}
.group-description .btn:hover {
color: #E8E3E3;
color: #e8e3e3;
}
.group-cover {
@ -543,7 +543,7 @@ nav .btn {
}
.selectedImage {
outline: #8C977D solid 0.3rem;
outline: #8c977d solid 0.3rem;
transform: scale(0.8) !important;
}
@ -599,7 +599,7 @@ nav .btn {
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.group-make:hover {
outline: #E8E3E3 0.2rem solid;
outline: #e8e3e3 0.2rem solid;
}
.group-make:after {
content: "";
@ -627,7 +627,7 @@ nav .btn {
font-family: "Secular One", sans-serif;
}
.group-make button:hover {
color: #E8E3E3;
color: #e8e3e3;
cursor: pointer;
}
.group-make button span {
@ -667,7 +667,7 @@ nav .btn {
top: -3rem;
transform: translateX(-50%);
border-radius: 0.4rem;
border: #8C977D 0.2rem solid;
border: #8c977d 0.2rem solid;
background-color: #151515;
}
.profile-root h2, .profile-root > p {
@ -750,8 +750,8 @@ nav .btn {
}
.active-tab {
background-color: #8C977D !important;
background-image: linear-gradient(to top, #7f8b6f, #8C977D) !important;
background-color: #8c977d !important;
background-image: linear-gradient(to top, #7f8b6f, #8c977d) !important;
}
.logs {
@ -850,7 +850,7 @@ nav .btn {
}
.perm {
border-left: #8C977D 0.2rem solid;
border-left: #8c977d 0.2rem solid;
}
.ban:first-of-type {
@ -910,7 +910,7 @@ nav .btn {
}
.is-admin {
border-left: #8C977D 0.2rem solid;
border-left: #8c977d 0.2rem solid;
}
.user:first-of-type {
@ -927,14 +927,14 @@ nav .btn {
}
.btn-code::before {
content: "Hover to reveal";
color: #E8E3E3;
color: #e8e3e3;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.btn-code:hover {
color: #E8E3E3;
color: #e8e3e3;
}
.btn-code:hover::before {
content: "";
@ -996,7 +996,7 @@ footer a {
font-family: "Secular One", sans-serif;
}
footer a:hover {
color: #D8A657;
color: #d8a657;
}
/*
@ -1031,7 +1031,7 @@ body {
position: relative;
}
body * {
color: #E8E3E3;
color: #e8e3e3;
}
/*
@ -1051,7 +1051,7 @@ body * {
text-decoration: none;
border: none;
border-radius: 3px;
outline: #E8E3E3 0 solid;
outline: #e8e3e3 0 solid;
transition: outline 0.1s;
/*
&::after {
@ -1078,8 +1078,8 @@ body * {
*/
}
.btn:hover {
outline: #E8E3E3 0.2rem solid;
color: #E8E3E3;
outline: #e8e3e3 0.2rem solid;
color: #e8e3e3;
cursor: pointer;
/*
&::after {
@ -1098,7 +1098,7 @@ body * {
font-size: 16px;
font-family: "Secular One", sans-serif;
text-decoration: none;
background-color: #E8E3E3;
background-color: #e8e3e3;
border: none;
border-radius: 3px;
}
@ -1109,7 +1109,7 @@ body * {
font-size: 16px;
font-family: "Secular One", sans-serif;
text-decoration: none;
background-color: #E8E3E3;
background-color: #e8e3e3;
border: none;
border-radius: 3px;
}
@ -1128,18 +1128,18 @@ a.btn {
}
.btn-bad {
background-color: #B66467;
background-image: linear-gradient(to top, #ae5356, #B66467);
background-color: #b66467;
background-image: linear-gradient(to top, #ae5356, #b66467);
}
.btn-warning {
background-color: #D8A657;
background-image: linear-gradient(to top, #d39b42, #D8A657);
background-color: #d8a657;
background-image: linear-gradient(to top, #d39b42, #d8a657);
}
.btn-good {
background-color: #8C977D;
background-image: linear-gradient(to top, #7f8b6f, #8C977D);
background-color: #8c977d;
background-image: linear-gradient(to top, #7f8b6f, #8c977d);
}
.btn-neutral {
@ -1161,24 +1161,24 @@ a.btn {
font-weight: 500;
font-family: "Secular One", sans-serif;
text-decoration: none;
border-left: 0.2rem solid #E8E3E3;
border-left: 0.2rem solid #e8e3e3;
background-color: #151515;
background-repeat: no-repeat;
border-radius: 3px;
}
.alert-bad {
border-color: #B66467;
border-color: #b66467;
background-image: linear-gradient(120deg, rgba(182, 100, 103, 0.3), rgba(21, 21, 21, 0));
}
.alert-warning {
border-color: #D8A657;
border-color: #d8a657;
background-image: linear-gradient(120deg, rgba(216, 166, 87, 0.3), rgba(21, 21, 21, 0));
}
.alert-good {
border-color: #8C977D;
border-color: #8c977d;
background-image: linear-gradient(120deg, rgba(140, 151, 125, 0.3), rgba(21, 21, 21, 0));
}
@ -1200,7 +1200,7 @@ a.btn {
padding: 0.2em 0.4em;
border: #121212 0.2rem solid;
border-radius: 3px;
color: #E8E3E3;
color: #e8e3e3;
font-size: 0.8em;
font-weight: bold;
font-family: "Secular One", sans-serif;
@ -1216,24 +1216,24 @@ a.btn {
}
.badge.badge-primary {
background: rgba(140, 151, 125, 0.3);
border: #8C977D 0.2rem solid;
border: #8c977d 0.2rem solid;
}
.badge.badge-primary.link:hover {
color: #8C977D;
color: #8c977d;
}
.badge.badge-critical {
background: rgba(182, 100, 103, 0.3);
border: #B66467 0.2rem solid;
border: #b66467 0.2rem solid;
}
.badge.badge-critical.link:hover {
color: #B66467;
color: #b66467;
}
.badge.badge-warning {
background: rgba(216, 166, 87, 0.3);
border: #D8A657 0.2rem solid;
border: #d8a657 0.2rem solid;
}
.badge.badge-warning.link:hover {
color: #D8A657;
color: #d8a657;
}
/*
@ -1309,7 +1309,7 @@ a.link {
text-decoration: underline;
}
a.link:hover {
color: #8C977D;
color: #8c977d;
}
/*
@ -1334,7 +1334,7 @@ a.link:hover {
transition: right 0.15s cubic-bezier(0.19, 1, 0.22, 1);
}
#back-to-top:hover {
outline: 0.2rem solid #8C977D;
outline: 0.2rem solid #8c977d;
}
#back-to-top * {
margin: 0;
@ -1354,7 +1354,7 @@ a.link:hover {
.hr {
margin: 0.5rem 0;
border: none;
border-top: 0.2rem solid #E8E3E3;
border-top: 0.2rem solid #e8e3e3;
}
.hr-full {
@ -1363,13 +1363,13 @@ a.link:hover {
}
.hr-bad {
border-color: #B66467;
border-color: #b66467;
}
.hr-warning {
border-color: #D8A657;
border-color: #d8a657;
}
.hr-good {
border-color: #8C977D;
border-color: #8c977d;
}/*# sourceMappingURL=main.css.map */

View file

@ -79,6 +79,7 @@ body {
text-decoration: none;
border: none;
@if calc($rad - 0.5rem) >0 {
border-radius: calc($rad - 0.5rem);
} @else {
@ -144,6 +145,7 @@ body {
background-color: $white;
border: none;
@if calc($rad - 0.5rem) >0 {
border-radius: calc($rad - 0.5rem);
} @else {
@ -169,25 +171,28 @@ a.btn {
text-align: center;
}
.btn-bad {
background-color: $warning;
background-image: linear-gradient(to top, darken($warning, 5%), $warning);
}
.btn-warning {
background-color: $alert;
background-image: linear-gradient(to top, darken($alert, 5%), $alert);
}
.btn-good {
background-color: $page-accent;
background-image: linear-gradient(to top, darken($page-accent, 5%), $page-accent);
background-image: linear-gradient(
to top,
darken($page-accent, 5%),
$page-accent
);
}
.btn-neutral {
background-color: $neutral;
background-image: linear-gradient(to top, darken($neutral, 0.5%), $neutral);
}
/*
@ -224,13 +229,19 @@ a.btn {
border-color: $warning;
background-image: linear-gradient(120deg, rgba($warning, 0.3), rgba($bg, 0));
}
.alert-warning {
border-color: $alert;
background-image: linear-gradient(120deg, rgba($alert, 0.3), rgba($bg, 0));
}
.alert-good {
border-color: $page-accent;
background-image: linear-gradient(120deg, rgba($page-accent, 0.3), rgba($bg, 0));
background-image: linear-gradient(
120deg,
rgba($page-accent, 0.3),
rgba($bg, 0)
);
}
.alert-box {
@ -263,11 +274,13 @@ a.btn {
//margin: 0 0.25rem;
padding: 0.2em 0.4em;
border: $black $border-thickness solid;
@if calc($rad - 0.5rem) >0 {
border-radius: calc($rad - 0.3rem);
} @else {
border-radius: 3px;
}
color: $fg;
font-size: 0.8em;
font-weight: bold;
@ -313,6 +326,7 @@ form {
textarea {
resize: none;
}
/*
|-------------------------------------------------------------
| SVG
@ -343,6 +357,7 @@ textarea {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
@ -400,7 +415,7 @@ a.link {
box-shadow: $shadow;
transition: right 0.15s cubic-bezier(.19, 1, .22, 1);
transition: right 0.15s cubic-bezier(0.19, 1, 0.22, 1);
&:hover {
outline: 0.2rem solid $green;
@ -439,9 +454,11 @@ a.link {
.hr-bad {
border-color: $warning;
}
.hr-warning {
border-color: $alert;
}
.hr-good {
border-color: $page-accent;
}

View file

@ -65,7 +65,7 @@
position: relative;
overflow: hidden;
transition: transform 0.4s cubic-bezier(.25,1.23,0,1.22);
transition: transform 0.4s cubic-bezier(0.25, 1.23, 0, 1.22);
&:hover {
transform: scale(1.15) rotate(5deg);
@ -150,7 +150,7 @@
text-align: center;
&::after {
content: ' Content';
content: " Content";
}
}
@ -176,7 +176,8 @@
|-------------------------------------------------------------
*/
.fullscreen-image {
width: 100vw; height: 100vh;
width: 100vw;
height: 100vh;
position: fixed;
top: 50%;
@ -188,13 +189,15 @@
z-index: 999;
transition: opacity 0.3s cubic-bezier(0.075, 0.82, 0.165, 1), transform 0.5s cubic-bezier(.25,1.23,0,1.22);;
transition: opacity 0.3s cubic-bezier(0.075, 0.82, 0.165, 1),
transform 0.5s cubic-bezier(0.25, 1.23, 0, 1.22);
display: none; // Automatically hidden, revealed on fullscreen
opacity: 0; // expose
img {
max-width: 95%; max-height: 95%;
max-width: 95%;
max-height: 95%;
position: absolute;
top: 50%;
@ -209,7 +212,8 @@
button {
padding: 0.25rem;
width: 2rem; height: 2rem;
width: 2rem;
height: 2rem;
position: absolute;
top: 1.25rem;
@ -225,7 +229,7 @@
border-radius: 3px;
}
transition: outline 0.1s cubic-bezier(.19, 1, .22, 1);
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
background-color: $black;
@ -262,7 +266,7 @@
border-radius: $rad;
transition: max-height 0.15s cubic-bezier(.19, 1, .22, 1);
transition: max-height 0.15s cubic-bezier(0.19, 1, 0.22, 1);
}
@media (max-width: 600px) {
@ -291,7 +295,8 @@
.preview-button {
padding: 0.25rem;
width: 2rem; height: 2rem;
width: 2rem;
height: 2rem;
position: absolute;
bottom: 0.5rem;
@ -307,7 +312,7 @@
border-radius: 3px;
}
transition: outline 0.1s cubic-bezier(.19, 1, .22, 1);
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
background-color: $bg-alt;
@ -327,7 +332,6 @@
}
}
// DETAILS
.image-detail {
& > div {
@ -382,7 +386,7 @@
font-family: $font-body;
&::before {
content: '# ';
content: "# ";
}
}
@ -492,7 +496,7 @@
left: 50%;
transform: translateX(-50%) translateY(-50%);
transition: opacity 0.1s cubic-bezier(.19, 1, .22, 1);
transition: opacity 0.1s cubic-bezier(0.19, 1, 0.22, 1);
z-index: 6;
@ -551,7 +555,7 @@
text-overflow: ellipsis;
transition: outline 0.1s cubic-bezier(.19, 1, .22, 1);
transition: outline 0.1s cubic-bezier(0.19, 1, 0.22, 1);
&:hover {
outline: $white 0.2rem solid;
@ -645,7 +649,8 @@
background-color: $bg;
}
h2, & > p {
h2,
& > p {
margin: 0 0 0.5rem 0;
padding-left: 11rem;
}
@ -655,7 +660,8 @@
margin-bottom: 0.5rem;
padding-left: 11rem;
display: flex; flex-direction: column;
display: flex;
flex-direction: column;
text-align: center;
& > * {
@ -726,7 +732,8 @@
}
.tabs {
display: flex; flex-direction: row;
display: flex;
flex-direction: row;
& > button {
margin-right: 0.5rem;
@ -738,7 +745,11 @@
}
.active-tab {
background-color: $page-accent !important;
background-image: linear-gradient(to top, darken($page-accent, 5%), $page-accent) !important;
background-image: linear-gradient(
to top,
darken($page-accent, 5%),
$page-accent
) !important;
}
.logs {
@ -760,19 +771,21 @@
border-radius: 3px;
}
transition: height 0.3s cubic-bezier(.19, 1, .22, 1), transform 0.3s cubic-bezier(.19, 1, .22, 1);
transition: height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.log {
min-width: 850px;
padding: 0.5rem;
display: flex; flex-direction: row;
display: flex;
flex-direction: row;
justify-content: space-between;
&:nth-child(even) {
background-color: #E8E3E311;
background-color: #e8e3e311;
}
& > * {
@ -821,19 +834,21 @@
border-radius: 3px;
}
transition: height 0.3s cubic-bezier(.19, 1, .22, 1), transform 0.3s cubic-bezier(.19, 1, .22, 1);
transition: height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.ban {
min-width: 900px;
padding: 0.5rem;
display: flex; flex-direction: row;
display: flex;
flex-direction: row;
justify-content: space-between;
&:nth-child(even) {
background-color: #E8E3E311;
background-color: #e8e3e311;
}
& > * {
@ -888,19 +903,21 @@
border-radius: 3px;
}
transition: height 0.3s cubic-bezier(.19, 1, .22, 1), transform 0.3s cubic-bezier(.19, 1, .22, 1);
transition: height 0.3s cubic-bezier(0.19, 1, 0.22, 1),
transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.user {
min-width: 950px;
padding: 0.5rem;
display: flex; flex-direction: row;
display: flex;
flex-direction: row;
justify-content: space-between;
&:nth-child(even) {
background-color: #E8E3E311;
background-color: #e8e3e311;
}
& > * {
@ -986,7 +1003,7 @@
opacity: 0;
transform: scale(0.8);
transition: all 0.3s cubic-bezier(.19, 1, .22, 1);
transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
> * {
margin: 0 0 0.5rem 0;

View file

@ -12,7 +12,8 @@ footer {
font-size: 12px;
text-transform: uppercase;
display: flex; flex-direction: row;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 0.5rem;

View file

@ -23,7 +23,6 @@
}
@mixin defaultFont() {
h1,
h2,
h3,

View file

@ -1,20 +1,20 @@
$bg: #151515;
$bg-alt: #151515bb;
$fg: #E8E3E3;
$fg: #e8e3e3;
$fg-alt: #151515;
$red: #B66467;
$orange: #D8A657;
$yellow: #D9BC8C;
$green: #8C977D;
$blue: #8DA3B9;
$purple: #A988B0;
$red: #b66467;
$orange: #d8a657;
$yellow: #d9bc8c;
$green: #8c977d;
$blue: #8da3b9;
$purple: #a988b0;
$black: #121212;
$white: #E8E3E3;
$white: #e8e3e3;
$page-accent: #8C977D;
$page-accent: #8c977d;
$warning: $red;
$alert: $orange;
$success: $green;
@ -29,18 +29,15 @@ $border: $page-accent $border-thickness solid;
$weight-bold: 621;
$weight-normal: 400;
$font-header: 'Lexend Deca',
sans-serif;
$font-body: 'Secular One',
sans-serif;
$font-code: 'JetBrains Mono',
monospace;
$font-header: "Lexend Deca", sans-serif;
$font-body: "Secular One", sans-serif;
$font-code: "JetBrains Mono", monospace;
// Fallback for items that do not yet support the new sass stylesheet system
:root {
--bg: #{$bg-alt};
--bg-1: #242621;
--bg-2: #1D1E1C;
--bg-2: #1d1e1c;
--bg-3: #{$bg};
--fg: #{$fg};