Skip to content

🎥 Make videos programmatically with React

Match download license agreement text color

Jonny Burgera528723ae1a1
diff --git a/packages/studio/src/components/InspectorPanel/CompositionInspector.tsx b/packages/studio/src/components/InspectorPanel/CompositionInspector.tsx
index 389380508f..bdae168523 100644
--- a/packages/studio/src/components/InspectorPanel/CompositionInspector.tsx
+++ b/packages/studio/src/components/InspectorPanel/CompositionInspector.tsx
@@ -8,6 +8,7 @@ import React, {
import type {_InternalTypes} from 'remotion';
import {getBrowserStudioOperations} from '../../helpers/browser-studio-operations';
import {StudioServerConnectionCtx} from '../../helpers/client-id';
+import {LIGHT_TEXT} from '../../helpers/colors';
import {downloadBlob} from '../../helpers/download-blob';
import {isStudioInteractivityEnabled} from '../../helpers/interactivity-enabled';
import {CloudDownloadIcon} from '../../icons/cloud-download';
@@ -63,10 +64,21 @@ const actionIconStyle: React.CSSProperties = {
};
const downloadLicenseAgreement: React.CSSProperties = {
+ color: LIGHT_TEXT,
+ fontFamily: 'sans-serif',
+ fontSize: 14,
+ lineHeight: 1.5,
marginBottom: 0,
marginTop: 20,
};
+const downloadLicenseLink: React.CSSProperties = {
+ color: LIGHT_TEXT,
+ fontFamily: 'sans-serif',
+ fontSize: 14,
+ lineHeight: '21px',
+};
+
const CompositionActions: React.FC = () => {
const {
canInsertAsset,
@@ -93,7 +105,16 @@ const CompositionActions: React.FC = () => {
<>
<LicenseExplanation />
<p style={downloadLicenseAgreement}>
- By downloading this project, you agree to comply with the license.
+ By downloading this project, you agree to comply with the{' '}
+ <a
+ href="https://remotion.dev/license"
+ rel="noopener noreferrer"
+ style={downloadLicenseLink}
+ target="_blank"
+ >
+ license
+ </a>
+ .
</p>
</>
),