mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Overhaul colours
"Crawled" and "Downloaded" are now printed less bright than "Crawling" and "Downloading" as they're not as important. Explain topics are printed in yellow to stand out a bit more from the cyan action messages.
This commit is contained in:
@ -99,7 +99,7 @@ class CrawlToken(ReusableAsyncContextManager[ProgressBar]):
|
||||
|
||||
async def _on_aenter(self) -> ProgressBar:
|
||||
bar_desc = f"[bold bright_cyan]Crawling[/] {escape(fmt_path(self._path))}"
|
||||
after_desc = f"[bold bright_cyan]Crawled[/] {escape(fmt_path(self._path))}"
|
||||
after_desc = f"[bold cyan]Crawled[/] {escape(fmt_path(self._path))}"
|
||||
|
||||
self._stack.callback(lambda: log.action(after_desc))
|
||||
await self._stack.enter_async_context(self._limiter.limit_crawl())
|
||||
|
Reference in New Issue
Block a user