Skip to content

Commit 638dfc3

Browse files
committed
improvement(files): cursor to default color, video background to surface-1
- Monaco cursor: #33b4ff (brand blue) → #e6e6e6 dark / #1a1a1a light (text cursor should be neutral, not loud) - VideoPreview background: var(--surface-inverted) → var(--surface-1) (consistent with PDF viewer, fits workspace context over cinema-black)
1 parent 7de86d6 commit 638dfc3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • apps/sim/app/workspace/[workspaceId]/files/components/file-viewer

apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/file-viewer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const MonacoEditor = dynamic(
120120
'editorBracketMatch.border': '#33b4ff80',
121121
'editorIndentGuide.background1': '#2a2a2a',
122122
'editorIndentGuide.activeBackground1': '#454545',
123-
'editorCursor.foreground': '#33b4ff',
123+
'editorCursor.foreground': '#e6e6e6',
124124
'editor.wordHighlightBackground': '#33b4ff14',
125125
'editor.wordHighlightBorder': '#33b4ff40',
126126
'editorSuggestWidget.background': '#242424',
@@ -169,7 +169,7 @@ const MonacoEditor = dynamic(
169169
'editorBracketMatch.border': '#33b4ff80',
170170
'editorIndentGuide.background1': '#f0f0f0',
171171
'editorIndentGuide.activeBackground1': '#d8d8d8',
172-
'editorCursor.foreground': '#33b4ff',
172+
'editorCursor.foreground': '#1a1a1a',
173173
'editor.wordHighlightBackground': '#33b4ff14',
174174
'editor.wordHighlightBorder': '#33b4ff40',
175175
'editorSuggestWidget.background': '#ffffff',
@@ -1443,7 +1443,7 @@ const VideoPreview = memo(function VideoPreview({
14431443
}
14441444

14451445
return (
1446-
<div className='flex h-full items-center justify-center bg-[var(--surface-inverted)]'>
1446+
<div className='flex h-full items-center justify-center bg-[var(--surface-1)]'>
14471447
{blobUrl && (
14481448
// biome-ignore lint/a11y/useMediaCaption: video from workspace files
14491449
<video src={blobUrl} controls className='max-h-full max-w-full' />

0 commit comments

Comments
 (0)