From: Patrick Canterino Date: Sat, 13 Jul 2024 14:12:01 +0000 (+0200) Subject: Added some words about a custom dark theme X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/72d4080a3eafca5f496bad8604233d67411e9dc0?ds=inline;hp=--cc Added some words about a custom dark theme Added folder "dark-custom" to .gitignore --- 72d4080a3eafca5f496bad8604233d67411e9dc0 diff --git a/.gitignore b/.gitignore index c911a76..4c13bde 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ lib/config.local.php lib/tos.local.txt media/custom/ +media/dark-custom/ var-* *._* composer.phar diff --git a/README.md b/README.md index 0bd28ae..6ef0eed 100644 --- a/README.md +++ b/README.md @@ -206,9 +206,9 @@ Anyway I would recommend you to use another web browser. :) You may change the default theme to any of the existing ones or a custom. -Open your `lib/config.local.php` and change setting in the `style` key to the name of any folder in the `/media` directory. +Open your `lib/config.local.php` and change setting in the `style` key to the name of any folder in the `/media` directory. If you want to change the theme for dark mode, you have to set the `dark_style` key in the config file. -Hint: To create a custom theme just copy the `courgette` folder and name your theme `custom` (this way it will be ignored by git and not overwritten during updates). You are invited to enhance the existing themes and send pull requests however. +Hint: To create a custom theme just copy the `courgette` folder and name your theme `custom` (this way it will be ignored by git and not overwritten during updates). If you want to create a custom theme for dark mode, you have to put it in a folder named `dark-custom`. You are invited to enhance the existing themes and send pull requests however. ### I found a bug, what should I do?