style: change base cover background to gray
Made-with: Cursor
This commit is contained in:
@@ -93,7 +93,7 @@ def generate_programmatic_cover(
|
|||||||
) -> str:
|
) -> str:
|
||||||
os.makedirs(output_dir, exist_ok=True)
|
os.makedirs(output_dir, exist_ok=True)
|
||||||
w, h = config.COVER_SIZE
|
w, h = config.COVER_SIZE
|
||||||
img = PILImage.new("RGBA", (w, h), color=(245, 245, 245, 255))
|
img = PILImage.new("RGBA", (w, h), color=(128, 128, 128, 255))
|
||||||
draw = ImageDraw.Draw(img)
|
draw = ImageDraw.Draw(img)
|
||||||
|
|
||||||
_draw_text_overlays(draw, w, h, week_start, week_end, headlines)
|
_draw_text_overlays(draw, w, h, week_start, week_end, headlines)
|
||||||
@@ -114,7 +114,7 @@ def generate_mosaic_cover(
|
|||||||
) -> str:
|
) -> str:
|
||||||
os.makedirs(output_dir, exist_ok=True)
|
os.makedirs(output_dir, exist_ok=True)
|
||||||
w, h = config.COVER_SIZE
|
w, h = config.COVER_SIZE
|
||||||
img = PILImage.new("RGBA", (w, h), color=(245, 245, 245, 255))
|
img = PILImage.new("RGBA", (w, h), color=(128, 128, 128, 255))
|
||||||
|
|
||||||
bottom_headlines_height = 0
|
bottom_headlines_height = 0
|
||||||
if headlines:
|
if headlines:
|
||||||
|
|||||||
Reference in New Issue
Block a user