File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
typescript-sdk/apps/dojo/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default function CodeViewer({ codeFiles }: { codeFiles: FeatureFile[] })
3131 value = { file . name }
3232 className = { cn (
3333 "border-0 shadow-none hover:bg-foreground/5 hover:text-gray-900 dark:hover:text-neutral-100 data-[state=active]:text-gray-900 dark:data-[state=active]:text-white" ,
34- isInsideCpkFrame || true
34+ isInsideCpkFrame
3535 ? "mix-from-cpk-docs-primary mix-to-white mix-25 data-[state=active]:bg-mix/15 data-[state=active]:text-cpk-docs-primary data-[state=active]:dark:text-mix"
3636 : "data-[state=active]:bg-foreground/8 text-gray-600 dark:text-neutral-300" ,
3737 ) }
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function FileTreeNode({
3434 "flex w-full items-center gap-2 rounded-sm px-2 py-1 text-sm text-gray-700 dark:text-gray-200" ,
3535 "mix-from-cpk-docs-primary mix-to-white mix-25" ,
3636 ! isSelected && "hover:bg-foreground/5 hover:text-gray-900 dark:hover:text-white" ,
37- isSelected && ( isInsideCpkFrame || true
37+ isSelected && ( isInsideCpkFrame
3838 ? "bg-mix/15 text-cpk-docs-primary dark:text-mix"
3939 : "bg-foreground/10 text-gray-900 dark:text-white" ) ,
4040 depth === 1 && "ml-0.5" ,
You can’t perform that action at this time.
0 commit comments