add modules gruvbox, rainbow

This commit is contained in:
2022-04-13 00:49:31 +01:00
parent 0c1f593312
commit 249821fa46
4 changed files with 49 additions and 0 deletions

18
modules/rainbow.css Normal file
View File

@@ -0,0 +1,18 @@
@import url("./gruvbox.css")
:root {
--rainbow-duration: 8s
}
.rainbow { animation: colorchange var(--rainbow-duration) infinite alternate; }
@keyframes colorchange {
0% { color: var(--gruvbox-blue); }
14.3% { color: var(--gruvbox-aqua); }
28.6% { color: var(--gruvbox-green); }
42.9% { color: var(--gruvbox-yellow); }
57.1% { color: var(--gruvbox-orange); }
71.4% { color: var(--gruvbox-red); }
85.7% { color: var(--gruvbox-purple); }
100% { color: var(--gruvbox-blue); }
}