feat: dark mode (tabs and request tabs)

This commit is contained in:
Anoop M D
2022-10-23 03:21:23 +05:30
parent 4718c77e3d
commit 23400a77f8
15 changed files with 82 additions and 58 deletions

View File

@@ -57,6 +57,10 @@ const darkTheme = {
url: {
bg: '#3D3D3D',
icon: 'rgb(204, 204, 204)'
},
dragbar: {
border: '#444',
activeBorder: '#8a8a8a'
}
},
@@ -99,25 +103,29 @@ const darkTheme = {
},
tabs: {
color: '',
bg: '',
borromBorder: '',
active: {
color: '',
bg: '',
borromBorder: ''
color: '#ccc',
border: '#569cd6'
}
},
requestTabs: {
color: '',
bg: '',
borromBorder: '',
color: '#ccc',
bg: '#2A2D2F',
borromBorder: '#444',
icon: {
color: '#9f9f9f',
hoverColor: 'rgb(204, 204, 204)',
hoverBg: '#1e1e1e'
},
active: {
color: '',
bg: '',
borromBorder: ''
bg: '#3D3D3D'
},
shortTab: {
color: '#ccc',
bg: 'transparent',
hoverColor: '#ccc',
hoverBg: '#3D3D3D'
}
},
@@ -126,7 +134,10 @@ const darkTheme = {
},
table: {
border: '',
border: '#333',
thead : {
color: 'rgb(204, 204, 204)'
}
},
'primary-text': '#ffffff',

View File

@@ -57,6 +57,10 @@ const lightTheme = {
url: {
bg: '#f3f3f3',
icon: '#515151'
},
dragbar: {
border: '#efefef',
activeBorder: 'rgb(200, 200, 200)'
}
},
@@ -99,24 +103,29 @@ const lightTheme = {
},
tabs: {
color: '',
bg: '',
borromBorder: '',
active: {
color: '',
bg: '',
borromBorder: ''
color: '${(props) => props.theme.tabs.active.color}',
border: '#546de5'
}
},
requestTabs: {
color: '',
bg: '',
borromBorder: '',
color: 'rgb(52, 52, 52)',
bg: '#f7f7f7',
borromBorder: '#efefef',
icon: {
color: '#9f9f9f',
hoverColor: 'rgb(76 76 76)',
hoverBg: 'rgb(234, 234, 234)'
},
active: {
color: '',
bg: '',
borromBorder: ''
bg: '#e7e7e7'
},
shortTab: {
color: 'rgb(117 117 117)',
bg: 'white',
hoverColor: 'rgb(76 76 76)',
hoverBg: '#eaeaea'
}
},
@@ -125,7 +134,10 @@ const lightTheme = {
},
table: {
border: '',
border: '#efefef',
thead : {
color: '#616161'
}
},
'primary-text': 'rgb(52 52 52)',