🎥 Make videos programmatically with React
text colors
Jonny Burger17ef3823a0f1
diff --git a/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.tsx b/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.tsxindex 2acd0c3eec..85e4a3b132 100644--- a/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.tsx+++ b/packages/cli/src/editor/components/RenderModal/SchemaEditor/SchemaSaveButton.tsx@@ -1,4 +1,5 @@import React, {useCallback} from 'react';+import {LIGHT_TEXT} from '../../../helpers/colors';import type {RenderInlineAction} from '../../InlineAction';import {InlineAction} from '../../InlineAction';@@ -16,7 +17,7 @@ export const SchemaSaveButton: React.FC<{return (<svg style={icon} viewBox="0 0 448 512"><path- fill={disabled ? 'grey' : color}+ fill={disabled ? LIGHT_TEXT : color}d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg>diff --git a/packages/cli/src/editor/components/RightPanel.tsx b/packages/cli/src/editor/components/RightPanel.tsxindex 6258c2da3b..8fc66bda2a 100644--- a/packages/cli/src/editor/components/RightPanel.tsx+++ b/packages/cli/src/editor/components/RightPanel.tsx@@ -8,12 +8,12 @@ import React, {} from 'react';import type {AnyComposition} from 'remotion';import {Internals} from 'remotion';-import {BACKGROUND} from '../helpers/colors';+import {BACKGROUND, LIGHT_TEXT} from '../helpers/colors';import {DataEditor} from './RenderModal/DataEditor';+import {deepEqual} from './RenderModal/SchemaEditor/deep-equal';import {RenderQueue} from './RenderQueue';import {RendersTab} from './RendersTab';import {Tab, Tabs} from './Tabs';-import {deepEqual} from './RenderModal/SchemaEditor/deep-equal';const container: React.CSSProperties = {height: '100%',@@ -87,7 +87,7 @@ export const RightPanel: React.FC<{}> = () => {const circleStyle = useMemo(() => {return {...circle,- backgroundColor: panel === 'input-props' ? 'white' : 'grey',+ backgroundColor: panel === 'input-props' ? 'white' : LIGHT_TEXT,};}, [panel]);