[MM-37686] Invert colours for teams button to "fix" starkness on light backgrounds (#5649)
* invert colours for teams button "fixes" the starkness of the button when using a light sidebar background colour * update snapshots * white background for team image
This commit is contained in:
parent
1a518111b6
commit
c6cf1f480d
4 changed files with 9 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ exports[`SwitchTeamsButton should match snapshot 1`] = `
|
|||
style={
|
||||
Object {
|
||||
"alignItems": "center",
|
||||
"backgroundColor": "#ffffff",
|
||||
"backgroundColor": "rgba(255,255,255,0.24)",
|
||||
"borderRadius": 2,
|
||||
"flexDirection": "row",
|
||||
"height": 36,
|
||||
|
|
@ -28,7 +28,7 @@ exports[`SwitchTeamsButton should match snapshot 1`] = `
|
|||
size={24}
|
||||
style={
|
||||
Object {
|
||||
"color": "#1153ab",
|
||||
"color": "#ffffff",
|
||||
"left": -2,
|
||||
"top": 1,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -131,13 +131,13 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
|
|||
fontWeight: 'bold',
|
||||
},
|
||||
switcherArrow: {
|
||||
color: theme.sidebarHeaderBg,
|
||||
color: theme.sidebarHeaderTextColor,
|
||||
top: 1,
|
||||
left: -2,
|
||||
},
|
||||
switcherContainer: {
|
||||
alignItems: 'center',
|
||||
backgroundColor: theme.sidebarHeaderTextColor,
|
||||
backgroundColor: changeOpacity(theme.sidebarHeaderTextColor, 0.24),
|
||||
borderRadius: 2,
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'center',
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ exports[`TeamIcon should match snapshot 1`] = `
|
|||
Array [
|
||||
Object {
|
||||
"alignItems": "center",
|
||||
"backgroundColor": "#ffffff",
|
||||
"backgroundColor": "#145dbf",
|
||||
"borderRadius": 2,
|
||||
"height": 30,
|
||||
"justifyContent": "center",
|
||||
|
|
@ -27,6 +27,7 @@ exports[`TeamIcon should match snapshot 1`] = `
|
|||
style={
|
||||
Array [
|
||||
Object {
|
||||
"backgroundColor": "white",
|
||||
"borderRadius": 2,
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
|
|
|
|||
|
|
@ -103,10 +103,10 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
|
|||
borderRadius: 2,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
backgroundColor: theme.sidebarText,
|
||||
backgroundColor: theme.sidebarBg,
|
||||
},
|
||||
text: {
|
||||
color: theme.sidebarBg,
|
||||
color: theme.sidebarText,
|
||||
fontFamily: 'OpenSans',
|
||||
fontWeight: '600',
|
||||
fontSize: 15,
|
||||
|
|
@ -118,6 +118,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => {
|
|||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
backgroundColor: 'white',
|
||||
},
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue