Better themeing support!!
This commit is contained in:
2
app/javascript/themes/spin/pack.js
Normal file
2
app/javascript/themes/spin/pack.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import 'packs/application';
|
||||
import 'themes/spin/style';
|
14
app/javascript/themes/spin/style.scss
Normal file
14
app/javascript/themes/spin/style.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
:root:root:root {
|
||||
.button, .icon-button, .emoji-button, .account__avatar, .account__avatar-overlay {
|
||||
animation: spin 4s linear infinite;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
2
app/javascript/themes/spin/theme.yml
Normal file
2
app/javascript/themes/spin/theme.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
name: spin
|
||||
pack: pack.js
|
Reference in New Issue
Block a user