From c16c320b091718e10a14a5ce3360b4e11b1b88b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frans-Lukas=20L=C3=B6venvald?= Date: Thu, 2 Jul 2020 09:43:35 +0200 Subject: [PATCH] #2111 more info about night mode --- DESIGN.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DESIGN.md b/DESIGN.md index 288cfe935..fc0f81d53 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -31,7 +31,9 @@ For a video on how to work with themes, styles and colors, see [Developing Theme ## Night mode Night mode is a different theme that makes the app easier on the eyes during night. When doing any design, make sure the new design works in night mode. -Night mode can be activated from the settings menu. +Night mode can be activated from the settings menu. + +Whenever a resource exists in both `res/*-night` and `res/*` it will be used as such. For example: `kiwix_icon_with_title.png` exists in both `res/drawable` and `res/drawable-night` which means that the image in `res/drawable-night` will be used automagically in night mode. ## Resources Following is a list of resources that can and should be used to support a design decision.