-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds new theme colors and more icons. Renames expo-colors.css t…
…o expo-theme.css BREAKING CHANGE: This renames expo-colors.css to expo-theme.css.
- Loading branch information
Showing
20 changed files
with
357 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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 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,29 @@ | ||
import React from "react"; | ||
import { IconProps } from "../../types"; | ||
export default function BadgeIcon(props: IconProps) { | ||
const { title = "Badge-icon", size, color, width, height, titleId } = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size || width || "20px"} | ||
height={size || height || "20px"} | ||
role="img" | ||
aria-labelledby={titleId} | ||
{...props} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<path | ||
d="M10 1a.91.91 0 00-.91.91v3.635a.91.91 0 101.82 0V1.91A.91.91 0 0010 1z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M11.818 3.727h6.364c1.004 0 1.818.814 1.818 1.818v11.819a1.818 1.818 0 01-1.818 1.818H1.818A1.818 1.818 0 010 17.364V5.545c0-1.004.814-1.818 1.818-1.818h6.364v1.818a1.818 1.818 0 003.636 0V3.727zm5.455 7.728h-6.364v-.91h6.364v.91zm-6.364 1.818h6.364v-.91h-6.364v.91zm6.364 1.818h-6.364v-.91h6.364v.91zM5.91 9.18c2.204 0 2.039 2.952 1.06 4.42.979 0 2.123.965 2.12 1.944H2.728c0-.979 1.142-1.944 2.121-1.944-.979-1.469-1.142-4.42 1.062-4.42z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains 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,25 @@ | ||
import React from "react"; | ||
import { IconProps } from "../../types"; | ||
export default function BranchIcon(props: IconProps) { | ||
const { title = "Branch-icon", size, color, width, height, titleId } = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size || width || "20px"} | ||
height={size || height || "20px"} | ||
role="img" | ||
aria-labelledby={titleId} | ||
{...props} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M14.189 2.874a.938.938 0 100 1.876.938.938 0 000-1.876zm-2.813.938a2.812 2.812 0 015.394-1.117c.205.473.275.993.205 1.504a2.813 2.813 0 01-1.849 2.265v.785a3.125 3.125 0 01-3.125 3.125h-5a1.25 1.25 0 00-1.25 1.25v1.41a2.813 2.813 0 11-1.875 0v-6.57a2.812 2.812 0 111.875 0V8.76c.394-.172.82-.26 1.25-.26h5a1.25 1.25 0 001.25-1.25v-.785a2.813 2.813 0 01-1.875-2.652zM4.814 14.749a.938.938 0 100 1.875.938.938 0 000-1.875zM3.876 3.812a.938.938 0 111.875 0 .938.938 0 01-1.875 0z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains 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 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 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,49 @@ | ||
import React from "react"; | ||
import { IconProps } from "../../types"; | ||
export default function PushToDeviceIcon(props: IconProps) { | ||
const { | ||
title = "Push-to-device-icon", | ||
size, | ||
color, | ||
width, | ||
height, | ||
titleId, | ||
} = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 20 22" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size || width || "20px"} | ||
height={size || height || "20px"} | ||
role="img" | ||
aria-labelledby={titleId} | ||
{...props} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<path | ||
d="M8.164 7.57v6.816l5.453-3.407L8.164 7.57z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
<path | ||
d="M8.164 11.079H1.148" | ||
stroke={color || "var(--expo-theme-icon-default)"} | ||
strokeWidth={1.503} | ||
strokeLinecap="round" | ||
/> | ||
<path | ||
d="M4.69 13.35v4.545a2.272 2.272 0 002.272 2.272h7.951a2.272 2.272 0 002.272-2.272V4.263a2.272 2.272 0 00-2.272-2.272H6.962A2.272 2.272 0 004.69 4.263v4.544" | ||
stroke={color || "var(--expo-theme-icon-default)"} | ||
strokeWidth={2.005} | ||
/> | ||
<rect | ||
x={8.164} | ||
y={1.056} | ||
width={6.014} | ||
height={3.007} | ||
rx={1.002} | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains 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,35 @@ | ||
import React from "react"; | ||
import { IconProps } from "../../types"; | ||
export default function QrCodeIcon(props: IconProps) { | ||
const { title = "Qr-code-icon", size, color, width, height, titleId } = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size || width || "20px"} | ||
height={size || height || "20px"} | ||
role="img" | ||
aria-labelledby={titleId} | ||
{...props} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<g | ||
opacity={0.91} | ||
clipPath="url(#qr-code-icon_svg__qr-code-icon_svg__clip0)" | ||
stroke={color || "var(--expo-theme-icon-default)"} | ||
> | ||
<path strokeWidth={2} d="M1.018 14h5v5h-5zm0-13h5v5h-5zM14 1h5v5h-5z" /> | ||
<path d="M.443 12V8.5H8.5V5H10" /> | ||
<path d="M2.5 10v1.5h4V10M7.995.5H11.5V3H8m3.5 4V4.5m-.998 15.52L10.5 14.5H8.49l.003-2.997h2.01V8.496H13.5V11m-5.002 9l.002-4m4-1.95v5.45h7v-5.45" /> | ||
<path d="M12 12.5h2.5v2h3v-2h2V8" /> | ||
<path d="M15.5 8v2.5H18m-.5 7.5v-1.5h-3V18" /> | ||
</g> | ||
<defs> | ||
<clipPath id="qr-code-icon_svg__qr-code-icon_svg__clip0"> | ||
<path fill="#fff" d="M0 0h20v20H0z" /> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
} |
This file contains 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,32 @@ | ||
import React from "react"; | ||
import { IconProps } from "../../types"; | ||
export default function QuestionIcon(props: IconProps) { | ||
const { | ||
title = "Question-icon", | ||
size, | ||
color, | ||
width, | ||
height, | ||
titleId, | ||
} = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size || width || "20px"} | ||
height={size || height || "20px"} | ||
role="img" | ||
aria-labelledby={titleId} | ||
{...props} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M1 10a9 9 0 1118 0 9 9 0 01-18 0zm8.106 3.606a1.09 1.09 0 00-.314.793c0 .31.105.575.314.793.21.215.518.322.923.322.397 0 .695-.11.896-.329.2-.218.3-.48.3-.786 0-.31-.1-.571-.3-.786-.2-.218-.5-.328-.896-.328-.405 0-.713.107-.923.321zm.52-7.417a3.34 3.34 0 01.731-.075c.447 0 .789.094 1.026.28a.863.863 0 01.362.711c0 .224-.036.433-.11.63a1.806 1.806 0 01-.327.54c-.146.163-.278.3-.397.41a7.358 7.358 0 01-.471.39 18.68 18.68 0 00-.397.307 35.448 35.448 0 00-.499.424 9.725 9.725 0 01-.171.164 1.004 1.004 0 00-.15.164c-.019.036-.05.09-.096.164a.485.485 0 00-.082.198l-.034.219a2.28 2.28 0 00-.014.273c0 .32.048.593.144.82.095.224.214.335.355.335l.219.007c.146.005.264.007.355.007.265 0 .397-.139.397-.417 0-.055-.003-.148-.007-.28a10.48 10.48 0 01-.007-.342.86.86 0 01.15-.485 1.75 1.75 0 01.404-.417 7.92 7.92 0 01.54-.383c.2-.132.399-.278.595-.438.2-.159.382-.334.546-.526.164-.191.297-.428.397-.71.105-.288.157-.602.157-.944 0-.697-.262-1.24-.786-1.627-.52-.392-1.208-.588-2.064-.588-.994 0-1.725.17-2.195.513-.465.341-.697.777-.697 1.305 0 .278.089.531.267.76.182.227.458.34.827.34.187 0 .303-.024.348-.074.046-.055.069-.19.069-.404V6.395l.143-.069a2.11 2.11 0 01.472-.137z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains 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,39 @@ | ||
import React from "react"; | ||
import { IconProps } from "../../types"; | ||
export default function RefreshIcon(props: IconProps) { | ||
const { title = "Refresh-icon", size, color, width, height, titleId } = props; | ||
return ( | ||
<svg | ||
viewBox="0 0 20 20" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
width={size || width || "20px"} | ||
height={size || height || "20px"} | ||
role="img" | ||
aria-labelledby={titleId} | ||
{...props} | ||
> | ||
{title ? <title id={titleId}>{title}</title> : null} | ||
<path | ||
d="M17.143 9.524v-.762a4 4 0 00-4-4H6.667" | ||
stroke={color || "var(--expo-theme-icon-default)"} | ||
strokeWidth={2} | ||
strokeLinecap="round" | ||
/> | ||
<path | ||
d="M7.619 9.524V0L0 4.535l7.619 4.989z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
<path | ||
d="M2.857 10.476v.762a4 4 0 004 4h6.476" | ||
stroke={color || "var(--expo-theme-icon-default)"} | ||
strokeWidth={2} | ||
strokeLinecap="round" | ||
/> | ||
<path | ||
d="M12.381 10.476V20L20 15.465l-7.619-4.989z" | ||
fill={color || "var(--expo-theme-icon-default)"} | ||
/> | ||
</svg> | ||
); | ||
} |
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.