-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: setup prettier and lint all files
- Loading branch information
1 parent
8a1430e
commit 4751a4a
Showing
31 changed files
with
585 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ textarea { | |
border: none; | ||
} | ||
|
||
textarea, .CodeMirror { | ||
textarea, | ||
.CodeMirror { | ||
height: 100%; | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,27 @@ | ||
<svg xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMinYMin meet" width="100%" height="100%" viewBox="0 0 60 60"> | ||
<circle cx="30" cy="30" r="28" fill="none" stroke="rgba(255, 255, 255, 0.6)" stroke-width="${this.state['stroke-width']}" /> | ||
<circle id="top" cx="30" cy="30" r="28" fill="none" stroke="${this.state.stroke}" stroke-width="${this.state['stroke-width']}" stroke-dasharray="188.5" stroke-dashoffset="${(100 - this.state.progress) / 100 * 188.5}" /> | ||
</svg> | ||
<svg | ||
xmlns:xlink="http://www.w3.org/1999/xlink" | ||
preserveAspectRatio="xMinYMin meet" | ||
width="100%" | ||
height="100%" | ||
viewBox="0 0 60 60" | ||
> | ||
<circle | ||
cx="30" | ||
cy="30" | ||
r="28" | ||
fill="none" | ||
stroke="rgba(255, 255, 255, 0.6)" | ||
stroke-width="${this.state['stroke-width']}" | ||
/> | ||
<circle | ||
id="top" | ||
cx="30" | ||
cy="30" | ||
r="28" | ||
fill="none" | ||
stroke="${this.state.stroke}" | ||
stroke-width="${this.state['stroke-width']}" | ||
stroke-dasharray="188.5" | ||
stroke-dashoffset="${(100 - this.state.progress) / 100 * 188.5}" | ||
/> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
:host { | ||
background: linear-gradient(to right, "${this.bgColor}" 4%, "${this.fgColor}" 25%, "${this.bgColor}" 36%); | ||
background: linear-gradient( | ||
to right, | ||
'${this.bgColor}' 4%, | ||
'${this.fgColor}' 25%, | ||
'${this.bgColor}' 36% | ||
); | ||
display: inline-block; | ||
animation: shimmer 2.5s linear 0s infinite; | ||
background-size: 2000px 100%; | ||
} | ||
@keyframes shimmer{ | ||
0% { background-position: -2000px 0 } | ||
100% { background-position: 2000px 0 } | ||
@keyframes shimmer { | ||
0% { | ||
background-position: -2000px 0; | ||
} | ||
100% { | ||
background-position: 2000px 0; | ||
} | ||
} |
Oops, something went wrong.