Skip to content

Commit

Permalink
feat(docs): add docs for auto contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
alyleui committed Apr 22, 2018
1 parent 31f177a commit 487c10d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ <h4>Change</h4>
<input type="text" [(ngModel)]="color">
<div [bg]="color">bg</div>
<div [color]="color">color</div>

<h4>Auto contrast</h4>

<span bg="primary" color="auto">text</span>
<span bg="accent" color="auto">text</span>
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,3 @@ <h4>Raised{{ raisedState !== undefined ? ': ' + raisedState : raisedState }}</h4
<ly-svg src="assets/svg/Brush.svg"></ly-svg>
</span>
</button>

<h4>Auto contrast</h4>

<span bg="accent" color="auto">hello</span>
<button ly-button bg="accent" color="auto">button</button>

0 comments on commit 487c10d

Please sign in to comment.