diff --git a/resources/js/components/integrations/integration-list.tsx b/resources/js/components/integrations/integration-list.tsx
index 42aa02c3..6e182ea0 100644
--- a/resources/js/components/integrations/integration-list.tsx
+++ b/resources/js/components/integrations/integration-list.tsx
@@ -14,10 +14,10 @@ export default function IntegrationList({ integrations, labels }: IntegrationLis
const english = locale !== DEFAULT_LOCALE;
return (
-
+
{integrations.map((integration) => (
-
-
+
{/* Detail pages are English only, so other languages link the English page. */}
diff --git a/resources/js/components/ui/database-mark.tsx b/resources/js/components/ui/database-mark.tsx
index c2a7e78b..f815d2a5 100644
--- a/resources/js/components/ui/database-mark.tsx
+++ b/resources/js/components/ui/database-mark.tsx
@@ -14,6 +14,8 @@ interface DatabaseMarkProps {
name: string;
/** 24px in lists and tables (the default), 32 or 40 where a mark leads a card. */
size?: 24 | 32 | 40;
+ // False for an app icon that brings its own ground, such as an integration's: no white tile in dark mode.
+ tile?: boolean;
className?: string;
}
@@ -39,7 +41,7 @@ const TILE = { 24: 'size-8', 32: 'size-10', 40: 'size-12' } as const;
* Decorative in every branch (`alt=""`): the engine's name is always rendered
* beside it, and that is the accessible label.
*/
-export default function DatabaseMark({ icon, iconDark, monogram, name, size = 24, className }: DatabaseMarkProps) {
+export default function DatabaseMark({ icon, iconDark, monogram, name, size = 24, tile = true, className }: DatabaseMarkProps) {
if (!icon) {
return (
@@ -69,7 +71,7 @@ export default function DatabaseMark({ icon, iconDark, monogram, name, size = 24
}
return (
-
+
{image(icon)}
);
diff --git a/resources/js/pages/Integrations/Show.tsx b/resources/js/pages/Integrations/Show.tsx
index 51c21028..cc3a1829 100644
--- a/resources/js/pages/Integrations/Show.tsx
+++ b/resources/js/pages/Integrations/Show.tsx
@@ -78,7 +78,7 @@ export default function IntegrationShow({ content, integration, dates }: Integra
eyebrow={
-
+
}
title={integration.name}
diff --git a/tests/Feature/Pages/IntegrationsTest.php b/tests/Feature/Pages/IntegrationsTest.php
index 13536c66..6ffc80f1 100644
--- a/tests/Feature/Pages/IntegrationsTest.php
+++ b/tests/Feature/Pages/IntegrationsTest.php
@@ -107,7 +107,9 @@
expect($sections)->toBe(['top', 'command-line', 'automation', 'publish'])
->and($document->querySelector('main form, main input, main select'))->toBeNull()
- ->and($document->querySelector('#command-line a[href="/integrations/acme-cli"]'))->not->toBeNull();
+ ->and($document->querySelector('#command-line a[href="/integrations/acme-cli"]'))->not->toBeNull()
+ // An app icon brings its own ground, so it gets no white tile in dark mode.
+ ->and($document->querySelector('#command-line li span[aria-hidden="true"]')->getAttribute('class'))->not->toContain('dark:bg-');
})->group('ssr');
it('sets a detail page as a hero, two sets of rows and the way to report a problem', function (): void {