(level: str)
| 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() |