Skip to content

Commit

Permalink
fix(app-board): update game rules overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
rams23 committed Feb 22, 2021
1 parent dbf5b66 commit 8278262
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Icon from '../Icon';
import Spinner from '../Spinner';
import Typography from '../Typography';

export type Variants = 'default' | 'clear' | 'secondary';
export type Variants = 'default' | 'clear' | 'secondary' | 'clearBold';

export const StyledButton = styled('button')<{ variant: Variants }>`
height: 40px;
Expand Down Expand Up @@ -42,6 +42,12 @@ export const StyledButton = styled('button')<{ variant: Variants }>`
color: 'white',
p: '2px 16px',
},
clearBold: {
bg: 'transparent',
color: 'white',
p: '2px 16px',
fontWeight: '600',
},
secondary: {
bg: 'transparent',
p: '4px 16px',
Expand Down
44 changes: 16 additions & 28 deletions packages/game-app/src/assets/images/cards/rule-card-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions packages/game-app/src/assets/images/cards/rule-card-5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const RulesOverlay: React.FC<Props> = ({ isOpen, close }) => {
<RulesOverlayContent>
<Box>
<Button
variant="clear"
variant="clearBold"
onClick={close}
leftIconHover={<ArrowHoverIcon />}
leftIcon={<ArrowIcon />}
Expand Down

0 comments on commit 8278262

Please sign in to comment.