Skip to content

Commit

Permalink
♻️ theme を index.tsx から re-export するように
Browse files Browse the repository at this point in the history
  • Loading branch information
SSlime-s committed May 24, 2024
1 parent 917494d commit 0c59e7c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/client/app/routes/tmp.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import colors from "@/theme/colors";
import { colors } from "@/theme";
import { css } from "@emotion/react";
import styled from "@emotion/styled";

Expand Down
4 changes: 1 addition & 3 deletions apps/client/app/routes/tokens.tsx
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
2 changes: 1 addition & 1 deletion apps/client/app/theme/card.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import colors from "@/theme/colors";
import { colors } from "@/theme";

export default {
default: {
Expand Down
3 changes: 3 additions & 0 deletions apps/client/app/theme/index.tsx
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 0c59e7c

Please sign in to comment.