the backgorund color of this part(partition table) is showing well on light themes(text most using dark colors).
该位置设计的“分区表图”部分的背景色,在各大浅色主题下显示正常,
but cannot display clearly on any dark theme (text most using light colors), the text will be mixed with background color.
但在各种暗黑主题下(文字偏白色),文字与背景色会显示看不清。
so suggest:
故建议:
Add css to detect system/theme dark mode, then show different background color on this part.
1) 加入自动识别系统暗黑模式来对应显示不同的背景色。
https://github.com/lisaac/luci-app-diskman/blob/master/applications/luci-app-diskman/luasrc/view/diskman/disk_info.htm#L4
the backgorund color of this part(partition table) is showing well on light themes(text most using dark colors). 该位置设计的“分区表图”部分的背景色,在各大浅色主题下显示正常,
but cannot display clearly on any dark theme (text most using light colors), the text will be mixed with background color. 但在各种暗黑主题下(文字偏白色),文字与背景色会显示看不清。
so suggest: 故建议:
Add css to detect system/theme dark mode, then show different background color on this part. 1) 加入自动识别系统暗黑模式来对应显示不同的背景色。
Or, lock the color of texts in this part, set as #000000 or other dark texts. 2) 或,锁定该部分文字的颜色显示,固定为#000000或其他偏黑色 See / 见, https://github.com/xylz0928/luci-app-diskman/tree/patch-1