mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-28 14:22:51 +08:00
Create theme-glass.patch
This commit is contained in:
1 parent
c0d9f11a12
commit
ce06f01bb7
1 file changed
+11
@@ -0,0 +1,11 @@
|
||||
--- a/luci-theme-glass/ucode/template/themes/glass/header.ut
|
||||
+++ b/luci-theme-glass/ucode/template/themes/glass/header.ut
|
||||
@@ -63,7 +63,7 @@
|
||||
}
|
||||
-%}
|
||||
<!DOCTYPE html>
|
||||
-<html lang="{{ dispatcher.lang }}">
|
||||
+<html lang="{{ dispatcher.lang }}"{% if (glass_mode == 'dark'): %} data-darkmode="true"{% elif (glass_mode == 'light'): %} data-darkmode="false"{% endif %}>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
Reference in new issue
Block a user