(darkTheme)
| 233 | const system = createBuiltInTheme("System", "dark", "free"); |
| 234 | |
| 235 | export function getSystemEditorTheme(darkTheme) { |
| 236 | if (darkTheme) { |
| 237 | return "one_dark"; |
| 238 | } else { |
| 239 | return "noctisLilac"; |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | /** |
| 244 | * Update the system theme based on the user's preference. |
no outgoing calls
no test coverage detected