()
| 369 | }) |
| 370 | |
| 371 | const getPanelDynamicStyles = () => { |
| 372 | const { colors } = tokens |
| 373 | const t = (light: string, dark: string) => |
| 374 | theme() === 'dark' ? dark : light |
| 375 | if (panelWidth() < secondBreakpoint) { |
| 376 | return css` |
| 377 | flex-direction: column; |
| 378 | background-color: ${t(colors.gray[300], colors.gray[600])}; |
| 379 | ` |
| 380 | } |
| 381 | return css` |
| 382 | flex-direction: row; |
| 383 | background-color: ${t(colors.gray[200], colors.darkGray[900])}; |
| 384 | ` |
| 385 | } |
| 386 | |
| 387 | createEffect(() => { |
| 388 | const win = pip().pipWindow |
no test coverage detected