From e7fcc9113368b54b64d5e809316b4726a16750f7 Mon Sep 17 00:00:00 2001 From: Riftriot Date: Fri, 8 Mar 2024 11:46:47 -0600 Subject: [PATCH] hacker theme --- public/themes/hacker.css | 30 ++++++++++++++++++++++++++++ public/themes/main.css | 1 + src/components/Header.tsx | 13 ++++++------ src/components/logo.tsx | 10 ++++++++++ src/pages/Faq.tsx | 2 +- src/pages/Settings/Customization.tsx | 1 + tailwind.config.js | 3 ++- 7 files changed, 52 insertions(+), 8 deletions(-) create mode 100644 public/themes/hacker.css create mode 100644 src/components/logo.tsx diff --git a/public/themes/hacker.css b/public/themes/hacker.css new file mode 100644 index 0000000..ae7446e --- /dev/null +++ b/public/themes/hacker.css @@ -0,0 +1,30 @@ +@import url("https://fonts.googleapis.com/css2?family=Dongle&family=Roboto:wght@100&display=swap"); + +:root { + --background-primary: #000 !important; + --background-lighter: #000 !important; + --navbar-color: #000 !important; + --navbar-height: 60px !important; + --navbar-text-color: greenyellow !important; + --navbar-link-color: greenyellow !important; + --navbar-link-hover-color: green !important; + --navbar-font: "Roboto" !important; + --input-text-color: greenyellow !important; + --input-placeholder-color: white !important; + --input-background-color: #000 !important; + --input-border-color: greenyellow !important; + --input-border-size: 1.3px !important; + --navbar-logo-filter: none !important; + --dropdown-option-hover-color: #312a49 !important; + --tab-color: var(--black) !important; + --border-color: greenyellow !important; +} + +.font-inter { + font-family: "Inter", sans-serif; + font-weight: 300; +} + +.font-roboto { + font-family: "Roboto"; +} diff --git a/public/themes/main.css b/public/themes/main.css index 7f51126..fb1727c 100644 --- a/public/themes/main.css +++ b/public/themes/main.css @@ -17,6 +17,7 @@ --navbar-logo-filter: none; --dropdown-option-hover-color: #312a49; --tab-color: var(--black); + --border-color: #16121f; } .font-inter { diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 6f3bc30..4438204 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -9,6 +9,7 @@ import { RxMixerVertical, RxHamburgerMenu } from "react-icons/rx"; import { RiLinksFill } from "react-icons/ri"; import { BsQuestionLg } from "react-icons/bs"; import { useState } from "preact/hooks"; +import { Logo } from "./logo"; export function Header() { const { t } = useTranslation(); @@ -17,15 +18,15 @@ export function Header() { return (