First Commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export function getBackgroundDots(fill = 'gray', dotSize = 2, spacing = 30) {
|
||||
return {
|
||||
backgroundImage: `radial-gradient(circle ${dotSize}px, ${fill} ${dotSize}px, transparent 0)`,
|
||||
backgroundSize: `${spacing}px ${spacing}px`,
|
||||
backgroundRepeat: 'repeat'
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user