Skip to content

🎥 Make videos programmatically with React

Fix Element library confirmation text style

JonnyBurgerff32d1b5c5c9
diff --git a/packages/studio/src/components/ElementInstallConfirmation.tsx b/packages/studio/src/components/ElementInstallConfirmation.tsx
index 0db689f4d9..8dcbb69f1e 100644
--- a/packages/studio/src/components/ElementInstallConfirmation.tsx
+++ b/packages/studio/src/components/ElementInstallConfirmation.tsx
@@ -263,7 +263,17 @@ export const ElementLibraryAddConfirmation: React.FC<{
readonly url: string;
}> = ({origin, url}) => {
return (
- <p style={{margin: 0, overflowWrap: 'anywhere'}}>
+ <p
+ style={{
+ color: LIGHT_TEXT,
+ fontFamily: 'sans-serif',
+ fontSize: 13,
+ fontWeight: 400,
+ lineHeight: 1.5,
+ margin: 0,
+ overflowWrap: 'anywhere',
+ }}
+ >
{origin.replace(/^https?:\/\//, '')} wants to add{' '}
{url.replace(/^https?:\/\//, '')} as an Element library.
</p>