Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pablobm committed Dec 28, 2023
1 parent 7a98c46 commit 8bfde22
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions spec/example_app/app/assets/stylesheets/admin/identity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,37 @@
margin: 0;

&--admin {
background-image: repeating-linear-gradient(45deg, violet, indigo, blue, green, yellow, orange, red, violet);
text-align: center;
background-size: 800% 800%;
-webkit-background-clip: text;
// Done this way purely to satisfy the linter
--rainbow-violet: violet;
--rainbow-indigo: indigo;
--rainbow-blue: blue;
--rainbow-green: green;
--rainbow-yellow: yellow;
--rainbow-orange: orange;
--rainbow-red: red;

background-image: repeating-linear-gradient(
45deg,
var(--rainbow-violet),
var(--rainbow-indigo),
var(--rainbow-blue),
var(--rainbow-green),
var(--rainbow-yellow),
var(--rainbow-orange),
var(--rainbow-red),
var(--rainbow-violet)
);

-webkit-text-fill-color: transparent;
animation: rainbow 1s ease;
background-clip: text;
background-size: 800% 800%;
text-align: center;
}
}

@keyframes rainbow {
0%{background-position:0% 50%}
50%{background-position:100% 25%}
100%{background-position:0% 50%}
0% { background-position: 0% 50%; }
50% { background-position: 100% 25%; }
100% { background-position: 0% 50%; }
}

0 comments on commit 8bfde22

Please sign in to comment.