Mise à jour de 'README.md'
Ajout du code CSS.
This commit is contained in:
parent
98a1f5258e
commit
da8807fc60
1 changed files with 36 additions and 2 deletions
36
README.md
36
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.
|
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;
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in a new issue