Skip to content

Commit

Permalink
Merge pull request #156 from daithihearn/daithi_ui
Browse files Browse the repository at this point in the history
Minor UI improvements
  • Loading branch information
daithihearn authored Mar 12, 2023
2 parents 0f82547 + fd5af7d commit 892dced
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "5.5.8",
"version": "5.5.9",
"description": "React frontend for the Cards 110",
"author": "Daithi Hearn",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"short_name": "Cards 110",
"name": "Cards 110",
"version": "5.5.8",
"version": "5.5.9",
"icons": [
{
"src": "./assets/favicon.png",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Game/Actions/Buying.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Buying = () => {
<Button
type="button"
onClick={toggleReadyToBuy}
color={isMyGo || !readyToBuy ? "primary" : "info"}>
color={isMyGo || !readyToBuy ? "primary" : "secondary"}>
<b>
{isMyGo || !readyToBuy
? "Keep Cards"
Expand Down
4 changes: 2 additions & 2 deletions src/components/Game/Actions/PlayCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import parseError from "utils/ErrorUtils"
import { RoundStatus } from "model/Round"

const WaitingForYourTurn = () => (
<Button disabled type="button" color="info">
<b>Wait for your turn...</b>
<Button disabled type="button" color="secondary">
<b>Waiting for your turn...</b>
</Button>
)

Expand Down
2 changes: 1 addition & 1 deletion src/components/Game/Actions/SelectSuit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { SelectableCard } from "model/Cards"
import parseError from "utils/ErrorUtils"

const WaitingForSuit = () => (
<Button disabled type="button" color="info">
<Button disabled type="button" color="secondary">
<b>Waiting for suit...</b>
</Button>
)
Expand Down
6 changes: 4 additions & 2 deletions src/components/Game/PlayerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ const PlayerCard: React.FC<PlayerRowI> = ({ player, className }) => {
<CardImg
alt={profile.name}
src={`/cards/thumbnails/${
isCurrentPlayer ? "yellow" : "blank_grey"
}_back.png`}
isCurrentPlayer
? "yellow_back.png"
: "blank_card_outline.png"
}`}
className={`img-center thumbnail_size`}
/>

Expand Down
6 changes: 4 additions & 2 deletions src/pages/Game/_game.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@

.overlay-score {
font-weight: bolder;
font-size: large;
margin-top: 3rem;
font-size: 1.6em;
margin-top: 2.6rem;
mix-blend-mode: lighten;
color: white;
}

.overlay-dealer-chip {
Expand Down

0 comments on commit 892dced

Please sign in to comment.