aboutsummaryrefslogtreecommitdiff
path: root/247
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-09-28 20:26:15 +0200
committerRodrigo <rodarima@gmail.com>2025-09-28 23:10:55 +0200
commitfb510ea86be5ceb9e91573890242581fdbd77ad8 (patch)
treed819fe40683592008d136727f5a0b03e48dc1164 /247
Initial versionHEADmain
Diffstat (limited to '247')
-rw-r--r--247/index.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/247/index.md b/247/index.md
new file mode 100644
index 0000000..4869ea0
--- /dev/null
+++ b/247/index.md
@@ -0,0 +1,23 @@
+Title: Dark mode switching
+Author: rodarima
+Created: Fri, 16 Aug 2024 19:11:32 +0000
+State: open
+
+Browsing the web at night or in a dark environment is generally more appealing
+with dark backgrounds. However, during the day or in well illuminated rooms,
+using a light background is generally preferred, as the eyes can shut the pupil
+due to the large amount of light, causing the borders of letters to be sharper,
+making reading easier.
+
+It should be doable to quickly switch from a light mode to a dark mode. Ideally,
+we may want to add a way to control the transition so it is not just binary, but
+more gradual. However, the minimum requirement for this issue is to provide a
+dark mode only.
+
+The dark mode should change the browser UI (menus, tool bars...) but also the
+content itself of the web. For the latter, we would need to define a dark mode
+CSS theme, which can override the web defined colors. Similarly, we can do a
+similar job to try to adjust images so that the background is dark.
+
+Some websites can already work with a dark mode and can provide images with
+adequate colors for a dark theme, without the need to adjust them.