import type { Template } from './index.js';
import { colorSetToVariants } from '../color-set/index.js';
import { source } from 'common-tags';
const template: Template = {
name: 'Wox',
render: async function* (colorSet) {
const variants = colorSetToVariants(colorSet);
for (const { colors, title } of variants) {
yield {
path: `${title.human}.xaml`,
content: source`
${colors.accent4}
`,
};
}
},
renderInstructions: (paths) => source`
1. Copy ${paths
.map((p) => `'${p}'`)
.join(
' and ',
)} into Wox's theme directory (for example, \`C:\\Users\\\\AppData\\Local\\Wox\\app-\\Themes\`).
2. Open Wox and type "settings" to launch Wox settings.
3. On the "Themes" tab, select the generated theme from the list.
`,
};
export default template;