diff options
author | Florian Eckert <fe@dev.tdt.de> | 2018-10-01 13:35:34 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2018-10-01 14:46:37 +0200 |
commit | 5fc51693aca783ce8a2f04919dfa16991def1d16 (patch) | |
tree | 24ef39c0666c9c942f36fe908bfdff0c6e6244a0 | |
parent | 24cf28b5ec148bc29d2d150e94f8928d96c1d1e6 (diff) |
luci-theme-material: make font configurable
Move font selection into custom.css
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/cascade.css | 2 | ||||
-rw-r--r-- | themes/luci-theme-material/htdocs/luci-static/material/custom.css | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 8fa45d9809..d997bcfffd 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -125,7 +125,7 @@ html, body { margin: 0px; padding: 0px; height: 100%; - font-family: Microsoft Yahei, WenQuanYi Micro Hei, sans-serif, "Helvetica Neue", Helvetica, Hiragino Sans GB; + font-family: var(--font-body, "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB"); } select { diff --git a/themes/luci-theme-material/htdocs/luci-static/material/custom.css b/themes/luci-theme-material/htdocs/luci-static/material/custom.css index b32eb2af1b..adb9c753e2 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/custom.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/custom.css @@ -6,4 +6,5 @@ --menu-color: #404040; --submenu-bg-hover: #D4D4D4; --submenu-bg-hover-active: #0099CC; + --font-body: "Microsoft Yahei", "WenQuanYi Micro Hei", "sans-serif", "Helvetica Neue", "Helvetica", "Hiragino Sans GB"; } |