mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 09:48:20 +08:00
Opt: Styles for dark mode
Theme support is not available in pywebio 1.4 You need to upgrade to 1.5 dev version manually by run pip install -U https://code.aliyun.com/wang0618/pywebio/repository/archive.zip
This commit is contained in:
@@ -110,13 +110,13 @@ def put_textarea_(
|
||||
put_text(title).style("arg-title"),
|
||||
put_text(help).style("arg-help"),
|
||||
put_textarea(name, value=value, readonly=readonly, code={
|
||||
"theme": "idea", "lineWrapping": True, "lineNumbers": False})
|
||||
"lineWrapping": True, "lineNumbers": False})
|
||||
], size="auto auto auto").style("container-args")
|
||||
else:
|
||||
return put_column([
|
||||
put_text(title).style("arg-title"),
|
||||
put_textarea(name, value=value, readonly=readonly, code={
|
||||
"theme": "idea", "lineWrapping": True, "lineNumbers": False})
|
||||
"lineWrapping": True, "lineNumbers": False})
|
||||
], size="auto auto").style("container-args")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user