MCPcopy Create free account
hub / github.com/StarsTom/mobileCodexHelper / _level_theme

Method _level_theme

mobile_codex_control.py:1340–1345  ·  view source on GitHub ↗
(level: str)

Source from the content-addressed store, hash-verified

1338
1339 @staticmethod
1340 def _level_theme(level: str) -> tuple[str, str, str]:
1341 if level == "success":
1342 return "#ecfff3", "#0f9d58", "#0f9d58"
1343 if level == "warning":
1344 return "#fff7e8", "#b26a00", "#b26a00"
1345 return "#fff2f0", "#d93025", "#d93025"
1346
1347 def _refresh_action(self) -> str:
1348 status = collect_status()

Callers 1

apply_statusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected