Add generate_preview_images command

This commit is contained in:
Joachim
2021-05-26 13:52:10 +02:00
parent b47edc5f0d
commit 65de40a95a
4 changed files with 55 additions and 3 deletions

View File

@ -41,10 +41,10 @@ DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
# Specify RGB tuple or RGB hex strings,
# or "use_dominant_color_light" / "use_dominant_color_dark"
PREVIEW_BG_COLOR = "use_dominant_color_dark"
PREVIEW_BG_COLOR = "use_dominant_color_light"
PREVIEW_IMG_WIDTH = 1200
PREVIEW_IMG_HEIGHT = 630
PREVIEW_TEXT_COLOR = "#FFF"
PREVIEW_TEXT_COLOR = "#363636" # Change to "#FFF" if you use "use_dominant_color_dark"
PREVIEW_DEFAULT_COVER_COLOR = "#002549"
# Quick-start development settings - unsuitable for production