Open kgryte opened 1 year ago
Does it have to be automatic? or there could be a toggle button to switch between the two modes as per their preferences?
@krishnaagrawal7508 We already support such a setting. This request is about supporting the use case where users configure their OS to, e.g., toggle their system theme based on time of day. Right now, users have to manually toggle the theme. It would be nice to have an "auto" setting which simply queries the host setting and updates the site theme accordingly.
Currently, one must explicitly toggle light/dark mode in the API docs. Would be nice to have an option where light/dark mode can be automatically toggled based on the host system setting.
This should be possible. E.g., GitHub supports this for their site.