Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
added primary color to the grid item and removed it from the backgrou…
Browse files Browse the repository at this point in the history
…nd choices
  • Loading branch information
richarddubay committed Nov 11, 2016
1 parent 522c93f commit 01fccff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions imports/blocks/recover-schedules/__stories__/Later.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import Later from "../Later";
const story = storiesOf("Schedules", module)
.addDecorator(withKnobs)
.addDecorator(centered)
.addDecorator(backgrounds(defaultColors("light-primary", "light-secondary")))
.addDecorator(backgrounds([{ name: "light-secondary", value: "#f7f7f7", default: true }]))
;

story
.add("Later", withReadme(Readme, () => {
return(
<div className={"floating"}>
<div className={"grid__item"} style={{ maxWidth: "375px" }}>
<div className={"grid__item soft background--light-primary"} style={{ maxWidth: "375px" }}>
<Later
date={"20200101"}
onClick={(e) => {
Expand Down
4 changes: 2 additions & 2 deletions imports/blocks/recover-schedules/__stories__/Recover.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Recover, { RecoverableSchedule } from "../Recover";
const story = storiesOf("Schedules", module)
.addDecorator(withKnobs)
.addDecorator(centered)
.addDecorator(backgrounds(defaultColors("light-primary", "light-secondary")))
.addDecorator(backgrounds([{ name: "light-secondary", value: "#f7f7f7", default: true }]))
;

story
Expand All @@ -36,7 +36,7 @@ story
];
return(
<div className={"floating"}>
<div className={"grid__item"} style={{ maxWidth: "375px" }}>
<div className={"grid__item soft background--light-primary"} style={{ maxWidth: "375px" }}>
<Recover
schedules={schedules}
hide={(e) => {
Expand Down
4 changes: 2 additions & 2 deletions imports/blocks/recover-schedules/__stories__/Remind.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import Remind from "../Remind";
const story = storiesOf("Schedules", module)
.addDecorator(withKnobs)
.addDecorator(centered)
.addDecorator(backgrounds(defaultColors("light-primary", "light-secondary")))
.addDecorator(backgrounds([{ name: "light-secondary", value: "#f7f7f7", default: true }]))
;

story
.add("Remind Me Later", withReadme(Readme, () => (
<div className={"floating"}>
<div className={"grid__item"} style={{ maxWidth: "375px" }}>
<div className={"grid__item soft background--light-primary"} style={{ maxWidth: "375px" }}>
<Remind
onSubmit={(e) => {
e.preventDefault();
Expand Down

0 comments on commit 01fccff

Please sign in to comment.