diff --git a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx index 58520b4d..4d3185fb 100644 --- a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx +++ b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx @@ -448,19 +448,19 @@ export function ArtifactFileDetail({ > @@ -476,9 +476,9 @@ export function ArtifactFileDetail({ > - + @@ -530,7 +530,7 @@ export function ArtifactFileDetail({ > @@ -540,7 +540,7 @@ export function ArtifactFileDetail({ width="10" height="11" rx="1.5" - stroke="#666666" + stroke="currentColor" /> @@ -564,12 +564,12 @@ export function ArtifactFileDetail({ > @@ -710,7 +710,7 @@ export function ArtifactFileDetail({ > @@ -1046,7 +1046,7 @@ function ArtifactPdfPreview({ const pageWrapper = document.createElement("div"); pageWrapper.className = - "mx-auto mb-4 w-fit rounded-md border border-[#e4e7ec] bg-white p-2 shadow-sm"; + "mx-auto mb-4 w-fit rounded-md border border-ws-e4e7ec bg-white p-2 shadow-sm"; const canvas = document.createElement("canvas"); canvas.style.width = `${viewport.width}px`; @@ -1089,8 +1089,8 @@ function ArtifactPdfPreview({ if (error) { return ( -
-
+
+

{fileName}

{error}

-
+
+
{pageCount > 0 ? t.artifactPreview.pageCountLabel(fileName, pageCount) : fileName} @@ -1323,7 +1323,7 @@ function ArtifactOfficePreview({ className={cn( "rounded px-4 py-3 text-xs whitespace-nowrap", activeSheet === sheetName - ? "bg-[#1500331a] text-[#000000]" + ? "bg-ws-1500331a text-foreground" : "text-muted-foreground hover:text-foreground", )} onClick={() => setActiveSheet(sheetName)} @@ -1713,14 +1713,14 @@ export const ArtifactZoomSelector = ({ viewBox="0 0 16 16" fill="none" > - + diff --git a/frontend/src/components/workspace/artifacts/artifact-file-list.tsx b/frontend/src/components/workspace/artifacts/artifact-file-list.tsx index 54ea9b16..9af0554b 100644 --- a/frontend/src/components/workspace/artifacts/artifact-file-list.tsx +++ b/frontend/src/components/workspace/artifacts/artifact-file-list.tsx @@ -102,7 +102,10 @@ export function ArtifactFileList({
- {getFileIcon(file, "size-9 stroke-[1px] stroke-[#333333]")} + {getFileIcon( + file, + "size-9 stroke-1 text-ws-333333 stroke-current", + )}
{getFileExtensionDisplayName(file)} file @@ -134,7 +137,7 @@ export function ArtifactFileList({ >