diff --git a/.changeset/tidy-mangos-repeat.md b/.changeset/tidy-mangos-repeat.md new file mode 100644 index 00000000000..2e7223c7ee0 --- /dev/null +++ b/.changeset/tidy-mangos-repeat.md @@ -0,0 +1,6 @@ +--- +"@tryghost/kg-unsplash-selector": patch +"@tryghost/koenig-lexical": patch +--- + +Fixed the Unsplash selector not following dark mode diff --git a/apps/ember-admin/app/components/gh-unsplash.hbs b/apps/ember-admin/app/components/gh-unsplash.hbs index 36312f9d048..3f353454744 100644 --- a/apps/ember-admin/app/components/gh-unsplash.hbs +++ b/apps/ember-admin/app/components/gh-unsplash.hbs @@ -2,7 +2,7 @@ {{!-- TODO: why does this modal background not cover the PSM without style override? --}}
@@ -82,7 +82,7 @@ {{!-- zoomed image overlay --}} {{#if this.zoomedPhoto}} - + = ({ icon, label, ...props } return ( e.stopPropagation()} {...props} > diff --git a/koenig/kg-unsplash-selector/src/ui/UnsplashGallery.tsx b/koenig/kg-unsplash-selector/src/ui/UnsplashGallery.tsx index eeaa0cd582c..e60c51c2da9 100644 --- a/koenig/kg-unsplash-selector/src/ui/UnsplashGallery.tsx +++ b/koenig/kg-unsplash-selector/src/ui/UnsplashGallery.tsx @@ -34,7 +34,7 @@ const UnsplashGalleryLoading: React.FC = () => { className="absolute inset-y-0 left-0 flex w-full items-center justify-center overflow-hidden pb-[8vh]" data-kg-loader > -
+
); }; @@ -123,9 +123,9 @@ const UnsplashGallery: React.FC = ({ if (error) { return ( -
-

Error

-

{error}

+
+

Error

+

{error}

); diff --git a/koenig/kg-unsplash-selector/src/ui/UnsplashImage.tsx b/koenig/kg-unsplash-selector/src/ui/UnsplashImage.tsx index eff3bf56d3d..1e8c2bef187 100644 --- a/koenig/kg-unsplash-selector/src/ui/UnsplashImage.tsx +++ b/koenig/kg-unsplash-selector/src/ui/UnsplashImage.tsx @@ -75,7 +75,7 @@ const UnsplashImage: FC = ({ className="mr-2 size-8 rounded-full" src={user.profile_image.medium} /> -
+
{user.name}
diff --git a/koenig/kg-unsplash-selector/src/ui/UnsplashSelector.tsx b/koenig/kg-unsplash-selector/src/ui/UnsplashSelector.tsx index 8260e8831b7..275d74a8037 100644 --- a/koenig/kg-unsplash-selector/src/ui/UnsplashSelector.tsx +++ b/koenig/kg-unsplash-selector/src/ui/UnsplashSelector.tsx @@ -18,26 +18,26 @@ const UnsplashSelector: FunctionComponent = ({ <>
-

+

Unsplash

- +