Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
feat: website updated v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgarciadev committed Mar 26, 2021
1 parent fda02a3 commit efeaa5b
Show file tree
Hide file tree
Showing 132 changed files with 6,075 additions and 1,467 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Light Border
- Broken
- Two Tone
- Curved (New)

### Installation
yarn add react-iconly
Expand Down Expand Up @@ -74,7 +75,7 @@ export default App;

Icons can be configured with inline props:
```jsx
<Home set="two-tone" primaryColor="blueviolet" secondaryColor="blue" stroke="bold" size="xlarge"/>
<Home set="curved" primaryColor="blueviolet" secondaryColor="blue" stroke="bold" size="xlarge"/>
```
You can also include the whole icon pack:

Expand Down Expand Up @@ -111,7 +112,7 @@ export default App;
| `primaryColor` | `string` | `currentColor` | Primary colour for icons.
| `secondaryColor` | `string` | `currentColor` | Secondary colour for **two-tone** and **bulk** icons set.
| `size` | `number` | `small` `medium` `large` `xlarge` | `medium` | Control the size of the icon, you can set a custom **number** size
| `set` | `light` `bold` `two-tone` `bulk` `broken` | `light` | Iconly set option.
| `set` | `light` `bold` `two-tone` `bulk` `broken` `curved` | `light` | Iconly set option.
| `stroke` | `light` `regular` `bold` | `regular` | Sets the line stroke for **light** and **two-tone** icons set.
| `style` | `object` | | Custom styles property.

Expand Down
37 changes: 37 additions & 0 deletions src/Icons/InfoCircle.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,41 @@ const InfoCircle = ({ color, secondaryColor, strokeWidth, opacity, set }) => {
</g>
)

const Curved = () => (
<g transform='translate(2 2)'>
<path
d='M0,9.25C0,2.313,2.313,0,9.25,0S18.5,2.313,18.5,9.25,16.187,18.5,9.25,18.5,0,16.187,0,9.25Z'
transform='translate(0.75 0.75)'
fill='none'
stroke={color}
strokeLinecap='round'
strokeLinejoin='round'
strokeMiterlimit='10'
strokeWidth={strokeWidth}
/>
<path
d='M.5,0V3.895'
transform='translate(9.5 6.105)'
fill='none'
stroke={color}
strokeLinecap='round'
strokeLinejoin='round'
strokeMiterlimit='10'
strokeWidth={strokeWidth}
/>
<path
d='M.5.5H.5'
transform='translate(9.5 13)'
fill='none'
stroke={color}
strokeLinecap='round'
strokeLinejoin='round'
strokeMiterlimit='10'
strokeWidth={strokeWidth}
/>
</g>
)

switch (set) {
case 'bold':
return <Bold />
Expand All @@ -117,6 +152,8 @@ const InfoCircle = ({ color, secondaryColor, strokeWidth, opacity, set }) => {
return <Broken />
case 'two-tone':
return <TwoTone />
case 'curved':
return <Curved />
default:
return <Light />
}
Expand Down
1,092 changes: 797 additions & 295 deletions website/distIcons/bold/data.json

Large diffs are not rendered by default.

1,102 changes: 802 additions & 300 deletions website/distIcons/broken/data.json

Large diffs are not rendered by default.

1,028 changes: 765 additions & 263 deletions website/distIcons/bulk/data.json

Large diffs are not rendered by default.

1,284 changes: 1,284 additions & 0 deletions website/distIcons/curved/data.json

Large diffs are not rendered by default.

1,120 changes: 811 additions & 309 deletions website/distIcons/light/data.json

Large diffs are not rendered by default.

40 changes: 23 additions & 17 deletions website/distIcons/tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,35 @@
"bars",
"bar"
],
"ArrowDown": ["arrow", "arrow down", "down"],
"ArrowDownSquare": ["arrow", "arrow down", "down", "square", "arrow square"],
"ArrowLeft": ["arrow", "arrow left", "left"],
"ArrowDown": ["arrow", "caret", "chevron", "arrow down", "down"],
"ArrowDownSquare": ["arrow", "caret", "chevron", "arrow down", "down", "square", "arrow square"],
"ArrowLeft": ["arrow", "caret", "chevron", "arrow left", "left"],
"ArrowLeftSquare": [
"arrow",
"caret",
"chevron",
"arrow left",
"left",
"square",
"arrow left square",
"arrow square"
],
"ArrowRight": ["arrow", "arrow right", "right"],
"ArrowRight": ["arrow", "caret", "chevron", "arrow right", "right"],
"ArrowRightSquare": [
"arrow",
"caret",
"chevron",
"arrow right",
"right",
"square",
"arrow square",
"arrow right square"
],
"ArrowUp": ["arrow", "arrow up", "up"],
"ArrowUp": ["arrow", "caret", "chevron", "arrow up", "up"],
"ArrowUpSquare": [
"arrow",
"caret",
"chevron",
"arrow up",
"up",
"square",
Expand Down Expand Up @@ -74,21 +80,21 @@
"CallMissed": ["call missed", "missed", "phone", "ring"],
"CallSilent": ["call silent", "silence", "silent", "phone", "ring"],
"Camera": ["camera", "photo", "movie", "film", "video", "image"],
"CaretDown": ["caret", "down", "arrow", "arrow down"],
"CaretLeft": ["caret", "left", "arrow", "arrow left"],
"CaretRight": ["caret", "right", "arrow", "arrow right"],
"CaretUp": ["caret", "up", "arrow", "arrow up"],
"CaretDown": ["caret", "chevron", "down", "arrow", "arrow down"],
"CaretLeft": ["caret", "chevron", "left", "arrow", "arrow left"],
"CaretRight": ["caret", "chevron", "right", "arrow", "arrow right"],
"CaretUp": ["caret", "chevron", "up", "arrow", "arrow up"],
"Category": ["category", "menu", "apps", "applications", "app"],
"Chart": ["chart", "graph", "statistics", "diagram"],
"Chat": ["chat", "message", "messages", "comment", "comments"],
"ChevronDown": ["chevron", "down", "arrow"],
"ChevronLeft": ["chevron", "left", "arrow"],
"ChevronUp": ["chevron", "up", "arrow"],
"ChevronRight": ["chevron", "right", "arrow"],
"ChevronDownCircle": ["round", "circle", "chevron", "down", "arrow"],
"ChevronLeftCircle": ["round", "circle", "chevron", "left", "arrow"],
"ChevronUpCircle": ["round", "circle", "chevron", "up", "arrow"],
"ChevronRightCircle": ["round", "chevron", "right", "arrow"],
"ChevronDown": ["chevron", "caret", "down", "arrow"],
"ChevronLeft": ["chevron", "caret", "left", "arrow"],
"ChevronUp": ["chevron", "caret", "up", "arrow"],
"ChevronRight": ["chevron", "caret", "right", "arrow"],
"ChevronDownCircle": ["round", "caret", "circle", "chevron", "down", "arrow"],
"ChevronLeftCircle": ["round", "caret", "circle", "chevron", "left", "arrow"],
"ChevronUpCircle": ["round", "caret", "circle", "chevron", "up", "arrow"],
"ChevronRightCircle": ["round", "caret", "chevron", "right", "arrow"],
"CloseSquare": [
"close",
"cancel",
Expand Down
Loading

0 comments on commit efeaa5b

Please sign in to comment.