Clarify photo matte color config
This commit is contained in:
parent
87915875c7
commit
2888fd9318
@ -74,6 +74,7 @@ export default function AdminAppConfigurationClient({
|
||||
hasDefaultTheme,
|
||||
defaultTheme,
|
||||
arePhotosMatted,
|
||||
arePhotoMatteColorsConfigured,
|
||||
matteColor,
|
||||
matteColorDark,
|
||||
// Display
|
||||
@ -521,6 +522,16 @@ export default function AdminAppConfigurationClient({
|
||||
of each photo, and display a surrounding border:
|
||||
<div className="pt-1 flex flex-col gap-1">
|
||||
<EnvVar variable="NEXT_PUBLIC_MATTE_PHOTOS" />
|
||||
</div>
|
||||
</ChecklistRow>
|
||||
<ChecklistRow
|
||||
title="Custom photo matting colors"
|
||||
status={arePhotoMatteColorsConfigured}
|
||||
optional
|
||||
>
|
||||
Set environment variable hex values (e.g., #cccccc)
|
||||
to override matte colors:
|
||||
<div className="pt-1 flex flex-col gap-1">
|
||||
<EnvVar
|
||||
variable="NEXT_PUBLIC_MATTE_COLOR"
|
||||
accessory={matteColor && <span
|
||||
|
||||
@ -381,6 +381,9 @@ export const APP_CONFIGURATION = {
|
||||
hasDefaultTheme: Boolean(process.env.NEXT_PUBLIC_DEFAULT_THEME),
|
||||
defaultTheme: DEFAULT_THEME,
|
||||
arePhotosMatted: MATTE_PHOTOS,
|
||||
arePhotoMatteColorsConfigured:
|
||||
Boolean(MATTE_COLOR) ||
|
||||
Boolean(MATTE_COLOR_DARK),
|
||||
matteColor: MATTE_COLOR,
|
||||
matteColorDark: MATTE_COLOR_DARK,
|
||||
// Display
|
||||
|
||||
Loading…
Reference in New Issue
Block a user