small fireworks changes
This commit is contained in:
parent
b6628eb159
commit
3d093d45f3
@ -40,7 +40,7 @@ export function FireworksProvider ({ children }) {
|
|||||||
quantity: 1
|
quantity: 1
|
||||||
},
|
},
|
||||||
size: {
|
size: {
|
||||||
width: 50,
|
width: 10,
|
||||||
height: 0
|
height: 0
|
||||||
},
|
},
|
||||||
position: {
|
position: {
|
||||||
@ -165,7 +165,10 @@ const fireworksOptions = ['#ff595e', '#ffca3a', '#8ac926', '#1982c4', '#6a4c93']
|
|||||||
},
|
},
|
||||||
speed: { min: 5, max: 15 },
|
speed: { min: 5, max: 15 },
|
||||||
direction: 'none',
|
direction: 'none',
|
||||||
outModes: 'destroy'
|
outMode: {
|
||||||
|
top: 'destroy',
|
||||||
|
default: 'bounce'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -178,7 +181,7 @@ const particlesOptions = (theme) => ({
|
|||||||
destroy: {
|
destroy: {
|
||||||
mode: 'split',
|
mode: 'split',
|
||||||
bounds: {
|
bounds: {
|
||||||
top: { min: 5, max: 50 }
|
top: { min: 5, max: 40 }
|
||||||
},
|
},
|
||||||
split: {
|
split: {
|
||||||
sizeOffset: false,
|
sizeOffset: false,
|
||||||
@ -228,7 +231,6 @@ const particlesOptions = (theme) => ({
|
|||||||
inverse: true,
|
inverse: true,
|
||||||
maxSpeed: 100
|
maxSpeed: 100
|
||||||
},
|
},
|
||||||
direction: 'top-center',
|
|
||||||
speed: {
|
speed: {
|
||||||
min: 10,
|
min: 10,
|
||||||
max: 20
|
max: 20
|
||||||
@ -246,6 +248,7 @@ const particlesOptions = (theme) => ({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const darkOptions = {
|
const darkOptions = {
|
||||||
|
fullScreen: { enable: true },
|
||||||
detectRetina: true,
|
detectRetina: true,
|
||||||
background: {
|
background: {
|
||||||
color: '#000'
|
color: '#000'
|
||||||
@ -257,6 +260,7 @@ const darkOptions = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const lightOptions = {
|
const lightOptions = {
|
||||||
|
fullScreen: { enable: true },
|
||||||
detectRetina: true,
|
detectRetina: true,
|
||||||
background: {
|
background: {
|
||||||
color: '#fff'
|
color: '#fff'
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100vw;
|
||||||
height: vh;
|
height: 100vh;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user