mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-26 14:15:52 +00:00
feat: dark mode (tabs and request tabs)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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)',
|
||||
|
||||
Reference in New Issue
Block a user