From 0c59e7ceeb83dda406092ea8c1b64cdc273f67e9 Mon Sep 17 00:00:00 2001 From: SSlime-s <62363188+SSlime-s@users.noreply.github.com> Date: Fri, 24 May 2024 14:42:25 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20theme=20=E3=82=92=20index.?= =?UTF-8?q?tsx=20=E3=81=8B=E3=82=89=20re-export=20=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/client/app/routes/tmp.tsx | 2 +- apps/client/app/routes/tokens.tsx | 4 +--- apps/client/app/theme/card.ts | 2 +- apps/client/app/theme/index.tsx | 3 +++ 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 apps/client/app/theme/index.tsx diff --git a/apps/client/app/routes/tmp.tsx b/apps/client/app/routes/tmp.tsx index 8d52eef..2f759ae 100644 --- a/apps/client/app/routes/tmp.tsx +++ b/apps/client/app/routes/tmp.tsx @@ -1,4 +1,4 @@ -import colors from "@/theme/colors"; +import { colors } from "@/theme"; import { css } from "@emotion/react"; import styled from "@emotion/styled"; diff --git a/apps/client/app/routes/tokens.tsx b/apps/client/app/routes/tokens.tsx index cbcc4ac..331cd56 100644 --- a/apps/client/app/routes/tokens.tsx +++ b/apps/client/app/routes/tokens.tsx @@ -1,6 +1,4 @@ -import card from "@/theme/card"; -import colors from "@/theme/colors"; -import typography from "@/theme/typography"; +import { card, colors, typography } from "@/theme"; import { css } from "@emotion/react"; import styled from "@emotion/styled"; import type React from "react"; diff --git a/apps/client/app/theme/card.ts b/apps/client/app/theme/card.ts index a4eeaae..33bc9c2 100644 --- a/apps/client/app/theme/card.ts +++ b/apps/client/app/theme/card.ts @@ -1,4 +1,4 @@ -import colors from "@/theme/colors"; +import { colors } from "@/theme"; export default { default: { diff --git a/apps/client/app/theme/index.tsx b/apps/client/app/theme/index.tsx new file mode 100644 index 0000000..181b130 --- /dev/null +++ b/apps/client/app/theme/index.tsx @@ -0,0 +1,3 @@ +export { default as card } from "@/theme/card"; +export { default as colors } from "@/theme/colors"; +export { default as typography } from "@/theme/typography";