Fix AdminX preview header color bug (#18065)

refs. https://github.com/TryGhost/Product/issues/3349
This commit is contained in:
Peter Zimon 2023-09-11 16:28:09 +03:00 committed by GitHub
parent f7f0f3033e
commit fec67c8d2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,8 +152,7 @@ export const PreviewModalContent: React.FC<PreviewModalProps> = ({
if (previewBgColor === 'grey') {
previewBgClass = 'bg-grey-50 dark:bg-black';
} else if (previewBgColor === 'greygradient') {
previewBgClass = 'bg-gradient-to-tr from-white to-[#f9f9fa]';
previewBgClass = 'bg-gradient-to-tr from-grey-950 to-black';
previewBgClass = 'bg-gradient-to-tr from-white to-[#f9f9fa] dark:from-grey-950 dark:to-black';
}
const containerClasses = clsx(