Skip to content

Commit

Permalink
feat(btn): fix small issues
Browse files Browse the repository at this point in the history
Signed-off-by: captain-Akshay <[email protected]>
  • Loading branch information
captain-Akshay committed Mar 4, 2024
1 parent 04eef8e commit b457921
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/custom/Feedback/style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
CHINESE_SILVER,
CULTURED,
DARK_JUNGLE_GREEN,
DARK_KEPPEL,
DARK_PRIMARY_COLOR,
DARK_SLATE_GRAY,
KEPPEL,
Expand Down Expand Up @@ -144,7 +145,10 @@ export const FeedbackSubmitButton = styled(Button)<SubmitProp>(({ isOpen }) => (
height: '2.25rem',
textTransform: 'none',
boxShadow: '0px 1px 8px rgba(0, 0, 0, 0.25)',
backgroundColor: isOpen ? buttonDisabled.main : KEPPEL
backgroundColor: isOpen ? buttonDisabled.main : KEPPEL,
'&:hover': {
backgroundColor: DARK_KEPPEL
}
}));

export const FeedbackButton = styled(Button)<RenderPositionType>(({ theme, renderPosition }) => ({
Expand Down Expand Up @@ -189,7 +193,7 @@ const positionMap: Record<
transform: 'rotate(-90deg) translateY(-50%)'
},
'right-bottom': {
bottom: '5%',
bottom: '10%',
right: '-45px',
transform: 'rotate(-90deg)'
}
Expand Down
1 change: 1 addition & 0 deletions src/theme/colors/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { alpha } from '@mui/material';
* Define the base common colors to derive from
*/
export const KEPPEL = '#00B39F';
export const DARK_KEPPEL = '#00A18F';
export const CARIBBEAN_GREEN = '#00D3A9';
export const TEAL_BLUE = '#477E96';
export const CHARCOAL = '#3C494F';
Expand Down

0 comments on commit b457921

Please sign in to comment.