|
9 | 9 | cn( |
10 | 10 | 'bg-white dark-theme:bg-charcoal-100', |
11 | 11 | 'min-w-[445px]', |
12 | | - 'lg-node absolute border border-solid rounded-2xl', |
13 | | - 'outline-transparent outline-2', |
| 12 | + 'lg-node absolute rounded-2xl', |
| 13 | + // border |
| 14 | + 'border border-solid border-sand-100 dark-theme:border-charcoal-300', |
| 15 | + !!error && 'border-red-700 dark-theme:border-red-300', |
| 16 | + // hover |
| 17 | + 'hover:ring-7 ring-gray-500/50 dark-theme:ring-gray-500/20', |
| 18 | + // Selected |
| 19 | + 'outline-transparent -outline-offset-2 outline-2', |
| 20 | + !!isSelected && 'outline-black dark-theme:outline-white', |
| 21 | + !!(isSelected && error) && 'outline-red-500 dark-theme:outline-red-500', |
14 | 22 | { |
15 | | - 'outline-black dark-theme:outline-white': isSelected |
16 | | - }, |
17 | | - { |
18 | | - 'border-blue-500 ring-2 ring-blue-300': isSelected, |
19 | | - 'border-sand-100 dark-theme:border-charcoal-300': !isSelected, |
20 | 23 | 'animate-pulse': executing, |
21 | 24 | 'opacity-50': nodeData.mode === 4, |
22 | | - 'border-red-500 bg-red-50': error, |
23 | 25 | 'will-change-transform': isDragging |
24 | 26 | }, |
25 | 27 | lodCssClass, |
@@ -229,7 +231,7 @@ const hasCustomContent = computed(() => { |
229 | 231 |
|
230 | 232 | // Computed classes and conditions for better reusability |
231 | 233 | const separatorClasses = |
232 | | - 'bg-sand-primary dark-theme:bg-charcoal-tertiary h-[1px] mx-0' |
| 234 | + 'bg-sand-100 dark-theme:bg-charcoal-300 h-[1px] mx-0 w-full' |
233 | 235 |
|
234 | 236 | // Common condition computations to avoid repetition |
235 | 237 | const shouldShowWidgets = computed( |
|
0 commit comments