From 55ae10ca87ba73570ab92c64e673508fdf3edfc8 Mon Sep 17 00:00:00 2001 From: Ilya Radchenko Date: Fri, 10 Oct 2014 15:11:20 -0400 Subject: [PATCH] Add configuration to readme --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index f38e19e..36175c2 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,19 @@ in your template: {{x-toggle theme='skewed' toggle='enablePartyMode'}} ``` +### Configuring + +Add a configuration for `ember-cli-toggle` to include only the themes that +you will use. + +```js +ENV['ember-cli-toggle'] = { + includedThemes: ['light', 'default', 'flip'], + excludedThemes: ['flip'], + defaultTheme: 'light' // defaults to 'default' +}; +``` + ## Contributing Outlines how to begin contributing to this Ember-CLI project.