Skip to content

Commit

Permalink
Replace the gradient background with blurred dots
Browse files Browse the repository at this point in the history
  • Loading branch information
swansontec committed Jan 6, 2024
1 parent 60908c8 commit dcd2b8c
Show file tree
Hide file tree
Showing 27 changed files with 3,355 additions and 629 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ exports[`CategoryModal should render with a subcategory 1`] = `
numberOfLines={1}
style={
{
"color": "#06090c",
"color": "#000000",
"fontFamily": "Quicksand-Bold",
"fontSize": 14,
"marginHorizontal": 7,
Expand Down Expand Up @@ -1451,7 +1451,7 @@ exports[`CategoryModal should render with an empty subcategory 1`] = `
numberOfLines={1}
style={
{
"color": "#06090c",
"color": "#000000",
"fontFamily": "Quicksand-Bold",
"fontSize": 14,
"marginHorizontal": 7,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,155 @@

exports[`CreateWalletAccountSelect renders 1`] = `
[
<BVLinearGradient
colors={
<View
onLayout={[Function]}
style={
[
4278585612,
4279971643,
{
"bottom": 0,
"left": 0,
"position": "absolute",
"right": 0,
"top": 0,
},
{
"backgroundColor": "#000000",
},
]
}
endPoint={
{
"x": 1,
"y": 0,
}
}
locations={null}
startPoint={
{
"x": 0,
"y": 0,
}
}
style={
{
"bottom": 0,
"left": 0,
"position": "absolute",
"right": 0,
"top": 0,
>
<RNSVGSvgView
align="xMidYMid"
bbHeight="0"
bbWidth="0"
focusable={false}
height={0}
meetOrSlice={0}
minX={0}
minY={0}
style={
{
"backgroundColor": "transparent",
"borderWidth": 0,
}
}
}
/>,
vbHeight={0}
vbWidth={0}
width={0}
>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
>
<RNSVGDefs>
<RNSVGRadialGradient
cx="50%"
cy="50%"
fx="50%"
fy="50%"
gradient={
[
0,
-15348865,
0.3333,
-15348865,
0.4167,
-183121025,
0.5,
-652883073,
0.8332999999999999,
638962559,
0.9167000000000001,
169200511,
1,
1428351,
]
}
gradientTransform={null}
gradientUnits={0}
name="grad0"
rx="50%"
ry="50%"
/>
<RNSVGRadialGradient
cx="50%"
cy="50%"
fx="50%"
fy="50%"
gradient={
[
0,
-8448565,
0.3333,
-8448565,
0.4167,
-176220725,
0.5,
-645982773,
0.8332999999999999,
645862859,
0.9167000000000001,
176100811,
1,
8328651,
]
}
gradientTransform={null}
gradientUnits={0}
name="grad1"
rx="50%"
ry="50%"
/>
</RNSVGDefs>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
opacity={0.5}
>
<RNSVGCircle
cx="100"
cy="-200"
fill={
{
"brushRef": "grad0",
"type": 1,
}
}
propList={
[
"fill",
]
}
r="300"
/>
<RNSVGCircle
cx="-100"
cy="200"
fill={
{
"brushRef": "grad1",
"type": 1,
}
}
propList={
[
"fill",
]
}
r="300"
/>
</RNSVGGroup>
</RNSVGGroup>
</RNSVGSvgView>
</View>,
<RCTScrollView
contentContainerStyle={
{
Expand Down
171 changes: 145 additions & 26 deletions src/__tests__/scenes/__snapshots__/CreateWalletImportScene.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,155 @@

exports[`CreateWalletImportScene should render with loading props 1`] = `
[
<BVLinearGradient
colors={
<View
onLayout={[Function]}
style={
[
4278585612,
4279971643,
{
"bottom": 0,
"left": 0,
"position": "absolute",
"right": 0,
"top": 0,
},
{
"backgroundColor": "#000000",
},
]
}
endPoint={
{
"x": 1,
"y": 0,
}
}
locations={null}
startPoint={
{
"x": 0,
"y": 0,
}
}
style={
{
"bottom": 0,
"left": 0,
"position": "absolute",
"right": 0,
"top": 0,
>
<RNSVGSvgView
align="xMidYMid"
bbHeight="0"
bbWidth="0"
focusable={false}
height={0}
meetOrSlice={0}
minX={0}
minY={0}
style={
{
"backgroundColor": "transparent",
"borderWidth": 0,
}
}
}
/>,
vbHeight={0}
vbWidth={0}
width={0}
>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
>
<RNSVGDefs>
<RNSVGRadialGradient
cx="50%"
cy="50%"
fx="50%"
fy="50%"
gradient={
[
0,
-15348865,
0.3333,
-15348865,
0.4167,
-183121025,
0.5,
-652883073,
0.8332999999999999,
638962559,
0.9167000000000001,
169200511,
1,
1428351,
]
}
gradientTransform={null}
gradientUnits={0}
name="grad0"
rx="50%"
ry="50%"
/>
<RNSVGRadialGradient
cx="50%"
cy="50%"
fx="50%"
fy="50%"
gradient={
[
0,
-8448565,
0.3333,
-8448565,
0.4167,
-176220725,
0.5,
-645982773,
0.8332999999999999,
645862859,
0.9167000000000001,
176100811,
1,
8328651,
]
}
gradientTransform={null}
gradientUnits={0}
name="grad1"
rx="50%"
ry="50%"
/>
</RNSVGDefs>
<RNSVGGroup
fill={
{
"payload": 4278190080,
"type": 0,
}
}
opacity={0.5}
>
<RNSVGCircle
cx="100"
cy="-200"
fill={
{
"brushRef": "grad0",
"type": 1,
}
}
propList={
[
"fill",
]
}
r="300"
/>
<RNSVGCircle
cx="-100"
cy="200"
fill={
{
"brushRef": "grad1",
"type": 1,
}
}
propList={
[
"fill",
]
}
r="300"
/>
</RNSVGGroup>
</RNSVGGroup>
</RNSVGSvgView>
</View>,
<View
style={
[
Expand Down
Loading

0 comments on commit dcd2b8c

Please sign in to comment.