Skip to content

Commit

Permalink
changing layout of hub color options section of readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacon36 committed Mar 1, 2021
1 parent 41a6409 commit a65457c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ Slices will first look for a `fontColor` value in the corresponding options obje

#### Hub

- The hub (center of the wheel) will first look for a `color` value in the `hubFont` prop.
- - If no `color` value is present it will defaul to `black`.
- - If the `color` value is set to `use-slice` and a value is set in the `color` value of the `slicesFont` prop it will use the `slicesFont.color` value.
- - If the `color` value is set to `use-option` it will look for a `fontColor` value in the option object that corresponds to the slice the wheel landed on. If no `fontColor` exists in the landed on option it will use the `slicesFont.color` value. If no `slicesFont.color` value exists it will fall back to `black`.
The hub (center of the wheel) will first look for a `color` value in the `hubFont` prop.

- If no `color` value is present it will defaul to `black`.
- If the `color` value is set to `use-slice` and a value is set in the `color` value of the `slicesFont` prop it will use the `slicesFont.color` value.
- If the `color` value is set to `use-option` it will look for a `fontColor` value in the option object that corresponds to the slice the wheel landed on. If no `fontColor` exists in the landed on option it will use the `slicesFont.color` value. If no `slicesFont.color` value exists it will fall back to `black`.

0 comments on commit a65457c

Please sign in to comment.