Skip to content

Commit

Permalink
EZP-30150: Updated UIGuidelines Icons sample (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
inakijv authored and DominikaK committed Feb 21, 2019
1 parent 60cdef5 commit faeec9e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/css/ez-guidelines-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
width: 4em;
height: 4em;
}
.ez-guidelines .ez-icon.ez-icon--dark {
fill: #333;
}
.ez-guidelines .ez-icon.ez-icon--light {
fill: #fff;
}
Expand Down
11 changes: 11 additions & 0 deletions docs/guidelines/resources/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ code_example]]
</svg>
code_example]]

###<div class="mgt-2">Colored icons - dark</div>
<div class="mgt-minus-3 mgb-5">Add class `ez-icon--dark` to modify the color fill of an icon to the Sass variable defined for white, `$ez-black`.</div>
<div class="ez-guidelines-icons__colored">
[[code_example {html}
<svg class="ez-icon ez-icon--medium ez-icon--dark ez-icon-content-draft">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../../ez-icons.svg#content-draft"></use>
</svg>
</button>
code_example]]
</div>

###<div class="mgt-2">Colored icons - white</div>
<div class="mgt-minus-3 mgb-5">Add class `ez-icon--light` to modify the color fill of an icon to the Sass variable defined for white, `$ez-white`.</div>
<div class="ez-guidelines-icons__colored">
Expand Down

0 comments on commit faeec9e

Please sign in to comment.