From bea19a263db88fef44b4356082b199fbfcc39a25 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Sun, 6 Apr 2025 16:40:33 +0700
Subject: Code refactoring (#2865)
* refactor: use vue inline styles in entire application
* refactor: setting row in dashboard page
* refactor: use blob for download file in text modal
* refactor: move all html templates in `web/html` folder
* refactor: `DeviceUtils` -> `MediaQueryMixin`
The transition to mixins has been made, as they can update themselves.
* chore: pretty right buttons in `outbounds` tab in xray settings
* refactor: add translations for system status
* refactor: adjust gutter spacing in setting list item
* refactor: use native `a-input-password` for password field
* chore: return old system status
with new translations
* chore: add missing translation
---
web/html/component/aThemeSwitch.html | 119 +++++++++++++++++++++++++++++++++++
1 file changed, 119 insertions(+)
create mode 100644 web/html/component/aThemeSwitch.html
(limited to 'web/html/component/aThemeSwitch.html')
diff --git a/web/html/component/aThemeSwitch.html b/web/html/component/aThemeSwitch.html
new file mode 100644
index 00000000..ccc17714
--- /dev/null
+++ b/web/html/component/aThemeSwitch.html
@@ -0,0 +1,119 @@
+{{define "component/themeSwitchTemplate"}}
+
+
+
+
+
+ {{ i18n "menu.theme" }}
+
+
+
+
+
+
+{{end}}
+
+{{define "component/themeSwitchTemplateLogin"}}
+
+
+
+
+ {{ i18n "menu.dark" }}
+
+
+
+ {{ i18n "menu.ultraDark" }}
+
+
+
+{{end}}
+
+{{define "component/aThemeSwitch"}}
+
+{{end}}
\ No newline at end of file
--
cgit v1.2.3