()
| 292 | }) |
| 293 | |
| 294 | const getPanelDynamicStyles = () => { |
| 295 | const { colors } = tokens |
| 296 | const t = (light: string, dark: string) => |
| 297 | theme() === 'dark' ? dark : light |
| 298 | if (panelWidth() < secondBreakpoint) { |
| 299 | return css` |
| 300 | flex-direction: column; |
| 301 | background-color: ${t(colors.gray[300], colors.gray[600])}; |
| 302 | ` |
| 303 | } |
| 304 | return css` |
| 305 | flex-direction: row; |
| 306 | background-color: ${t(colors.gray[200], colors.darkGray[900])}; |
| 307 | ` |
| 308 | } |
| 309 | |
| 310 | createEffect(() => { |
| 311 | const win = pip().pipWindow |
no test coverage detected
searching dependent graphs…