mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
Feat: system theme live update (#6197)
* fix: restore fixed render mode for logs tab * feat: react to system theme changes in real time When the 'System' theme is selected, listen for OS-level prefers-color-scheme changes and update the app theme immediately, without requiring a restart. * Apply suggestion from @IMB11 Signed-off-by: Calum H. <hendersoncal117@gmail.com> --------- Signed-off-by: Calum H. <hendersoncal117@gmail.com> Co-authored-by: Calum H. <hendersoncal117@gmail.com> Co-authored-by: Calum H. <calum@modrinth.com>
This commit is contained in:
co-authored by
Calum H.
Calum H.
parent
7d15fd3ac0
commit
36423eb5b5
@@ -248,7 +248,6 @@ export default new createRouter({
|
||||
component: Instance.Logs,
|
||||
meta: {
|
||||
useRootContext: true,
|
||||
// renderMode: 'fixed',
|
||||
breadcrumb: [{ name: '?Instance', link: '/instance/{id}/' }, { name: 'Logs' }],
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user