Skip to content

Day and night mode

ModuleShortcuts and tools
Suggested profileAll users with active session
PermissionNo permission. Available to all authenticated users
StatusValidated

Objective

Allow the user to choose between a light background (day mode) and a dark background (night mode) to reduce visual fatigue and adapt to the environment's light conditions.

What this tool is

It is the visual option of the system. Switching between day and night mode does not change the functions or the information available: it only changes the colors of the screen.

What changes visually

AspectDay modeNight mode
Main backgroundWhite or very light grayVery dark gray or black
Main textAlmost blackWhite or very light gray
Secondary textMedium grayLight gray
Borders and separatorsLight grayDark gray
Brand colors (accents)Same in both modesSame in both modes
TablesWhite background, light gray hoverDark background, medium gray hover
ShadowsSoftReduced or eliminated
Images and avatarsNo filterNo filter (real colors are maintained)

If you have never changed the theme, the system automatically detects your operating system configuration (for example, if your Mac or Windows is in dark mode, the application opens in night mode).

Where it is activated or deactivated

There are two ways to change the theme. Both do exactly the same.

1. Top bar icon

  • It is a button with a sun icon (when the current theme is dark) or a moon icon (when the current theme is light).
  • It is located in the top bar, between the birthday icon and the notifications bell.
  • When clicking, the theme changes immediately.

2. My profile panel

  1. Open the My profile panel (gear icon at the bottom of the side menu).
  2. Scroll down to the System appearance section.
  3. Click the Day or Night button (with sun and moon icons).
  4. The change is applied immediately.

How the preference is saved

  • In this browser: the choice is saved locally. This way, the next time you open the application in the same browser and with the same user, it is respected.
  • In your user profile: additionally, the system tries to save the preference in your profile, so that it is also respected if you log in on another equipment or browser.
  • If you have never chosen a theme: the system automatically uses your operating system configuration.

If the system cannot save the preference in your profile (for example, due to lack of connection), a notice appears. The local choice in this browser is maintained anyway.

When to use each mode

SituationSuggested theme
Well-lit clinic consultationsDay mode
Prolonged work in front of the screen (long shifts, administrative)Night mode
Main screen in the waiting roomDay mode (better contrast for patients)
Night work or with reduced lightNight mode
Print or projectDay mode (colors are more accurate on paper and projectors)

How it affects the main screens

ScreenNight mode effect
ScheduleCalendar background turns dark gray. Cells maintain the medical group color.
Modals and dialogsDark modal background, light text.
Notifications (bell)Notification list with dark background, unread with lighter background.
SpotlightModal and results list background in dark.
Cash boxMovements table in dark.
Patients and consultationsTables, forms and panel in dark.
My profile panelSections and fields in dark.
Birthdays panelBirthday cards with dark background. Fireworks animation is maintained.

What to do if the change does not reflect correctly

SituationWhat to do
The theme change does not applyRefresh the page with F5 or Ctrl + R (Windows/Linux) or ⌘ + R (Mac).
The preference is not saved between sessionsCheck that the browser is not in incognito mode. Some browsers block storage in that mode.
The operating system changes the theme automaticallyThe system respects the operating system changes only if you have never chosen a theme manually. If you have already chosen, your choice has priority. To return to automatic mode, clear the browser storage.
Some texts do not look goodThere may be screens that do not fully support night mode. Report to the technical team with a screenshot.
The icon does not changeWait for the animation (it can take about 300 ms). If it does not change, refresh the page.

States or important messages

StateWhat happens
Cannot save in profileToast warning "Preference not synchronized". The local choice is maintained.
Change applied successfullyThe entire screen changes colors immediately.
Automatic modeIf you have never chosen a theme, the application uses the operating system configuration.

Common errors

SituationWhat to do
The theme changes but reverts to the previous one on refreshCheck that the browser is not blocking storage. Try another browser.
The change is not reflected in some screensReport to the technical team. In the meantime, try with Ctrl + F5 (full reload).
The system asks to choose a theme every timeBrowser storage is disabled. Coordinate with the support team.

Permissions

There is no explicit permission. The option is available to all authenticated users.

Operational recommendations

  • Choose a theme and keep it. Changing constantly can be uncomfortable.
  • If you share the equipment with several users, remember that the preference is per user and browser.
  • Night mode recommended for long shifts in front of the screen, especially in administration or cash box.
  • Coordinate with the support team if any component does not look good in night mode.

Relation with other modules

  • My profile: the "System appearance" section is another way to change the theme. See My profile.
  • Spotlight: the modal respects the current theme.
  • Audit log and notifications: popover colors adjust to the active theme.

Pending validation: confirm whether the application follows the operating system in real time when the user has not chosen a theme manually, or if it requires a refresh to detect the change.