Skip to content

Commit

Permalink
🎨 #303 テキストのフォントサイズをFigmaのデザインに合わせて修正
Browse files Browse the repository at this point in the history
  • Loading branch information
keitakn committed Aug 18, 2024
1 parent 37e13be commit 3a11e14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/_components/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ export const IconButton = ({
{showRepeatIcon != null && <RepeatIcon />}
{showRandomIcon != null && <RandomIcon />}
{showCatIcon != null && <CatIcon />}
<Text className="text-lg text-orange-900">{displayText}</Text>
<Text className="text-right font-inter text-lg font-black text-orange-900">
{displayText}

Check warning on line 112 in src/app/_components/IconButton.tsx

View check run for this annotation

Codecov / codecov/patch

src/app/_components/IconButton.tsx#L107-L112

Added lines #L107 - L112 were not covered by tests
</Text>
</Button>
);
};

Check warning on line 116 in src/app/_components/IconButton.tsx

View check run for this annotation

Codecov / codecov/patch

src/app/_components/IconButton.tsx#L116

Added line #L116 was not covered by tests
7 changes: 7 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@ const config: Config = {
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
plugins: [],
theme: {
extend: {
fontFamily: {
inter: ['Inter', 'sans-serif'],
},
},
},

Check warning on line 16 in tailwind.config.ts

View check run for this annotation

Codecov / codecov/patch

tailwind.config.ts#L10-L16

Added lines #L10 - L16 were not covered by tests
};
export default config;

0 comments on commit 3a11e14

Please sign in to comment.