[PR #185] [MERGED] Added auto theme #2469

Closed
opened 2026-03-17 00:10:13 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/185
Author: @AndrewBastin
Created: 10/4/2019
Status: Merged
Merged: 10/5/2019
Merged by: @liyasthomas

Base: masterHead: master


📝 Commits (1)

📊 Changes

2 files changed (+55 additions, -1 deletions)

View changed files

📝 assets/css/themes.scss (+47 -0)
📝 pages/settings.vue (+8 -1)

📄 Description

This PR adds an automatic theme which uses the prefers-color-scheme media query to automatically go to dark mode or be in light mode respecting the user's system's norms (like Android and iOS dark modes, Windows/macOS dark modes (some change based on time of day)).

Now, I do kinda feel auto to be a good candidate for being the default theme, since it integrates more with the system preference. So if this can be replaced from dark as the default, please feel free to add to my commit.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/185 **Author:** [@AndrewBastin](https://github.com/AndrewBastin) **Created:** 10/4/2019 **Status:** ✅ Merged **Merged:** 10/5/2019 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`2f16882`](https://github.com/hoppscotch/hoppscotch/commit/2f16882c1b75535378b6926355a938c505e10811) Added auto theme ### 📊 Changes **2 files changed** (+55 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `assets/css/themes.scss` (+47 -0) 📝 `pages/settings.vue` (+8 -1) </details> ### 📄 Description This PR adds an automatic theme which uses the `prefers-color-scheme` media query to automatically go to dark mode or be in light mode respecting the user's system's norms (like Android and iOS dark modes, Windows/macOS dark modes (some change based on time of day)). Now, I do kinda feel auto to be a good candidate for being the default theme, since it integrates more with the system preference. So if this can be replaced from dark as the default, please feel free to add to my commit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:10:13 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#2469
No description provided.