From 2939d17694a859d0ab140e909f09598045143f17 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Sat, 17 Aug 2024 00:16:23 +0800 Subject: [PATCH] chore: fix icon view box and color --- .svgrrc.js | 5 ++++- components/icons/add-cute-re.tsx | 6 +++++- components/icons/announcement-cute-fi.tsx | 6 +++++- components/icons/arrow-right-circle-cute-fi.tsx | 6 +++++- components/icons/arrow-right-up-cute-re.tsx | 6 +++++- components/icons/back-2-cute-re.tsx | 6 +++++- components/icons/bug-cute-re.tsx | 6 +++++- components/icons/celebrate-cute-re.tsx | 6 +++++- components/icons/check-circle-cute-re.tsx | 6 +++++- components/icons/check-circle-filled.tsx | 6 +++++- components/icons/check-filled.tsx | 6 +++++- components/icons/close-cute-re.tsx | 6 +++++- components/icons/copy-2-cute-re.tsx | 6 +++++- components/icons/delete-2-cute-re.tsx | 6 +++++- components/icons/discord-cute-fi.tsx | 6 +++++- components/icons/download-2-cute-re.tsx | 6 +++++- components/icons/exit-cute-re.tsx | 6 +++++- components/icons/external-link-cute-re.tsx | 6 +++++- components/icons/eye-2-cute-re.tsx | 6 +++++- components/icons/eye-close-cute-re.tsx | 6 +++++- components/icons/fast-forward-cute-re.tsx | 6 +++++- components/icons/file-import-cute-re.tsx | 6 +++++- components/icons/file-upload-cute-re.tsx | 6 +++++- components/icons/flag-1-cute-fi.tsx | 6 +++++- components/icons/forward-2-cute-re.tsx | 6 +++++- components/icons/fullscreen-2-cute-re.tsx | 6 +++++- components/icons/gift-cute-re.tsx | 6 +++++- components/icons/github-2-cute-fi.tsx | 6 +++++- components/icons/github-cute-fi.tsx | 6 +++++- components/icons/google-cute-fi.tsx | 6 +++++- components/icons/grid-2-cute-re.tsx | 6 +++++- components/icons/grid-cute-re.tsx | 6 +++++- components/icons/heart-cute-fi.tsx | 6 +++++- components/icons/hotkey-cute-re.tsx | 6 +++++- components/icons/information-cute-re-copy.tsx | 6 +++++- components/icons/information-cute-re.tsx | 6 +++++- components/icons/layout-leftbar-close-cute-re.tsx | 6 +++++- components/icons/layout-leftbar-open-cute-re.tsx | 6 +++++- components/icons/left-cute-fi.tsx | 6 +++++- components/icons/line-cute-re.tsx | 6 +++++- components/icons/link-cute-re.tsx | 6 +++++- components/icons/list-check-3-cute-re.tsx | 6 +++++- components/icons/list-check-cute-re.tsx | 6 +++++- components/icons/list-collapse-cute-fi.tsx | 6 +++++- components/icons/list-expansion-cute-fi.tsx | 6 +++++- components/icons/loading-3-cute-re.tsx | 6 +++++- components/icons/magic-2-cute-re.tsx | 6 +++++- components/icons/mic-cute-fi.tsx | 6 +++++- components/icons/palette-cute-re.tsx | 6 +++++- components/icons/paper-cute-fi.tsx | 6 +++++- components/icons/pause-cute-fi.tsx | 6 +++++- components/icons/pause-cute-re.tsx | 6 +++++- components/icons/pic-cute-fi.tsx | 6 +++++- components/icons/play-cute-fi.tsx | 6 +++++- components/icons/play-cute-re.tsx | 6 +++++- components/icons/power-mono.tsx | 4 ++++ components/icons/power-outline.tsx | 4 ++++ components/icons/power.tsx | 4 ++++ components/icons/question-cute-re.tsx | 6 +++++- components/icons/refresh-2-cute-re.tsx | 6 +++++- components/icons/right-cute-fi.tsx | 6 +++++- components/icons/right-cute-re.tsx | 6 +++++- components/icons/round-cute-fi.tsx | 6 +++++- components/icons/round-cute-re.tsx | 6 +++++- components/icons/rss-2-cute-fi.tsx | 6 +++++- components/icons/rss-cute-fi.tsx | 6 +++++- components/icons/sad-cute-re.tsx | 6 +++++- components/icons/search-2-cute-re.tsx | 6 +++++- components/icons/settings-7-cute-re.tsx | 6 +++++- components/icons/share-3-cute-re.tsx | 6 +++++- components/icons/share-forward-cute-re.tsx | 6 +++++- components/icons/social-x-cute-li.tsx | 6 +++++- components/icons/social-x-cute-re.tsx | 6 +++++- components/icons/sparkles-2-cute-re.tsx | 6 +++++- components/icons/sparkles-2-filled.tsx | 6 +++++- components/icons/star-cute-fi.tsx | 6 +++++- components/icons/star-cute-re.tsx | 6 +++++- components/icons/time-cute-re.tsx | 6 +++++- components/icons/twitter-cute-fi.tsx | 6 +++++- components/icons/user-3-cute-re.tsx | 6 +++++- components/icons/user-setting-cute-re.tsx | 6 +++++- components/icons/video-cute-fi.tsx | 6 +++++- components/icons/volume-cute-re.tsx | 6 +++++- components/icons/volume-mute-cute-re.tsx | 6 +++++- components/icons/volume-off-cute-re.tsx | 6 +++++- components/icons/wifi-off-cute-re.tsx | 6 +++++- components/icons/world-2-cute-re.tsx | 6 +++++- components/icons/youtube-cute-fi.tsx | 6 +++++- eslint.config.ts | 6 ++++++ icon-template.js | 2 ++ 90 files changed, 444 insertions(+), 85 deletions(-) diff --git a/.svgrrc.js b/.svgrrc.js index 0977e69..4a77b24 100644 --- a/.svgrrc.js +++ b/.svgrrc.js @@ -1,6 +1,9 @@ module.exports = { + svgProps: { + viewBox: '0 0 24 24', + }, replaceAttrValues: { - '#10161F': 'currentColor', + '#10161F': '{props.color || theme.colors.gray12}', }, plugins: ['@svgr/plugin-jsx'], jsx: { diff --git a/components/icons/add-cute-re.tsx b/components/icons/add-cute-re.tsx index 1bb2b30..0666545 100644 --- a/components/icons/add-cute-re.tsx +++ b/components/icons/add-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgAddCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgAddCuteRe) export default Memo diff --git a/components/icons/announcement-cute-fi.tsx b/components/icons/announcement-cute-fi.tsx index 1100a6d..fccf94e 100644 --- a/components/icons/announcement-cute-fi.tsx +++ b/components/icons/announcement-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgAnnouncementCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgAnnouncementCuteFi) export default Memo diff --git a/components/icons/arrow-right-circle-cute-fi.tsx b/components/icons/arrow-right-circle-cute-fi.tsx index c04ac3f..2ba22a4 100644 --- a/components/icons/arrow-right-circle-cute-fi.tsx +++ b/components/icons/arrow-right-circle-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgArrowRightCircleCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgArrowRightCircleCuteFi) export default Memo diff --git a/components/icons/arrow-right-up-cute-re.tsx b/components/icons/arrow-right-up-cute-re.tsx index 58ecac0..e706e4a 100644 --- a/components/icons/arrow-right-up-cute-re.tsx +++ b/components/icons/arrow-right-up-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgArrowRightUpCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgArrowRightUpCuteRe) export default Memo diff --git a/components/icons/back-2-cute-re.tsx b/components/icons/back-2-cute-re.tsx index 567f25f..b2ec87a 100644 --- a/components/icons/back-2-cute-re.tsx +++ b/components/icons/back-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgBack2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgBack2CuteRe) export default Memo diff --git a/components/icons/bug-cute-re.tsx b/components/icons/bug-cute-re.tsx index bc663a6..1e26361 100644 --- a/components/icons/bug-cute-re.tsx +++ b/components/icons/bug-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgBugCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgBugCuteRe) export default Memo diff --git a/components/icons/celebrate-cute-re.tsx b/components/icons/celebrate-cute-re.tsx index 78566c6..5b3ad3f 100644 --- a/components/icons/celebrate-cute-re.tsx +++ b/components/icons/celebrate-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgCelebrateCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgCelebrateCuteRe) export default Memo diff --git a/components/icons/check-circle-cute-re.tsx b/components/icons/check-circle-cute-re.tsx index 9a6f429..188ab28 100644 --- a/components/icons/check-circle-cute-re.tsx +++ b/components/icons/check-circle-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgCheckCircleCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgCheckCircleCuteRe) export default Memo diff --git a/components/icons/check-circle-filled.tsx b/components/icons/check-circle-filled.tsx index fcadf86..735526d 100644 --- a/components/icons/check-circle-filled.tsx +++ b/components/icons/check-circle-filled.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgCheckCircleFilled(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgCheckCircleFilled) export default Memo diff --git a/components/icons/check-filled.tsx b/components/icons/check-filled.tsx index 317aa1b..4bc83d3 100644 --- a/components/icons/check-filled.tsx +++ b/components/icons/check-filled.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgCheckFilled(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgCheckFilled) export default Memo diff --git a/components/icons/close-cute-re.tsx b/components/icons/close-cute-re.tsx index bc9e7e1..2d9b905 100644 --- a/components/icons/close-cute-re.tsx +++ b/components/icons/close-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgCloseCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgCloseCuteRe) export default Memo diff --git a/components/icons/copy-2-cute-re.tsx b/components/icons/copy-2-cute-re.tsx index ad8ef61..a870873 100644 --- a/components/icons/copy-2-cute-re.tsx +++ b/components/icons/copy-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgCopy2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgCopy2CuteRe) export default Memo diff --git a/components/icons/delete-2-cute-re.tsx b/components/icons/delete-2-cute-re.tsx index 828e733..92dedc8 100644 --- a/components/icons/delete-2-cute-re.tsx +++ b/components/icons/delete-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgDelete2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgDelete2CuteRe) export default Memo diff --git a/components/icons/discord-cute-fi.tsx b/components/icons/discord-cute-fi.tsx index 60622a0..67fe0f4 100644 --- a/components/icons/discord-cute-fi.tsx +++ b/components/icons/discord-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgDiscordCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgDiscordCuteFi) export default Memo diff --git a/components/icons/download-2-cute-re.tsx b/components/icons/download-2-cute-re.tsx index b90b6bd..a19b85a 100644 --- a/components/icons/download-2-cute-re.tsx +++ b/components/icons/download-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgDownload2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgDownload2CuteRe) export default Memo diff --git a/components/icons/exit-cute-re.tsx b/components/icons/exit-cute-re.tsx index 1bf6d62..8972474 100644 --- a/components/icons/exit-cute-re.tsx +++ b/components/icons/exit-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgExitCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgExitCuteRe) export default Memo diff --git a/components/icons/external-link-cute-re.tsx b/components/icons/external-link-cute-re.tsx index 08970ab..0b91ea0 100644 --- a/components/icons/external-link-cute-re.tsx +++ b/components/icons/external-link-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgExternalLinkCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgExternalLinkCuteRe) export default Memo diff --git a/components/icons/eye-2-cute-re.tsx b/components/icons/eye-2-cute-re.tsx index 74fb051..74c05ed 100644 --- a/components/icons/eye-2-cute-re.tsx +++ b/components/icons/eye-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgEye2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgEye2CuteRe) export default Memo diff --git a/components/icons/eye-close-cute-re.tsx b/components/icons/eye-close-cute-re.tsx index 02ab068..64a662a 100644 --- a/components/icons/eye-close-cute-re.tsx +++ b/components/icons/eye-close-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgEyeCloseCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgEyeCloseCuteRe) export default Memo diff --git a/components/icons/fast-forward-cute-re.tsx b/components/icons/fast-forward-cute-re.tsx index 8bd2758..fc4807c 100644 --- a/components/icons/fast-forward-cute-re.tsx +++ b/components/icons/fast-forward-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgFastForwardCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgFastForwardCuteRe) export default Memo diff --git a/components/icons/file-import-cute-re.tsx b/components/icons/file-import-cute-re.tsx index 8002bfd..e79ee6d 100644 --- a/components/icons/file-import-cute-re.tsx +++ b/components/icons/file-import-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgFileImportCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgFileImportCuteRe) export default Memo diff --git a/components/icons/file-upload-cute-re.tsx b/components/icons/file-upload-cute-re.tsx index 0e8f86e..15bbaeb 100644 --- a/components/icons/file-upload-cute-re.tsx +++ b/components/icons/file-upload-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgFileUploadCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgFileUploadCuteRe) export default Memo diff --git a/components/icons/flag-1-cute-fi.tsx b/components/icons/flag-1-cute-fi.tsx index ef0bd92..72cad37 100644 --- a/components/icons/flag-1-cute-fi.tsx +++ b/components/icons/flag-1-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgFlag1CuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgFlag1CuteFi) export default Memo diff --git a/components/icons/forward-2-cute-re.tsx b/components/icons/forward-2-cute-re.tsx index 90b7bc6..ef4d470 100644 --- a/components/icons/forward-2-cute-re.tsx +++ b/components/icons/forward-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgForward2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgForward2CuteRe) export default Memo diff --git a/components/icons/fullscreen-2-cute-re.tsx b/components/icons/fullscreen-2-cute-re.tsx index 651b5fa..17b05a7 100644 --- a/components/icons/fullscreen-2-cute-re.tsx +++ b/components/icons/fullscreen-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgFullscreen2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgFullscreen2CuteRe) export default Memo diff --git a/components/icons/gift-cute-re.tsx b/components/icons/gift-cute-re.tsx index b376306..0e2e7d2 100644 --- a/components/icons/gift-cute-re.tsx +++ b/components/icons/gift-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgGiftCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgGiftCuteRe) export default Memo diff --git a/components/icons/github-2-cute-fi.tsx b/components/icons/github-2-cute-fi.tsx index 04b23dd..7b8b9e0 100644 --- a/components/icons/github-2-cute-fi.tsx +++ b/components/icons/github-2-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgGithub2CuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgGithub2CuteFi) export default Memo diff --git a/components/icons/github-cute-fi.tsx b/components/icons/github-cute-fi.tsx index 762ee42..e68f9af 100644 --- a/components/icons/github-cute-fi.tsx +++ b/components/icons/github-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgGithubCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgGithubCuteFi) export default Memo diff --git a/components/icons/google-cute-fi.tsx b/components/icons/google-cute-fi.tsx index 58c4a95..fcf3093 100644 --- a/components/icons/google-cute-fi.tsx +++ b/components/icons/google-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgGoogleCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgGoogleCuteFi) export default Memo diff --git a/components/icons/grid-2-cute-re.tsx b/components/icons/grid-2-cute-re.tsx index 27b1f32..381a446 100644 --- a/components/icons/grid-2-cute-re.tsx +++ b/components/icons/grid-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgGrid2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgGrid2CuteRe) export default Memo diff --git a/components/icons/grid-cute-re.tsx b/components/icons/grid-cute-re.tsx index 917a549..b3c3d64 100644 --- a/components/icons/grid-cute-re.tsx +++ b/components/icons/grid-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgGridCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgGridCuteRe) export default Memo diff --git a/components/icons/heart-cute-fi.tsx b/components/icons/heart-cute-fi.tsx index 1163c55..f8039fd 100644 --- a/components/icons/heart-cute-fi.tsx +++ b/components/icons/heart-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgHeartCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgHeartCuteFi) export default Memo diff --git a/components/icons/hotkey-cute-re.tsx b/components/icons/hotkey-cute-re.tsx index be0cb00..e83afa9 100644 --- a/components/icons/hotkey-cute-re.tsx +++ b/components/icons/hotkey-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgHotkeyCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgHotkeyCuteRe) export default Memo diff --git a/components/icons/information-cute-re-copy.tsx b/components/icons/information-cute-re-copy.tsx index 557a6b1..e313aa6 100644 --- a/components/icons/information-cute-re-copy.tsx +++ b/components/icons/information-cute-re-copy.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgInformationCuteReCopy(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgInformationCuteReCopy) export default Memo diff --git a/components/icons/information-cute-re.tsx b/components/icons/information-cute-re.tsx index 5f5214f..95079f4 100644 --- a/components/icons/information-cute-re.tsx +++ b/components/icons/information-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgInformationCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgInformationCuteRe) export default Memo diff --git a/components/icons/layout-leftbar-close-cute-re.tsx b/components/icons/layout-leftbar-close-cute-re.tsx index c366c9c..7eca15a 100644 --- a/components/icons/layout-leftbar-close-cute-re.tsx +++ b/components/icons/layout-leftbar-close-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgLayoutLeftbarCloseCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgLayoutLeftbarCloseCuteRe) export default Memo diff --git a/components/icons/layout-leftbar-open-cute-re.tsx b/components/icons/layout-leftbar-open-cute-re.tsx index 38b4371..c961f7e 100644 --- a/components/icons/layout-leftbar-open-cute-re.tsx +++ b/components/icons/layout-leftbar-open-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgLayoutLeftbarOpenCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgLayoutLeftbarOpenCuteRe) export default Memo diff --git a/components/icons/left-cute-fi.tsx b/components/icons/left-cute-fi.tsx index 6163f92..17c5c9e 100644 --- a/components/icons/left-cute-fi.tsx +++ b/components/icons/left-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgLeftCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgLeftCuteFi) export default Memo diff --git a/components/icons/line-cute-re.tsx b/components/icons/line-cute-re.tsx index 607d210..010a0c2 100644 --- a/components/icons/line-cute-re.tsx +++ b/components/icons/line-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgLineCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgLineCuteRe) export default Memo diff --git a/components/icons/link-cute-re.tsx b/components/icons/link-cute-re.tsx index 05822d5..4da4841 100644 --- a/components/icons/link-cute-re.tsx +++ b/components/icons/link-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgLinkCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgLinkCuteRe) export default Memo diff --git a/components/icons/list-check-3-cute-re.tsx b/components/icons/list-check-3-cute-re.tsx index 3c26e25..4b19403 100644 --- a/components/icons/list-check-3-cute-re.tsx +++ b/components/icons/list-check-3-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgListCheck3CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgListCheck3CuteRe) export default Memo diff --git a/components/icons/list-check-cute-re.tsx b/components/icons/list-check-cute-re.tsx index 92878f3..8d96fa0 100644 --- a/components/icons/list-check-cute-re.tsx +++ b/components/icons/list-check-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgListCheckCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgListCheckCuteRe) export default Memo diff --git a/components/icons/list-collapse-cute-fi.tsx b/components/icons/list-collapse-cute-fi.tsx index c008f85..dfcd2f7 100644 --- a/components/icons/list-collapse-cute-fi.tsx +++ b/components/icons/list-collapse-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgListCollapseCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgListCollapseCuteFi) export default Memo diff --git a/components/icons/list-expansion-cute-fi.tsx b/components/icons/list-expansion-cute-fi.tsx index 3ab3f25..7d5478c 100644 --- a/components/icons/list-expansion-cute-fi.tsx +++ b/components/icons/list-expansion-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgListExpansionCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgListExpansionCuteFi) export default Memo diff --git a/components/icons/loading-3-cute-re.tsx b/components/icons/loading-3-cute-re.tsx index a9ab1c7..f0b136c 100644 --- a/components/icons/loading-3-cute-re.tsx +++ b/components/icons/loading-3-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Circle, Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgLoading3CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgLoading3CuteRe) export default Memo diff --git a/components/icons/magic-2-cute-re.tsx b/components/icons/magic-2-cute-re.tsx index c76005d..d519c79 100644 --- a/components/icons/magic-2-cute-re.tsx +++ b/components/icons/magic-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgMagic2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgMagic2CuteRe) export default Memo diff --git a/components/icons/mic-cute-fi.tsx b/components/icons/mic-cute-fi.tsx index 669b34d..ee2e26d 100644 --- a/components/icons/mic-cute-fi.tsx +++ b/components/icons/mic-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgMicCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgMicCuteFi) export default Memo diff --git a/components/icons/palette-cute-re.tsx b/components/icons/palette-cute-re.tsx index 6e42089..d742566 100644 --- a/components/icons/palette-cute-re.tsx +++ b/components/icons/palette-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPaletteCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPaletteCuteRe) export default Memo diff --git a/components/icons/paper-cute-fi.tsx b/components/icons/paper-cute-fi.tsx index bc6837a..b99ab1b 100644 --- a/components/icons/paper-cute-fi.tsx +++ b/components/icons/paper-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPaperCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPaperCuteFi) export default Memo diff --git a/components/icons/pause-cute-fi.tsx b/components/icons/pause-cute-fi.tsx index 200d566..ef14007 100644 --- a/components/icons/pause-cute-fi.tsx +++ b/components/icons/pause-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPauseCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPauseCuteFi) export default Memo diff --git a/components/icons/pause-cute-re.tsx b/components/icons/pause-cute-re.tsx index 153031a..2e7f230 100644 --- a/components/icons/pause-cute-re.tsx +++ b/components/icons/pause-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPauseCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPauseCuteRe) export default Memo diff --git a/components/icons/pic-cute-fi.tsx b/components/icons/pic-cute-fi.tsx index 0b62592..ab90db3 100644 --- a/components/icons/pic-cute-fi.tsx +++ b/components/icons/pic-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPicCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPicCuteFi) export default Memo diff --git a/components/icons/play-cute-fi.tsx b/components/icons/play-cute-fi.tsx index 4afd4d7..fa22b45 100644 --- a/components/icons/play-cute-fi.tsx +++ b/components/icons/play-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPlayCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPlayCuteFi) export default Memo diff --git a/components/icons/play-cute-re.tsx b/components/icons/play-cute-re.tsx index 60f8aaa..a08a0b7 100644 --- a/components/icons/play-cute-re.tsx +++ b/components/icons/play-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPlayCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgPlayCuteRe) export default Memo diff --git a/components/icons/power-mono.tsx b/components/icons/power-mono.tsx index 8628659..543bd8a 100644 --- a/components/icons/power-mono.tsx +++ b/components/icons/power-mono.tsx @@ -1,8 +1,12 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPowerMono(props: SvgProps) { + const { + theme, + } = useStyles() return } const Memo = memo(SvgPowerMono) diff --git a/components/icons/power-outline.tsx b/components/icons/power-outline.tsx index 82afb46..0e7996f 100644 --- a/components/icons/power-outline.tsx +++ b/components/icons/power-outline.tsx @@ -1,8 +1,12 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPowerOutline(props: SvgProps) { + const { + theme, + } = useStyles() return } const Memo = memo(SvgPowerOutline) diff --git a/components/icons/power.tsx b/components/icons/power.tsx index ccb3412..8935d10 100644 --- a/components/icons/power.tsx +++ b/components/icons/power.tsx @@ -1,8 +1,12 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgPower(props: SvgProps) { + const { + theme, + } = useStyles() return } const Memo = memo(SvgPower) diff --git a/components/icons/question-cute-re.tsx b/components/icons/question-cute-re.tsx index b5a016a..ad08d5c 100644 --- a/components/icons/question-cute-re.tsx +++ b/components/icons/question-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgQuestionCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgQuestionCuteRe) export default Memo diff --git a/components/icons/refresh-2-cute-re.tsx b/components/icons/refresh-2-cute-re.tsx index 242cd33..c3eda6a 100644 --- a/components/icons/refresh-2-cute-re.tsx +++ b/components/icons/refresh-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRefresh2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRefresh2CuteRe) export default Memo diff --git a/components/icons/right-cute-fi.tsx b/components/icons/right-cute-fi.tsx index df244a8..0933cb2 100644 --- a/components/icons/right-cute-fi.tsx +++ b/components/icons/right-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRightCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRightCuteFi) export default Memo diff --git a/components/icons/right-cute-re.tsx b/components/icons/right-cute-re.tsx index 0bc8f7c..72df80f 100644 --- a/components/icons/right-cute-re.tsx +++ b/components/icons/right-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRightCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRightCuteRe) export default Memo diff --git a/components/icons/round-cute-fi.tsx b/components/icons/round-cute-fi.tsx index 2c918c3..c76fd0e 100644 --- a/components/icons/round-cute-fi.tsx +++ b/components/icons/round-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Circle } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRoundCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRoundCuteFi) export default Memo diff --git a/components/icons/round-cute-re.tsx b/components/icons/round-cute-re.tsx index 5c5db44..c0c0bff 100644 --- a/components/icons/round-cute-re.tsx +++ b/components/icons/round-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Circle } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRoundCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRoundCuteRe) export default Memo diff --git a/components/icons/rss-2-cute-fi.tsx b/components/icons/rss-2-cute-fi.tsx index 0003383..90c1640 100644 --- a/components/icons/rss-2-cute-fi.tsx +++ b/components/icons/rss-2-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRss2CuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRss2CuteFi) export default Memo diff --git a/components/icons/rss-cute-fi.tsx b/components/icons/rss-cute-fi.tsx index 5be2c7d..eddaae9 100644 --- a/components/icons/rss-cute-fi.tsx +++ b/components/icons/rss-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgRssCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgRssCuteFi) export default Memo diff --git a/components/icons/sad-cute-re.tsx b/components/icons/sad-cute-re.tsx index 731c9f7..ba2ce66 100644 --- a/components/icons/sad-cute-re.tsx +++ b/components/icons/sad-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSadCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSadCuteRe) export default Memo diff --git a/components/icons/search-2-cute-re.tsx b/components/icons/search-2-cute-re.tsx index 6aeb611..857e489 100644 --- a/components/icons/search-2-cute-re.tsx +++ b/components/icons/search-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSearch2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSearch2CuteRe) export default Memo diff --git a/components/icons/settings-7-cute-re.tsx b/components/icons/settings-7-cute-re.tsx index f39ec39..25a82c4 100644 --- a/components/icons/settings-7-cute-re.tsx +++ b/components/icons/settings-7-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSettings7CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSettings7CuteRe) export default Memo diff --git a/components/icons/share-3-cute-re.tsx b/components/icons/share-3-cute-re.tsx index ac779d5..dc89c47 100644 --- a/components/icons/share-3-cute-re.tsx +++ b/components/icons/share-3-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgShare3CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgShare3CuteRe) export default Memo diff --git a/components/icons/share-forward-cute-re.tsx b/components/icons/share-forward-cute-re.tsx index f4f6c8e..4cd332d 100644 --- a/components/icons/share-forward-cute-re.tsx +++ b/components/icons/share-forward-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgShareForwardCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgShareForwardCuteRe) export default Memo diff --git a/components/icons/social-x-cute-li.tsx b/components/icons/social-x-cute-li.tsx index 5975db4..6cace43 100644 --- a/components/icons/social-x-cute-li.tsx +++ b/components/icons/social-x-cute-li.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSocialXCuteLi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSocialXCuteLi) export default Memo diff --git a/components/icons/social-x-cute-re.tsx b/components/icons/social-x-cute-re.tsx index 53b6d1f..77db2d5 100644 --- a/components/icons/social-x-cute-re.tsx +++ b/components/icons/social-x-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSocialXCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSocialXCuteRe) export default Memo diff --git a/components/icons/sparkles-2-cute-re.tsx b/components/icons/sparkles-2-cute-re.tsx index 10c985b..4e6444a 100644 --- a/components/icons/sparkles-2-cute-re.tsx +++ b/components/icons/sparkles-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSparkles2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSparkles2CuteRe) export default Memo diff --git a/components/icons/sparkles-2-filled.tsx b/components/icons/sparkles-2-filled.tsx index c1ecd6b..9729fd0 100644 --- a/components/icons/sparkles-2-filled.tsx +++ b/components/icons/sparkles-2-filled.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgSparkles2Filled(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgSparkles2Filled) export default Memo diff --git a/components/icons/star-cute-fi.tsx b/components/icons/star-cute-fi.tsx index 2b32c29..a250114 100644 --- a/components/icons/star-cute-fi.tsx +++ b/components/icons/star-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgStarCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgStarCuteFi) export default Memo diff --git a/components/icons/star-cute-re.tsx b/components/icons/star-cute-re.tsx index 81bc059..a358ecc 100644 --- a/components/icons/star-cute-re.tsx +++ b/components/icons/star-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgStarCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgStarCuteRe) export default Memo diff --git a/components/icons/time-cute-re.tsx b/components/icons/time-cute-re.tsx index 2aedc47..8ccb8c5 100644 --- a/components/icons/time-cute-re.tsx +++ b/components/icons/time-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgTimeCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgTimeCuteRe) export default Memo diff --git a/components/icons/twitter-cute-fi.tsx b/components/icons/twitter-cute-fi.tsx index af84e19..b06f16b 100644 --- a/components/icons/twitter-cute-fi.tsx +++ b/components/icons/twitter-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgTwitterCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgTwitterCuteFi) export default Memo diff --git a/components/icons/user-3-cute-re.tsx b/components/icons/user-3-cute-re.tsx index d1fb829..5a4984c 100644 --- a/components/icons/user-3-cute-re.tsx +++ b/components/icons/user-3-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgUser3CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgUser3CuteRe) export default Memo diff --git a/components/icons/user-setting-cute-re.tsx b/components/icons/user-setting-cute-re.tsx index a3101ce..252db5e 100644 --- a/components/icons/user-setting-cute-re.tsx +++ b/components/icons/user-setting-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgUserSettingCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgUserSettingCuteRe) export default Memo diff --git a/components/icons/video-cute-fi.tsx b/components/icons/video-cute-fi.tsx index 232242a..a9e547b 100644 --- a/components/icons/video-cute-fi.tsx +++ b/components/icons/video-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgVideoCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgVideoCuteFi) export default Memo diff --git a/components/icons/volume-cute-re.tsx b/components/icons/volume-cute-re.tsx index 05462e1..22a3fd2 100644 --- a/components/icons/volume-cute-re.tsx +++ b/components/icons/volume-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgVolumeCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgVolumeCuteRe) export default Memo diff --git a/components/icons/volume-mute-cute-re.tsx b/components/icons/volume-mute-cute-re.tsx index 09d26ff..b5cb308 100644 --- a/components/icons/volume-mute-cute-re.tsx +++ b/components/icons/volume-mute-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgVolumeMuteCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgVolumeMuteCuteRe) export default Memo diff --git a/components/icons/volume-off-cute-re.tsx b/components/icons/volume-off-cute-re.tsx index baff43d..daa73c3 100644 --- a/components/icons/volume-off-cute-re.tsx +++ b/components/icons/volume-off-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgVolumeOffCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgVolumeOffCuteRe) export default Memo diff --git a/components/icons/wifi-off-cute-re.tsx b/components/icons/wifi-off-cute-re.tsx index fc1da17..25ed13f 100644 --- a/components/icons/wifi-off-cute-re.tsx +++ b/components/icons/wifi-off-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgWifiOffCuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgWifiOffCuteRe) export default Memo diff --git a/components/icons/world-2-cute-re.tsx b/components/icons/world-2-cute-re.tsx index 1cc8446..d321177 100644 --- a/components/icons/world-2-cute-re.tsx +++ b/components/icons/world-2-cute-re.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgWorld2CuteRe(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgWorld2CuteRe) export default Memo diff --git a/components/icons/youtube-cute-fi.tsx b/components/icons/youtube-cute-fi.tsx index cd8b9a0..afc8b85 100644 --- a/components/icons/youtube-cute-fi.tsx +++ b/components/icons/youtube-cute-fi.tsx @@ -1,9 +1,13 @@ import { memo } from 'react' import type { SvgProps } from 'react-native-svg' import Svg, { Path } from 'react-native-svg' +import { useStyles } from 'react-native-unistyles' function SvgYoutubeCuteFi(props: SvgProps) { - return + const { + theme, + } = useStyles() + return } const Memo = memo(SvgYoutubeCuteFi) export default Memo diff --git a/eslint.config.ts b/eslint.config.ts index 185a399..bc96e4a 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -17,4 +17,10 @@ export default defineConfig( '@typescript-eslint/return-await': ['warn', 'always'], }, }, + { + files: ['components/icons/*.tsx'], + rules: { + 'unused-imports/no-unused-vars': 'off', + }, + }, ) diff --git a/icon-template.js b/icon-template.js index 508686b..2e80a16 100644 --- a/icon-template.js +++ b/icon-template.js @@ -1,10 +1,12 @@ function template(variables, { tpl }) { return tpl` ${variables.imports} + import { useStyles } from 'react-native-unistyles' ${variables.interfaces} function ${variables.componentName}(${variables.props}) { + const { theme } = useStyles() return ( ${variables.jsx} )