Skip to content

Commit

Permalink
Sync icons (#561)
Browse files Browse the repository at this point in the history
* s

* Create hip-kiwis-train.md
  • Loading branch information
jkbktl committed May 15, 2024
1 parent 808c087 commit 6260801
Show file tree
Hide file tree
Showing 29 changed files with 809 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/hip-kiwis-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@status-im/icons": minor
---

Sync icons
2 changes: 2 additions & 0 deletions packages/icons/scripts/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ if (isCancel(personalAccessToken)) {
const FILE_KEY = 'qLLuMLfpGxK9OfpIavwsmK'

const NODE_IDS = {
// currently generates only set of size 20
// https://github.com/status-im/status-web/issues/466
'3239:987': 'icons',
'3227:1083': 'social',
// '942:77': 'reactions',
Expand Down
58 changes: 52 additions & 6 deletions packages/icons/src/bridge-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,58 @@ const SvgBridgeIcon = createIcon(props => {
focusable={false}
aria-hidden={true}
>
<path
fill={props.color}
fillRule="evenodd"
d="M6.75 2.4h-.485l-.101.472v.002l-.005.018a3.776 3.776 0 0 1-.145.43c-.117.29-.31.674-.61 1.057C4.813 5.13 3.793 5.9 2 5.9v1.2c2.207 0 3.56-.978 4.347-1.98l.053-.068V10.4H2v1.2h4.4v4.9h1.2v-4.9h4.8v4.9h1.2v-4.9H18v-1.2h-4.4V5.052l.053.069C14.44 6.12 15.793 7.1 18 7.1V5.9c-1.793 0-2.815-.772-3.403-1.52a4.396 4.396 0 0 1-.732-1.4l-.024-.088-.004-.018v-.002l-.102-.472h-1.454l-.113.454v.003l-.006.02a5.694 5.694 0 0 1-.125.389 5.77 5.77 0 0 1-.43.932C11.197 4.9 10.665 5.4 10 5.4s-1.196-.499-1.607-1.202a5.78 5.78 0 0 1-.555-1.322l-.005-.019v-.003h-.001L7.718 2.4H6.75Zm5.65 2.782C11.906 5.885 11.129 6.6 10 6.6s-1.906-.715-2.4-1.418V10.4h4.8V5.182Z"
clipRule="evenodd"
/>
<g clipPath="url(#bridge-icon_svg__a)">
<mask
id="bridge-icon_svg__c"
width={20}
height={20}
x={0}
y={0}
maskUnits="userSpaceOnUse"
style={{
maskType: 'alpha',
}}
>
<path
fill="url(#bridge-icon_svg__b)"
d="M0 0h20v20H0z"
transform="matrix(0 -1 -1 0 20 20)"
/>
</mask>
<g mask="url(#bridge-icon_svg__c)">
<path stroke={props.color} d="M4.5 10s1-5 5.5-5 5.5 5 5.5 5" />
</g>
<circle
cx={4.5}
cy={12.5}
r={2.5}
stroke={props.color}
strokeWidth={1.2}
/>
<circle
cx={15.5}
cy={12.5}
r={2.5}
stroke={props.color}
strokeWidth={1.2}
/>
</g>
<defs>
<linearGradient
id="bridge-icon_svg__b"
x1={13}
x2={15.5}
y1={4.5}
y2={8}
gradientUnits="userSpaceOnUse"
>
<stop stopColor={props.color} stopOpacity={0} />
<stop offset={1} stopColor={props.color} />
</linearGradient>
<clipPath id="bridge-icon_svg__a">
<path fill="#fff" d="M0 0h20v20H0z" />
</clipPath>
</defs>
</svg>
)
})
Expand Down
47 changes: 47 additions & 0 deletions packages/icons/src/chile-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import { createIcon } from '../lib/create-icon'

const SvgChileIcon = createIcon(props => {
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
width={props.width}
height={props.height}
fill="none"
viewBox="0 0 20 20"
focusable={false}
aria-hidden={true}
>
<g clipPath="url(#chile-icon_svg__a)">
<g clipPath="url(#chile-icon_svg__b)">
<path
fill="#1F429B"
d="M7.222 2.778h-5A2.222 2.222 0 0 0 0 5v5h7.222V2.778ZM4.632 7.94l-1.046-.76-1.045.76.399-1.229-1.046-.76h1.293l.4-1.229.399 1.23h1.292l-1.046.76.4 1.228Z"
/>
<path
fill="#EEE"
d="M17.778 2.778H7.222V10H20V5a2.222 2.222 0 0 0-2.222-2.222Z"
/>
<path
fill="#D42D27"
d="M0 10v5c0 1.227.995 2.222 2.222 2.222h15.556A2.222 2.222 0 0 0 20 15v-5H0Z"
/>
<path
fill="#fff"
d="m3.986 5.951-.4-1.229-.4 1.23h-1.29l1.045.76-.4 1.228 1.046-.76 1.046.76-.4-1.229 1.046-.76H3.986Z"
/>
</g>
</g>
<defs>
<clipPath id="chile-icon_svg__a">
<path fill="#fff" d="M0 0h20v20H0z" />
</clipPath>
<clipPath id="chile-icon_svg__b">
<path fill="#fff" d="M0 0h20v20H0z" />
</clipPath>
</defs>
</svg>
)
})

export default SvgChileIcon
25 changes: 25 additions & 0 deletions packages/icons/src/code-data-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { createIcon } from '../lib/create-icon'

const SvgCodeDataIcon = createIcon(props => {
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
width={props.width}
height={props.height}
fill="none"
viewBox="0 0 20 20"
focusable={false}
aria-hidden={true}
>
<path
fill={props.color}
fillRule="evenodd"
d="m2.076 9.576 4.5-4.5.848.848L3.348 10l4.076 4.076-.848.848-4.5-4.5L1.65 10l.425-.424Zm15.849 0-4.5-4.5-.849.848L16.652 10l-4.076 4.076.848.848 4.5-4.5.425-.424-.424-.424Z"
clipRule="evenodd"
/>
</svg>
)
})

export default SvgCodeDataIcon
28 changes: 28 additions & 0 deletions packages/icons/src/colombia-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { createIcon } from '../lib/create-icon'

const SvgColombiaIcon = createIcon(props => {
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
width={props.width}
height={props.height}
fill="none"
viewBox="0 0 20 20"
focusable={false}
aria-hidden={true}
>
<path
fill="#FBD116"
d="M17.778 2.778H2.222A2.222 2.222 0 0 0 0 5v5h20V5a2.222 2.222 0 0 0-2.222-2.222Z"
/>
<path fill="#22408C" d="M0 10h20v3.889H0V10Z" />
<path
fill="#CE2028"
d="M0 15c0 1.227.995 2.222 2.222 2.222h15.556A2.222 2.222 0 0 0 20 15v-1.111H0V15Z"
/>
</svg>
)
})

export default SvgColombiaIcon
25 changes: 25 additions & 0 deletions packages/icons/src/connect-icon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { createIcon } from '../lib/create-icon'

const SvgConnectIcon = createIcon(props => {
return (
<svg
{...props}
xmlns="http://www.w3.org/2000/svg"
width={props.width}
height={props.height}
fill="none"
viewBox="0 0 20 20"
focusable={false}
aria-hidden={true}
>
<path
fill={props.color}
fillRule="evenodd"
d="M15.374 4.626a3.6 3.6 0 0 0-5.091 0L8.867 6.04l.849.849 1.414-1.414a2.4 2.4 0 1 1 3.394 3.394l-1.414 1.414.848.848 1.415-1.414a3.6 3.6 0 0 0 0-5.091Zm-9.9 6.505 1.414-1.414-.848-.848-1.414 1.414a3.6 3.6 0 0 0 5.09 5.091l1.415-1.414-.848-.849-1.415 1.414a2.4 2.4 0 1 1-3.394-3.394Zm2.829 1.415 4.242-4.243-.848-.849-4.243 4.243.849.849Z"
clipRule="evenodd"
/>
</svg>
)
})

export default SvgConnectIcon
2 changes: 1 addition & 1 deletion packages/icons/src/dapps-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SvgDappsIcon = createIcon(props => {
<path
fill={props.color}
fillRule="evenodd"
d="M3.347 6.2C3.163 7.148 3.1 8.381 3.1 10c0 1.619.063 2.852.247 3.8.182.942.474 1.547.89 1.963.415.416 1.021.708 1.963.89.948.184 2.18.247 3.8.247 1.619 0 2.852-.063 3.8-.247.942-.182 1.547-.474 1.963-.89.416-.416.708-1.021.89-1.963.184-.948.247-2.181.247-3.8 0-1.619-.063-2.852-.247-3.8-.182-.942-.474-1.547-.89-1.963-.416-.416-1.021-.708-1.963-.89-.948-.184-2.181-.247-3.8-.247-1.62 0-2.852.063-3.8.247-.942.182-1.548.474-1.963.89-.416.416-.708 1.021-.89 1.963Zm2.625-4.03C7.039 1.962 8.369 1.9 10 1.9c1.63 0 2.96.062 4.028.269 1.074.208 1.937.573 2.584 1.22.646.646 1.011 1.51 1.22 2.583.206 1.067.268 2.397.268 4.028 0 1.631-.062 2.96-.269 4.028-.208 1.074-.573 1.937-1.22 2.584-.646.647-1.51 1.011-2.583 1.22-1.067.206-2.397.268-4.028.268-1.631 0-2.96-.062-4.028-.269-1.074-.208-1.937-.572-2.584-1.22-.647-.646-1.011-1.51-1.22-2.583C1.963 12.961 1.9 11.631 1.9 10c0-1.631.062-2.96.269-4.028.208-1.074.572-1.937 1.22-2.584.646-.646 1.509-1.011 2.583-1.22Zm.354 2.813a4.21 4.21 0 0 1 .924-.082c.31 0 .63.015.924.082.307.07.662.215.947.53.28.31.383.665.43.938.044.264.049.548.049.8s-.005.536-.05.8a1.82 1.82 0 0 1-.429.937 1.78 1.78 0 0 1-.947.53 4.211 4.211 0 0 1-.924.083c-.31 0-.63-.015-.924-.082a1.78 1.78 0 0 1-.947-.53 1.82 1.82 0 0 1-.43-.938 4.916 4.916 0 0 1-.049-.8c0-.252.005-.536.05-.8a1.82 1.82 0 0 1 .429-.937c.285-.316.64-.46.947-.53ZM7.25 6.1c-.284 0-.497.016-.656.052-.16.036-.258.092-.324.165a.634.634 0 0 0-.137.332 3.81 3.81 0 0 0-.033.601c0 .25.007.445.033.6.026.155.07.259.137.333.066.073.165.129.324.165.16.036.372.052.656.052.284 0 .497-.016.656-.052.16-.036.258-.092.324-.165a.634.634 0 0 0 .137-.332A3.81 3.81 0 0 0 8.4 7.25c0-.25-.007-.445-.033-.6a.634.634 0 0 0-.137-.333c-.066-.073-.165-.129-.324-.165A3.074 3.074 0 0 0 7.25 6.1Zm5.5-1.2c-.31 0-.63.015-.924.082a1.78 1.78 0 0 0-.947.53 1.82 1.82 0 0 0-.43.938c-.044.264-.049.548-.049.8s.005.536.05.8c.046.273.15.628.429.937.285.316.64.46.947.53.293.068.613.083.924.083.31 0 .63-.015.924-.082a1.78 1.78 0 0 0 .947-.53 1.82 1.82 0 0 0 .43-.938c.044-.264.049-.548.049-.8s-.005-.536-.05-.8a1.82 1.82 0 0 0-.429-.937 1.78 1.78 0 0 0-.947-.53 4.21 4.21 0 0 0-.924-.083Zm-.656 1.252c.16-.036.372-.052.656-.052.284 0 .496.016.656.052.16.036.258.092.324.165a.632.632 0 0 1 .137.332c.026.156.033.351.033.601s-.007.445-.033.6a.635.635 0 0 1-.137.333c-.066.073-.165.129-.324.165-.16.036-.372.052-.656.052-.284 0-.496-.016-.656-.052-.16-.036-.258-.092-.324-.165a.635.635 0 0 1-.137-.332 3.806 3.806 0 0 1-.033-.601c0-.25.007-.445.033-.6a.635.635 0 0 1 .137-.333c.066-.073.165-.129.324-.165Zm-5.768 4.33a4.21 4.21 0 0 1 .924-.082c.31 0 .63.015.924.082.307.07.662.215.947.53.28.31.383.665.43.938.044.264.049.549.049.8 0 .252-.005.537-.05.8a1.82 1.82 0 0 1-.429.937 1.78 1.78 0 0 1-.947.53 4.211 4.211 0 0 1-.924.083c-.31 0-.63-.015-.924-.082a1.78 1.78 0 0 1-.947-.53 1.82 1.82 0 0 1-.43-.938 4.916 4.916 0 0 1-.049-.8c0-.252.005-.537.05-.8a1.82 1.82 0 0 1 .429-.937c.285-.316.64-.46.947-.53ZM7.25 11.6a3.07 3.07 0 0 0-.656.052c-.16.037-.258.092-.324.165a.634.634 0 0 0-.137.332 3.81 3.81 0 0 0-.033.601c0 .25.007.445.033.6.026.155.07.259.137.333.066.073.165.129.324.165.16.036.372.052.656.052.284 0 .497-.016.656-.052.16-.037.258-.092.324-.165a.634.634 0 0 0 .137-.332 3.81 3.81 0 0 0 .033-.601c0-.25-.007-.445-.033-.6a.634.634 0 0 0-.137-.333c-.066-.073-.165-.129-.324-.165a3.07 3.07 0 0 0-.656-.052Zm5.5-1.2c-.31 0-.63.015-.924.082a1.78 1.78 0 0 0-.947.53 1.82 1.82 0 0 0-.43.938 4.973 4.973 0 0 0-.049.8c0 .252.005.537.05.8.046.273.15.628.429.937.285.316.64.46.947.53.293.068.613.083.924.083.31 0 .63-.015.924-.082a1.78 1.78 0 0 0 .947-.53 1.82 1.82 0 0 0 .43-.938c.044-.264.049-.549.049-.8a4.85 4.85 0 0 0-.05-.8 1.82 1.82 0 0 0-.429-.937 1.78 1.78 0 0 0-.947-.53 4.21 4.21 0 0 0-.924-.083Zm-.656 1.252a3.07 3.07 0 0 1 .656-.052c.284 0 .496.016.656.052.16.037.258.092.324.165a.632.632 0 0 1 .137.332c.026.156.033.352.033.601 0 .25-.007.445-.033.6a.635.635 0 0 1-.137.333c-.066.073-.165.129-.324.165a3.07 3.07 0 0 1-.656.052 3.07 3.07 0 0 1-.656-.052c-.16-.037-.258-.092-.324-.165a.635.635 0 0 1-.137-.332 3.807 3.807 0 0 1-.033-.601c0-.25.007-.445.033-.6a.635.635 0 0 1 .137-.333c.066-.073.165-.129.324-.165Z"
d="M7.499 2.9A2.6 2.6 0 0 0 4.9 5.5v1h1.2v-1a1.4 1.4 0 0 1 1.399-1.4H10.5c1.37 0 2.716.457 3.713 1.399C15.202 6.433 15.9 7.89 15.9 10c0 2.376-.708 3.819-1.674 4.677-.979.87-2.316 1.223-3.726 1.223H7.499A1.4 1.4 0 0 1 6.1 14.5v-1H4.9v1a2.6 2.6 0 0 0 2.599 2.6H10.5c1.59 0 3.253-.397 4.524-1.527C16.308 14.431 17.1 12.623 17.1 10c0-2.391-.802-4.182-2.063-5.374C13.784 3.443 12.129 2.9 10.5 2.9H7.499ZM3.5 10.6h7V9.4h-7v1.2Z"
clipRule="evenodd"
/>
</svg>
Expand Down

0 comments on commit 6260801

Please sign in to comment.