()
| 20 | const theme = createMemo(() => settings().theme) |
| 21 | return { |
| 22 | theme, |
| 23 | setTheme: (theme: DevtoolsStore['settings']['theme']) => |
| 24 | setSettings({ theme }), |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | export const createPlugins = () => { |
| 29 | const { store, setStore } = createDevtoolsContext() |
| 30 | const plugins = createMemo(() => store.plugins) |
| 31 | /** |
| 32 | * Derived, never stored. The layout tree is the only record of what is open, |
| 33 | * so this cannot drift out of step with it. |
no test coverage detected