make site dark mode if js is disabled and fix instances

This commit is contained in:
Akis 2022-08-07 19:45:57 +03:00
parent 0d77abcb0b
commit 6d507c08de
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
2 changed files with 1 additions and 4 deletions

View File

@ -9,9 +9,6 @@ html {
--accent-translucent: #00a58498; --accent-translucent: #00a58498;
--font-primary: Raleway; --font-primary: Raleway;
--font-header: Raleway; --font-header: Raleway;
}
html.dark {
--primary: #151515; --primary: #151515;
--secondary: #252525; --secondary: #252525;
--tertiary: #353535; --tertiary: #353535;

View File

@ -19,7 +19,7 @@
<div class="container"> <div class="container">
{#each groups as group} {#each groups as group}
<div class="container-inner"> <div class="container-inner">
<h1>{group.category}</h1> <h2>{group.category}</h2>
<div class="items"> <div class="items">
{#each group.values as item } {#each group.values as item }
<CardInner title={item.name} description={item.description} icon={item.icon}> <CardInner title={item.name} description={item.description} icon={item.icon}>