Skip to content

Commit

Permalink
Merge pull request SheetJS#64 from zeg-io/patch-1
Browse files Browse the repository at this point in the history
Fixed Style Table in README.md
  • Loading branch information
Pieter Sheth-Voss committed Apr 4, 2017
2 parents a03dc21 + c224819 commit 68ba4e8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ top-level attributes: `fill`, `font`, `numFmt`, `alignment`, and `border`.


| Style Attribute | Sub Attributes | Values |
| :-------------- | :------------- | :------------- | :----- |
| fill | patternType | `"solid"` or `"none"` |
| :-------------- | :------------- | :------------- |
| fill | patternType | `"solid"` or `"none"`
| | fgColor | `COLOR_SPEC`
| | bgColor | `COLOR_SPEC`
| font | name | `"Calibri"` // default
Expand All @@ -568,7 +568,7 @@ top-level attributes: `fill`, `font`, `numFmt`, `alignment`, and `border`.
| | textRotation | Number from `0` to `180` or `255` (default is `0`)
| | | `90` is rotated up 90 degrees
| | | `45` is rotated up 45 degrees
| | | `135` is rotated down 45 degrees
| | | `135` is rotated down 45 degrees
| | | `180` is rotated down 180 degrees
| | | `255` is special, aligned vertically
| border | top | `{ style: BORDER_STYLE, color: COLOR_SPEC }`
Expand All @@ -579,7 +579,6 @@ top-level attributes: `fill`, `font`, `numFmt`, `alignment`, and `border`.
| | diagonalUp | `true` or `false`
| | diagonalDown | `true` or `false`


**COLOR_SPEC**: Colors for `fill`, `font`, and `border` are specified as objects, either:
* `{ auto: 1}` specifying automatic values
* `{ rgb: "FFFFAA00" }` specifying a hex ARGB value
Expand Down

0 comments on commit 68ba4e8

Please sign in to comment.