Use Christmas colors

This commit is contained in:
Jeffrey Serio 2022-12-02 17:50:13 -06:00
parent 5869a9e778
commit 9c52f72181
3 changed files with 7 additions and 7 deletions

View File

@ -1 +1 @@
__version__ = '0.1.3' __version__ = '0.1.4'

View File

@ -17,7 +17,7 @@ from rich.traceback import install
install(show_locals=True) install(show_locals=True)
VERSION = "0.1.3" VERSION = "0.1.4"
default_date = dt.date.today().strftime("%Y-%m-%d") default_date = dt.date.today().strftime("%Y-%m-%d")
ELOG_DIR = os.getenv("ELOG_DIR") ELOG_DIR = os.getenv("ELOG_DIR")
@ -74,10 +74,10 @@ def elog_list(args):
with open(selected_elog_file, "r") as ef: with open(selected_elog_file, "r") as ef:
json_data = json.load(ef) json_data = json.load(ef)
table = Table(style="#84562c", header_style="bold", box=box.ROUNDED) table = Table(style="green", header_style="bold", box=box.ROUNDED)
table.add_column("Index", justify="right", style="#fb4934") table.add_column("Index", justify="right", style="white")
table.add_column("Timestamp", justify="left", style="#d62b00") table.add_column("Timestamp", justify="left", style="red")
table.add_column("Message", justify="left", style="#e3d499") table.add_column("Message", justify="left")
for i in range(len(json_data)): for i in range(len(json_data)):
if json_data[i]["timestamp"] > ts_from and json_data[i]["timestamp"] < ts_to: if json_data[i]["timestamp"] > ts_from and json_data[i]["timestamp"] < ts_to:

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "daily-event-logger" name = "daily-event-logger"
version = "0.1.3" version = "0.1.4"
description = "A utility for logging daily tasks and events." description = "A utility for logging daily tasks and events."
authors = ["Jeffrey Serio <hyperreal@fedoraproject.org>"] authors = ["Jeffrey Serio <hyperreal@fedoraproject.org>"]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"