Skip to content

Commit

Permalink
fix(avatar): change default color bg
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioAugustoR committed Oct 17, 2023
1 parent 339656b commit d1d1091
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/yoga/src/Avatar/native/Avatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Avatar = forwardRef(
>
<Box
ref={ref}
bgColor="#000"
bgColor="elements.selectionAndIcons"
display="flex"
alignItems="center"
justifyContent="center"
Expand Down
20 changes: 10 additions & 10 deletions packages/yoga/src/Avatar/native/__snapshots__/Avatar.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ exports[`<Avatar /> should match snapshot in avatar with children prop 1`] = `
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="small"
display="flex"
height="100%"
Expand All @@ -41,7 +41,7 @@ exports[`<Avatar /> should match snapshot in avatar with children prop 1`] = `
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 8,
"display": "flex",
"height": "100%",
Expand Down Expand Up @@ -106,7 +106,7 @@ exports[`<Avatar /> should match snapshot in circle avatar 1`] = `
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="circle"
display="flex"
height="100%"
Expand All @@ -116,7 +116,7 @@ exports[`<Avatar /> should match snapshot in circle avatar 1`] = `
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 9999,
"display": "flex",
"height": "100%",
Expand Down Expand Up @@ -240,7 +240,7 @@ exports[`<Avatar /> should match snapshot in circle avatar with placeholder prop
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="circle"
display="flex"
height="100%"
Expand All @@ -251,7 +251,7 @@ exports[`<Avatar /> should match snapshot in circle avatar with placeholder prop
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 9999,
"display": "flex",
"height": "100%",
Expand Down Expand Up @@ -375,7 +375,7 @@ exports[`<Avatar /> should match snapshot in default avatar 1`] = `
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="small"
display="flex"
height="100%"
Expand All @@ -385,7 +385,7 @@ exports[`<Avatar /> should match snapshot in default avatar 1`] = `
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 8,
"display": "flex",
"height": "100%",
Expand Down Expand Up @@ -509,7 +509,7 @@ exports[`<Avatar /> should match snapshot in default avatar with placeholder pro
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="small"
display="flex"
height="100%"
Expand All @@ -520,7 +520,7 @@ exports[`<Avatar /> should match snapshot in default avatar with placeholder pro
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 8,
"display": "flex",
"height": "100%",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ exports[`<Result /> should match snapshot 1`] = `
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="circle"
display="flex"
height="100%"
Expand All @@ -57,7 +57,7 @@ exports[`<Result /> should match snapshot 1`] = `
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 9999,
"display": "flex",
"height": "100%",
Expand Down Expand Up @@ -1063,7 +1063,7 @@ exports[`<Result /> should match snapshot without attendence 1`] = `
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="small"
display="flex"
height="100%"
Expand All @@ -1073,7 +1073,7 @@ exports[`<Result /> should match snapshot without attendence 1`] = `
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 8,
"display": "flex",
"height": "100%",
Expand Down Expand Up @@ -1576,7 +1576,7 @@ exports[`<Result /> should match snapshot without limitLabel prop 1`] = `
>
<View
alignItems="center"
bgColor="#000"
bgColor="elements.selectionAndIcons"
borderRadius="circle"
display="flex"
height="100%"
Expand All @@ -1586,7 +1586,7 @@ exports[`<Result /> should match snapshot without limitLabel prop 1`] = `
[
{
"alignItems": "center",
"backgroundColor": "#000",
"backgroundColor": "#9898A6",
"borderRadius": 9999,
"display": "flex",
"height": "100%",
Expand Down

0 comments on commit d1d1091

Please sign in to comment.