This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
(Feature) add fuelIndicator icon
#46
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,7 @@ yalc.lock | |
| /storybook-static | ||
|
|
||
| # misc | ||
| /.idea | ||
| .DS_Store | ||
| .env.local | ||
| .env.development.local | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| import React from 'react'; | ||
|
|
||
| export default { | ||
| sm: ( | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| width="16" | ||
| height="16" | ||
| viewBox="0 0 16 16"> | ||
| <g fill="none" fillRule="evenodd"> | ||
| <path d="M0 0H16V16H0z" /> | ||
| <g fill="#B2B5B2"> | ||
| <path | ||
| d="M9.358 4.231L8.245 7.368c-.054.127-.118.244-.192.347-.871 1.245-2.834.06-2.141-1.292.04-.077.085-.152.137-.225l.08-.106.01-.012 2.176-2.36c.416-.507 1.199-.068 1.043.511z" | ||
| transform="translate(1 2)" | ||
| /> | ||
| <path | ||
| fillRule="nonzero" | ||
| d="M7.004 0C3.128 0 0 3.247 0 7.23c0 1.121.253 2.208.73 3.203.165.347.516.568.901.568h10.746c.385 0 .736-.221.902-.568.477-.996.73-2.083.73-3.202 0-3.985-3.128-7.23-7.005-7.23zm0 2c2.756 0 5.005 2.334 5.005 5.23L12 7.537c-.023.405-.091.802-.202 1.188l-.09.276H2.299l-.088-.276C2.071 8.243 2 7.742 2 7.23 2 4.335 4.25 2 7.004 2z" | ||
| transform="translate(1 2)" | ||
| /> | ||
| </g> | ||
| </g> | ||
| </svg> | ||
| ), | ||
| md: ( | ||
| <svg | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| width="24" | ||
| height="24" | ||
| viewBox="0 0 24 24"> | ||
| <g fill="none" fillRule="evenodd"> | ||
| <path d="M0 0H24V24H0z" /> | ||
| <path | ||
| fill="#B2B5B2" | ||
| d="M11.182 12.552c-.128.117-.242.247-.342.387-1.046 1.478 1.086 3.218 2.325 1.898.118-.125.222-.264.311-.412l2.245-4.28c.306-.512-.353-1.05-.795-.648l-3.744 3.055" | ||
| /> | ||
| <path | ||
| fill="#B2B5B2" | ||
| fillRule="nonzero" | ||
| d="M12 4C6.476 4 2 8.477 2 14c0 1.555.364 3.064 1.051 4.445.17.34.516.554.895.554h16.107c.38 0 .726-.214.896-.554.686-1.378 1.05-2.888 1.05-4.445 0-5.523-4.476-10-10-10zm0 2c4.418 0 8 3.581 8 8l-.008.338c-.038.9-.228 1.775-.56 2.603l-.025.058H4.592l-.025-.059C4.194 16.007 4 15.015 4 14c0-4.418 3.582-8 8-8z" | ||
| /> | ||
| </g> | ||
| </svg> | ||
| ), | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,6 +33,7 @@ import eye from './images/eye'; | |
| import eyeOff from './images/eyeOff'; | ||
| import filledCross from './images/filledCross'; | ||
| import fingerPrint from './images/fingerPrint'; | ||
| import fuelIndicator from './images/fuelIndicator'; | ||
| import getInTouch from './images/getInTouch'; | ||
| import home from './images/home'; | ||
| import info from './images/info'; | ||
|
|
@@ -72,7 +73,7 @@ import userEdit from './images/userEdit'; | |
| import wallet from './images/wallet'; | ||
| import { rgba } from 'polished'; | ||
|
|
||
| import theme, { Theme, ThemeColors, ThemeIconSize } from '../../theme'; | ||
| import theme, { ThemeColors, ThemeIconSize } from '../../theme'; | ||
|
|
||
| const StyledIcon = styled.span<{ color?: ThemeColors }>` | ||
| .icon-color { | ||
|
|
@@ -121,6 +122,7 @@ const icons = { | |
| eyeOff, | ||
| filledCross, | ||
| fingerPrint, | ||
| fuelIndicator, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you take a look at the Theme warning? |
||
| getInTouch, | ||
| home, | ||
| info, | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this used for?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jetbrains IDEs configuration files