Skip to content

Commit 041dcfa

Browse files
authored
refactor: update font color (#955)
* refactor: update font color * refactor: code style
1 parent df189c0 commit 041dcfa

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

_packages/@karrotmarket/gatsby-theme-website-global/src/components/home/HeroSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ const Text = styled('div', {
129129

130130
'@md': {
131131
fontSize: rem(28),
132-
lineHeight: "1.5",
133-
}
132+
lineHeight: '1.5',
133+
},
134134
},
135135
});
136136

_packages/@karrotmarket/gatsby-theme-website-global/src/components/home/MockupSection.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,15 @@ const PhoneMockup: { [key in PhoneMockupType]: React.FC } = {
4141
PhoneMockupChat,
4242
};
4343

44-
type MockupIconType = 'Keyword' | 'Location' | 'Reservation' | 'Write' | 'Search' | 'MakeAnOffer' | 'Chat' | 'MeetUp';
44+
type MockupIconType =
45+
| 'Keyword'
46+
| 'Location'
47+
| 'Reservation'
48+
| 'Write'
49+
| 'Search'
50+
| 'MakeAnOffer'
51+
| 'Chat'
52+
| 'MeetUp';
4553
const MockupIcon: { [key in MockupIconType]: React.FC } = {
4654
Keyword: KeywordIcon,
4755
Location: LocationIcon,
@@ -80,7 +88,7 @@ const MockupSection: React.FC<MockupSectionProps> = ({ content }) => {
8088
/>
8189
<Grid>
8290
{content.items.map((info, i) => {
83-
console.log(info?.icon)
91+
console.log(info?.icon);
8492
const Icon = MockupIcon[info?.icon as MockupIconType];
8593
return (
8694
// rome-ignore lint/suspicious/noArrayIndexKey: will be removed soon
@@ -190,14 +198,14 @@ const InfoContainer = styled('div', {
190198
alignItems: 'center',
191199
},
192200

193-
'svg': {
201+
svg: {
194202
width: rem(24),
195203
height: rem(24),
196204
opacity: 0.6,
197205
marginRight: rem(4),
198-
"path": {
206+
path: {
199207
fill: vars.$scale.color.gray900,
200-
}
208+
},
201209
},
202210
});
203211

about.daangn.com/src/components/blogPostPage/PostBodyCtaButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const Button = styled('button', {
4646
border: 'none',
4747
borderRadius: rem(6),
4848
backgroundColor: vars.$scale.color.carrot500,
49-
color: vars.$scale.color.gray100,
49+
color: vars.$scale.color.gray00,
5050
fontWeight: 'bold',
5151
fontSize: '$body2',
5252
cursor: 'pointer',

0 commit comments

Comments
 (0)