fix button color issue
This commit is contained in:
parent
50c6dd92a6
commit
20352f1d72
@ -183,7 +183,7 @@ const Home: FunctionComponent<{ initial?: number }> = ({ initial = 0 }) => {
|
||||
<Button
|
||||
context={context}
|
||||
text={context.texts.NewGame}
|
||||
color={context.themeManager.theme.primary}
|
||||
color={context.themeManager.theme.holeColor}
|
||||
onClick={newGameClick}
|
||||
/>
|
||||
);
|
||||
@ -313,7 +313,7 @@ const Home: FunctionComponent<{ initial?: number }> = ({ initial = 0 }) => {
|
||||
(game?.state === "playing" || game?.state === "initial") && (
|
||||
<Button
|
||||
context={context}
|
||||
color={context.themeManager.theme.primary}
|
||||
color={context.themeManager.theme.holeColor}
|
||||
text={context.texts.Leave}
|
||||
onClick={leaveGame}
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user