Add generate_preview_images
command
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user