opacity on stars
This commit is contained in:
parent
cbfc6304f3
commit
b61754dd8f
@ -21,7 +21,7 @@ const Stars = ({ count }: Props) => {
|
||||
const star = (key?: number) => {
|
||||
const radius = `${Math.random() * 7}px`
|
||||
let style: CSSProperties = {
|
||||
background: `radial-gradient(circle, ${randomRgba(1)} 0%, ${randomRgba(0)} 100%)`,
|
||||
background: `radial-gradient(circle, ${randomRgba(0.6)} 0%, ${randomRgba(0)} 100%)`,
|
||||
width: radius,
|
||||
height: radius,
|
||||
transform: "translate(-50%)",
|
||||
|
Loading…
Reference in New Issue
Block a user