Skip to content

Commit a8fd70a

Browse files
committed
feat: station info ui fadein animate (#develop)
1 parent 7ccadae commit a8fd70a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

services/ahhachul.com/src/components/domain/home/stations/trainRealTimes/TrainRealTimes.styled.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { keyframes, type Interpolation, type Theme } from '@emotion/react';
22

33
import { subwayLineHexColors } from '@/constants';
4-
import { mixins } from '@/styles';
4+
import { fadeIn, mixins } from '@/styles';
55

66
export const inner = {
77
position: 'relative',
@@ -24,6 +24,7 @@ export const thickBorder = (subwayLineId: number) =>
2424
display: 'flex',
2525
alignItems: 'center',
2626
gap: '4px',
27+
animation: `${fadeIn} 0.8s forwards`,
2728

2829
'& > span': {
2930
color: 'white',
@@ -72,13 +73,15 @@ export const arrivalInfoLabel = [
7273
mixins.flexAlignCenter,
7374
({ colors: { white, primary } }: Theme) => ({
7475
'& > b': {
76+
animation: `${fadeIn} 0.8s forwards`,
7577
color: primary.primary,
7678
fontSize: '20px',
7779
fontWeight: 700,
7880
marginRight: '6px',
7981
},
8082

8183
'& > span': {
84+
animation: `${fadeIn} 0.8s forwards`,
8285
position: 'relative',
8386
top: '0.5px',
8487
color: white,
@@ -135,4 +138,5 @@ export const listWrap = {
135138
position: 'relative',
136139
padding: '20px',
137140
borderTop: '1px solid rgba(255, 255, 255, 0.12)',
141+
minHeight: '85.19px',
138142
} as Interpolation<Theme>;

0 commit comments

Comments
 (0)