From da8807fc60b4e4d7c36ce2e629880c5bf24de7ba Mon Sep 17 00:00:00 2001 From: Kazuky Akayashi Date: Sat, 8 Jul 2023 09:51:07 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajout du code CSS. --- README.md | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ea31ab..b020189 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,37 @@ -# nightmode-pixelfed +# Night mode for Pixelfed -Modification légère du CSS pour les couleurs pour l'interface de Pixelfed via Stylus. \ No newline at end of file +Modification légère du CSS pour les couleurs pour l'interface de Pixelfed via Stylus. + + +## CSS + +A mettre dans Stylus : + +```css +.force-dark-mode { + --light: #000; + --dark: #fff; + --body-bg: #12151a; + --body-color: #fafcff; + --nav-bg: #1c1e22; + --bg-light: #212124; + --light-gray: #212124; + --text-lighter: #818181; + --card-bg: #1c1e22; + --light-hover-bg: #212124; + --btn-light-border: #161618; + --input-border: #161618; + --comment-bg: #212124; + --border-color: #212124; + --card-header-accent: #212124; + --dropdown-item-hover-bg: #000; + --dropdown-item-hover-color: #818181; + --dropdown-item-color: #64748b; + --dropdown-item-active-color: #b3b3b3; + --primary: #567ebf; +} + +.badge-light { + color: #fff; +} +``` \ No newline at end of file