summaryrefslogtreecommitdiff
path: root/src/components/shared/ZapAnimated.module.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/shared/ZapAnimated.module.scss')
-rw-r--r--src/components/shared/ZapAnimated.module.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/shared/ZapAnimated.module.scss b/src/components/shared/ZapAnimated.module.scss
new file mode 100644
index 0000000..e4cb37b
--- /dev/null
+++ b/src/components/shared/ZapAnimated.module.scss
@@ -0,0 +1,12 @@
+.animate {
+ --saturation: 70%;
+ stroke: hsl(46deg var(--saturation) 45%);
+ animation: zap-pulse 0.7s 0s ease-in-out none normal infinite;
+}
+
+// prettier-ignore
+@keyframes zap-pulse {
+ 0% { stroke: hsl(46deg var(--saturation) 45%); }
+ 50% { stroke: hsl(46deg var(--saturation) 95%); }
+ 100% { stroke: hsl(46deg var(--saturation) 45%); }
+}