Updating style of theme options in wizard (#6177)

This commit is contained in:
Kris
2018-07-25 15:32:14 -04:00
committed by GitHub
parent 3fd2571abc
commit 0e84024958
3 changed files with 35 additions and 5 deletions

View File

@@ -1,3 +1,4 @@
import computed from "ember-addons/ember-computed-decorators";
import { observes } from "ember-addons/ember-computed-decorators";
import {
@@ -7,10 +8,17 @@ import {
LOREM
} from "wizard/lib/preview";
export default createPreviewComponent(225, 120, {
export default createPreviewComponent(305, 165, {
logo: null,
avatar: null,
classNameBindings: ["isSelected"],
@computed("selectedId", "colorsId")
isSelected(selectedId, colorsId) {
return selectedId === colorsId;
},
click() {
this.sendAction("onChange", this.get("colorsId"));
},