MCPcopy Index your code
hub / github.com/Binaryify/OneDark-Pro / main

Function main

scripts/generate-theme.ts:14–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14async function main() {
15 writeFile(
16 join(__dirname, '..', 'themes', 'OneDark-Pro.json'),
17 await Theme.init(defaultSettings)
18 )
19
20 writeFile(
21 join(__dirname, '..', 'themes', 'OneDark-Pro-flat.json'),
22 await Theme.init(flatConfig)
23 )
24
25 writeFile(
26 join(__dirname, '..', 'themes', 'OneDark-Pro-darker.json'),
27 await Theme.init(darkerConfig)
28 )
29
30 writeFile(
31 join(__dirname, '..', 'themes', 'OneDark-Pro-mix.json'),
32 await Theme.init(mixConfig)
33 )
34 writeFile(
35 join(__dirname, '..', 'themes', 'OneDark-Pro-night-flat.json'),
36 await Theme.init(nightFlatConfig)
37 )
38}
39main()

Callers 1

generate-theme.tsFile · 0.85

Calls 2

writeFileFunction · 0.85
initMethod · 0.80

Tested by

no test coverage detected