-
+
+ {{ viewport[0] }}x{{ viewport[1] }}px
+ ({{ (scale * 100).toFixed(0) }}%)
+
-
+
+
diff --git a/packages/ui/client/components/explorer/ExplorerItem.vue b/packages/ui/client/components/explorer/ExplorerItem.vue
index 98e968003155..76dcf2d9a4eb 100644
--- a/packages/ui/client/components/explorer/ExplorerItem.vue
+++ b/packages/ui/client/components/explorer/ExplorerItem.vue
@@ -23,6 +23,7 @@ const {
type,
disableTaskLocation,
onItemClick,
+ projectNameColor,
} = defineProps<{
taskId: string
name: string
@@ -135,6 +136,17 @@ function showDetails() {
showSource(t)
}
}
+
+const projectNameTextColor = computed(() => {
+ switch (projectNameColor) {
+ case 'blue':
+ case 'green':
+ case 'magenta':
+ return 'white'
+ default:
+ return 'black'
+ }
+})
@@ -162,12 +174,12 @@ function showDetails() {