Skip to content

Commit

Permalink
Add brand icons
Browse files Browse the repository at this point in the history
  • Loading branch information
farazcsk committed Sep 15, 2017
1 parent 914ccc9 commit 2d88e53
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
13 changes: 12 additions & 1 deletion styleguide/screens/Design/Iconography.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';

import IconShowcase from '../../components/IconShowcase/IconShowcase';

import { uiIcons, brandIcons } from './icons';
import { uiIcons, brandIcons, valueIcons } from './icons';

import type from '../../typography.css';
import css from './Iconography.css';
Expand All @@ -24,6 +24,17 @@ const Iconography = () => (
<h2 className={ type.h2 }>Brand Icons</h2>
<div className={ css.iconGroup }>
{ brandIcons.map(icon => (
<IconShowcase
key={ icon.value }
className={ css.icon }
name={ icon.name }
value={ icon.value }
/>
)) }
</div>
<h2 className={ type.h2 }>Value Icons</h2>
<div className={ css.iconGroup }>
{ valueIcons.map(icon => (
<IconShowcase
key={ icon.value }
className={ css.icon }
Expand Down
8 changes: 8 additions & 0 deletions styleguide/screens/Design/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ export const uiIcons = [{
}];

export const brandIcons = [{
name: 'Appear Here',
value: 'appearhere',
}, {
name: 'Appear Here Brackets',
value: 'appearhere-brackets',
}];

export const valueIcons = [{
name: 'No Bullshit',
value: 'NoBull',
valueIcon: ValueIconNoBull,
Expand Down

0 comments on commit 2d88e53

Please sign in to comment.