diff --git a/cli/packages/wox/.gitignore b/cli/packages/wox/.gitignore new file mode 100644 index 0000000..4f1b7d8 --- /dev/null +++ b/cli/packages/wox/.gitignore @@ -0,0 +1,2 @@ +node_modules +LICENSE.md diff --git a/cli/packages/wox/.yarnrc b/cli/packages/wox/.yarnrc new file mode 100644 index 0000000..dcfb39a --- /dev/null +++ b/cli/packages/wox/.yarnrc @@ -0,0 +1,2 @@ +version-tag-prefix "@themer/wox-v" +version-git-message "@themer/wox-v%s" diff --git a/cli/packages/wox/README.md b/cli/packages/wox/README.md new file mode 100644 index 0000000..c12d753 --- /dev/null +++ b/cli/packages/wox/README.md @@ -0,0 +1,15 @@ +# @themer/wox + +A [Wox](http://www.wox.one/) template for [themer](https://github.com/mjswensen/themer). + +## Installation & usage + +Install this module wherever you have `themer` installed: + + npm install @themer/wox + +Then pass `@themer/wox` as a `-t` (`--template`) arg to `themer`: + + themer -c my-colors.js -t @themer/wox -o gen + +Installation instructions for the generated theme(s) will be included in `/README.md`. diff --git a/cli/packages/wox/lib/__snapshots__/index.spec.js.snap b/cli/packages/wox/lib/__snapshots__/index.spec.js.snap new file mode 100644 index 0000000..c8c592e --- /dev/null +++ b/cli/packages/wox/lib/__snapshots__/index.spec.js.snap @@ -0,0 +1,75 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`themer wox theme generator should provide installation instructions 1`] = ` +" +1. Copy 'Themer Dark.xaml' and 'Themer Light.xaml' 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. +" +`; + +exports[`themer wox theme generator should render properly 1`] = ` +" + + + + + + + + + + + #26C99E + + + + + + + #1FC598 + + + + + + + ${colors.accent4} +