Skip to content

Commit

Permalink
Small tweaks (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltoder authored Feb 20, 2025
1 parent 4406a99 commit fe37550
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Game({
useEffect(() => {
setHighlightCards(lastKeptCards?.split("|"));
if (lastKeptCards) {
const timer = setTimeout(() => setHighlightCards(null), 500);
const timer = setTimeout(() => setHighlightCards(null), 300);
return () => clearTimeout(timer);
}
}, [lastKeptCards]);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/GamePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const useStyles = makeStyles((theme) => ({
},
snackbar: {
[theme.breakpoints.down("sm")]: {
bottom: 6,
bottom: 4,
},
},
doneOverlay: {
Expand Down
4 changes: 2 additions & 2 deletions src/themes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const darkTheme = createTheme({
red: "#ffb047",
background: "#262626",
hinted: "rgba(41, 182, 246, 0.25)",
highlight: "rgba(75, 158, 158, 0.3)",
highlight: "#404040",
backColors: [
grey[900],
grey[800],
Expand Down Expand Up @@ -95,7 +95,7 @@ export const lightTheme = createTheme({
red: "#ff0101",
background: "#fff",
hinted: "rgba(3, 169, 244, 0.2)",
highlight: "rgba(255, 234, 0, 0.3)",
highlight: "#fffedc",
backColors: [
indigo[600],
indigo[300],
Expand Down

0 comments on commit fe37550

Please sign in to comment.