Skip to content

Commit 81e14ca

Browse files
committed
Updated Readme
1 parent 9913b63 commit 81e14ca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ Default Options
3434
----------------
3535
- __selector__ String _(default: `'img[data-adaptive-background="1"]'`)_ a CSS selector which denotes which images to grab/process. Ideally, this selector would start with _img_, to ensure we only grab and try to process actual images.
3636
- __parent__ falsy _(default: `null`)_ a CSS selector which denotes which parent to apply the background color to. By default, the color is applied to the parent one level up the DOM tree.
37+
- __changeTxtColor__ boolean _(default: `false`)_ option to change color of parent text according generated background image
38+
- __parentTxtLight__ String _(default: `#fff`)_ text color used when background color is dark
39+
- __parentTxtDark__ String _(default: `#000`)_ text color used when background color is light
40+
3741

3842
__Example:__
3943
Call the `run` method, passing in any options you'd like to override.

0 commit comments

Comments
 (0)