Locked Solved General Questions

how works theme automatic mode ?

Locked by Fred · 22 Jan 2026 19:09 • Solved by arpinux · 04 Jan 2026 09:52
Avatar
Posts 212 633

how does the clear/dark/automatic theme mode works ?

i thought "automatic" mode will detect navigator user's preferences and adjust the theme but even when my navigator preference is set on dark, automatic mode of the forum display a clear theme.

  • theme solved
Avatar
Best answer set by arpinux 3 months ago
Posts 428 1580

Currently, the isDayTime() function only checks the time to adjust the theme, but I can modify this behavior to take the user's browser preferences into account.

Avatar
Posts 212 633

Hi!

ok, so automatic=adapted to day/night hour, thx for answer :)

no need to modify your "isDayTime() function": it sounds logic too. i just wanted to know how it works :)

This discussion is locked

Log in to reply
Navigation
3 Posts
post #1
27 Dec 2025
By Utilisateur
Statistics
166
Discussions
911
Replies
21
Flatboarders
4
Contributors
New member : Emmanuel
Online
26 Guests online