Skip to content

Commit 3263bd3

Browse files
committed
docs: add styles to sass
1 parent 16ef24f commit 3263bd3

File tree

10 files changed

+83
-24
lines changed

10 files changed

+83
-24
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/style.scss

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,38 @@ $react-github-corner-options: () !default;
22

33
.react-github-corner {
44
// your styles
5+
6+
&:hover {
7+
.octo-arm {
8+
animation: octocat-wave 560ms ease-in-out;
9+
}
10+
svg {
11+
fill: darken(#fd6c6c, 5%);
12+
}
13+
}
14+
15+
@keyframes octocat-wave {
16+
0%,
17+
100% {
18+
transform: rotate(0);
19+
}
20+
20%,
21+
60% {
22+
transform: rotate(-25deg);
23+
}
24+
40%,
25+
80% {
26+
transform: rotate(10deg);
27+
}
28+
}
29+
30+
svg {
31+
fill: #fd6c6c;
32+
color: #fff;
33+
position: absolute;
34+
top: 0;
35+
border: 0;
36+
right: 0;
37+
transition: 0.2s all;
38+
}
539
}

0 commit comments

Comments
 (0)