Skip to content

Commit

Permalink
Merge pull request #172 from mdulat/master
Browse files Browse the repository at this point in the history
Add thin chevron-down svg in tier1
  • Loading branch information
dlockhart authored May 7, 2018
2 parents 4deb677 + c3ded6e commit 1cc8488
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 41 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ bower_components/
bower_components-1.x/
bower-1.x.json
node_modules/
package-lock.json
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js: node
node_js:
- 9
script:
- npm run test:lint
- npm run build
Expand Down
80 changes: 40 additions & 40 deletions d2l-icons.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,12 @@
content: url("data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cpath%20fill%3D%22%23565a5c%22%20d%3D%22M14.4%205.424L9%2010.522l-5.395-5.1a1.59%201.59%200%200%200-2.158%200%201.386%201.386%200%200%200-.08%201.958q.038.042.08.08l6.473%206.12a1.59%201.59%200%200%200%202.16%200l6.473-6.117a1.386%201.386%200%200%200%20.08-1.96q-.033-.04-.08-.078a1.59%201.59%200%200%200-2.153%200z%22%2F%3E%3C%2Fsvg%3E");
}
}
@mixin d2l-icon-tier1-chevron-down-thin() {
@include d2l-icon();
&:before {
content: url("data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cpath%20fill%3D%22%23565a5c%22%20d%3D%22M13.71%201.71l-6%206a1.014%201.014%200%200%201-1.42%200l-6-6A1%201%200%200%201%201.71.29L7%205.58%2012.29.29a1%201%200%200%201%201.42%201.42z%22%2F%3E%3C%2Fsvg%3E");
}
}
@mixin d2l-icon-tier1-chevron-left() {
@include d2l-icon();
&:before {
Expand Down
3 changes: 3 additions & 0 deletions images/tier1/chevron-down-thin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions tier1-icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
<g id="chevron-down-medium">
<path d="M14.4 5.424L9 10.522l-5.395-5.1a1.59 1.59 0 0 0-2.158 0 1.386 1.386 0 0 0-.08 1.958q.038.042.08.08l6.473 6.12a1.59 1.59 0 0 0 2.16 0l6.473-6.117a1.386 1.386 0 0 0 .08-1.96q-.033-.04-.08-.078a1.59 1.59 0 0 0-2.153 0z"/>
</g>
<g id="chevron-down-thin">
<path d="M13.71,1.71l-6,6a1.014,1.014,0,0,1-1.42,0l-6-6A1,1,0,0,1,1.71.29L7,5.58,12.29.29a1,1,0,0,1,1.42,1.42Z"/>
</g>
<g id="chevron-down">
<path d="M2.39 6.49a1.5 1.5 0 0 1 2.12-.1L9 10.47l4.49-4.08a1.5 1.5 0 0 1 2.02 2.22L10 13.62A1.474 1.474 0 0 1 9 14a1.523 1.523 0 0 1-1-.38L2.49 8.61a1.5 1.5 0 0 1-.1-2.12z"/>
</g>
Expand Down

0 comments on commit 1cc8488

Please sign in to comment.