discourse/app/assets/javascripts/wizard/components/theme-previews.js.es6
Joffrey JAFFEUX 7a3c541077
UX: Preview multiple color schemes in wizard (#6151)
It was a dropdown to provide choices of color schemes,
and only one scheme could be shown.
With this commit, multiple color scheme previews can be displayed on
one page at the same time, making admins choose color schemes more
easily.

Theme preview windows are shrinked.

Imported default color schemes.

Co-Authored-By: Misaka 0x4e21 <misaka4e21@gmail.com>
2018-07-24 09:00:20 -04:00

8 lines
126 B
JavaScript

export default Ember.Component.extend({
actions: {
changed(value) {
this.set("field.value", value);
}
}
});