Skip to content

Commit 225523e

Browse files
committed
feat(ui): use euiTheme border styling
1 parent 2a76750 commit 225523e

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

electron/renderer/components/game/game-hands.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ const GameHand: React.FC<GameHandProps> = (props: GameHandProps): ReactNode => {
7878
width: '250px',
7979
height: '100%',
8080
padding: '5px',
81-
border: '1px solid',
82-
borderColor: euiTheme.border.color,
83-
borderRadius: '5px',
81+
border: euiTheme.border.thin,
82+
borderRadius: euiTheme.border.radius.small,
8483
}}
8584
>
8685
<div css={{ userSelect: 'none' }}>

electron/renderer/components/game/game-roundtime.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,8 @@ const GameTimeDisplay: React.FC<GameTimeDisplayProps> = (
134134
position: 'relative',
135135
width: '100%',
136136
height: '25px',
137-
border: '1px solid',
138-
borderColor: euiTheme.border.color,
139-
borderRadius: '5px',
137+
border: euiTheme.border.thin,
138+
borderRadius: euiTheme.border.radius.small,
140139
userSelect: 'none',
141140
}}
142141
>

electron/renderer/components/grid/grid-item.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ export const GridItem: React.FC<GridItemProps> = memo(
294294
cursor: 'nwse-resize',
295295
touchAction: 'none',
296296
backgroundColor: euiTheme.colors.mediumShade,
297-
borderRadius: 5,
297+
borderRadius: euiTheme.border.radius.medium,
298298
},
299299
});
300300
}, [euiTheme]);

0 commit comments

Comments
 (0)