Support Gin theme dark mode

Created on 14 April 2023, almost 2 years ago
Updated 31 August 2024, 5 months ago

Problem/Motivation

When viewing calendar view on the Gin theme with dark mode enabled the calendar doesn't look too good, low color contrast makes it hard to read field values displayed in the calendar. The background of the days from previous/next month is too bright, same for any day on hover.

Proposed resolution

When dark mode is enabled, Gin theme adds gin--dark-mode class on the html element. It would be nice to override default calendar colors when the dark mode class is present, so the calendar is more readable. Gin theme also sets all colors using css variables, so it would be probably good to use them instead of setting specific colors, this approach possibly could be also used when the Gin theme is used in general even on default light mode for the calendar colors to better match the rest of the admin theme.

Feature request
Status

Fixed

Version

2.0

Component

User interface

Created by

🇵🇱Poland wotnak

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024