Skip to content

Commit

Permalink
feat(admin-ui): update tr highlighted background color
Browse files Browse the repository at this point in the history
  • Loading branch information
harryandriyan committed Jul 18, 2022
1 parent f5f766a commit 9a08147
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions admin-ui/app/context/theme/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export const themeConfig = {
darkBlack: {
background: '#303641',
lightBackground: '#989ea7',
fontColor: '#FFFFFF',
menu: {
background: '#323C46',
Expand All @@ -12,6 +13,7 @@ export const themeConfig = {
},
darkBlue: {
background: '#284461',
lightBackground: '#81a8d0',
fontColor: '#FFFFFF',
menu: {
background: '#323C46',
Expand All @@ -23,6 +25,7 @@ export const themeConfig = {
},
lightBlue: {
background: '#9DBDE2',
lightBackground: '#c9def6',
fontColor: '#303641',
menu: {
background: '#274561',
Expand All @@ -34,6 +37,7 @@ export const themeConfig = {
},
lightGreen: {
background: '#3BC391',
lightBackground: '#abebd4',
fontColor: '#303641',
menu: {
background: '#02B774',
Expand Down
2 changes: 0 additions & 2 deletions admin-ui/app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ export const RoutedContent = () => {
setPluginMenus(processRoutes())
}, [])

console.log('pluginMenus', pluginMenus)

return (
<Switch>
<Redirect from="/" to="/home/dashboard" exact />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function ScriptListTable({ scripts, loading, dispatch, permissions }) {
selection: false,
pageSize: pageSize,
rowStyle: (rowData) => ({
backgroundColor: rowData.enabled ? themeColors.background : '#FFF',
backgroundColor: rowData.enabled ? themeColors.lightBackground : '#FFF',
}),
headerStyle: { ...applicationStyle.tableHeaderStyle, ...bgThemeColor },
actionsColumnIndex: -1,
Expand Down

0 comments on commit 9a08147

Please sign in to comment.