Skip to content

Commit

Permalink
Merge pull request #134 from simplitrac/edit-expense-buttons
Browse files Browse the repository at this point in the history
changed buttom colors
  • Loading branch information
squrki authored Sep 8, 2024
2 parents 07076f4 + b1c18e0 commit 2ba1705
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ button, .custom-button {
}

button:hover, .custom-button:hover {
background-color: var(--primary-hover);
background-color: red;
}

/* buttons on edit page */
Expand Down Expand Up @@ -164,11 +164,11 @@ form input:focus, form select:focus {

/* Delete Button */
.delete-button {
background-color: var(--error-color);
background-color: #999993;
}

.delete-button:hover {
background-color: var(--error-hover);
background-color: #999993;
}
.transaction-edit-row {
display: flex;
Expand Down
9 changes: 5 additions & 4 deletions client/src/config/theme.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { extendTheme } from '@chakra-ui/react'
import { background, extendTheme } from '@chakra-ui/react'

const theme = extendTheme({
config: {
Expand All @@ -7,7 +7,7 @@ const theme = extendTheme({
},
colors: {
primary: {
main: '#1B263B', //home page buttons
main: '#1b263b', //home page buttons
hover: '#0056b3',
},
text: '#495057',
Expand Down Expand Up @@ -101,14 +101,15 @@ const theme = extendTheme({
},
variants: {
solid: {
bg: 'primary.main',
bg: '#415a77',
color: 'white',
_hover: {
bg: 'primary.hover',
bg: '#999993',
},
},
delete: {
bg: 'error.main',
background: '#999993',
color: 'white',
_hover: {
bg: 'error.hover',
Expand Down

0 comments on commit 2ba1705

Please sign in to comment.