Skip to content

Commit

Permalink
feat: add new format icons (resolves #211) (#217)
Browse files Browse the repository at this point in the history
* feat: reorder icons
* feat: add new format icons (resolves #211)
* fix: icon sizes
  • Loading branch information
Ned Zimmerman committed Jan 31, 2020
1 parent 3d5f6a6 commit 0e5b296
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 12 deletions.
File renamed without changes
1 change: 1 addition & 0 deletions src/assets/images/blog.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
1 change: 1 addition & 0 deletions src/assets/images/document.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/images/save.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/assets/images/template.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/styles/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
.card__byline,
.card__meta {
svg {
height: 1.125em;
margin-bottom: -0.25em;
}
}

Expand Down
30 changes: 21 additions & 9 deletions src/components/01-atoms/01-icons/icons.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ module.exports = {
{
svg: 'edit',
},
{
svg: 'save',
},
{
svg: 'info',
},
Expand Down Expand Up @@ -96,39 +99,48 @@ module.exports = {
},
],
[
{
svg: 'academic',
},
{
svg: 'article',
},
{
svg: 'audio',
},
{
svg: 'case-study',
svg: 'blog',
},
{
svg: 'toolkit',
svg: 'book',
},
{
svg: 'educational-curriculum',
svg: 'case-study',
},
{
svg: 'video',
svg: 'curriculum',
},
{
svg: 'article',
svg: 'document',
},
{
svg: 'book',
svg: 'online-training',
},
{
svg: 'academic-paper',
svg: 'presentation',
},
{
svg: 'report',
},
{
svg: 'presentation',
svg: 'template',
},
{
svg: 'online-training',
svg: 'toolkit',
},
{
svg: 'video',
}
],
[
{
Expand Down
12 changes: 10 additions & 2 deletions src/components/03-layouts/02-archive/archive.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ const formats = [
label: 'Toolkit',
svg: 'toolkit',
},
{
label: 'Template',
svg: 'template',
},
{
label: 'Educational Curriculum',
svg: 'educational-curriculum',
svg: 'curriculum',
},
{
label: 'Video',
Expand All @@ -30,9 +34,13 @@ const formats = [
label: 'Book',
svg: 'book',
},
{
label: 'Document',
svg: 'document',
},
{
label: 'Academic Paper',
svg: 'academic-paper',
svg: 'academic',
},
{
label: 'Report',
Expand Down

0 comments on commit 0e5b296

Please sign in to comment.