nightmode-pixelfed/README.md
2024-10-20 08:56:00 +02:00

63 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Better Night mode for Pixelfed
Modification légère du CSS pour les couleurs pour l'interface de Pixelfed via Stylus.
## CSS
* Activer le dark mode manuellement dans linterface de configuration pour l'UI.
* A mettre dans Stylus :
```css
/* Search */
.metro-nav .autocomplete-input {
background-color: var(--body-bg);
}
/* Dark mode */
:root {
--light: #000 !important;
--dark: #fff !important;
--body-bg: #12151a !important;
--body-color: #f7f8f8 !important;
--nav-bg: #1c1e22 !important;
--bg-light: #212124;
--light-gray: #212124;
--text-lighter: #b2b2b2;
--card-bg: #1c1e22;
--light-hover-bg: #212124;
--btn-light-border: #161618;
--input-border: #161618;
--comment-bg: #18181b;
--border-color: #1b1b1b;
--card-header-accent: #212124;
--dropdown-item-hover-bg: #000;
--dropdown-item-hover-color: #818181;
--dropdown-item-color: #64748b;
--dropdown-item-active-color: #b3b3b3;
--primary: #3285df;
--blue: #007bff;
}
/* Color for time */
.badge-light {
color: #fff;
}
.profile-sidebar-component .avatar {
border-radius: 100px;
margin-bottom: 1rem;
width: 140px;
}
.sidebar-component .user-card .avatar {
border-radius: 50px;
}
.sidebar-component .user-card .avatar-update-btn {
background: hsla(0, 5%, 28%, .55);
border: 1px solid #5656579c !important;
}
```
## Screenshot
![css screenshot](pixelfed-css.jpg)