-
Notifications
You must be signed in to change notification settings - Fork 0
/
html.js
43 lines (39 loc) · 949 Bytes
/
html.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module.exports = {
html: `<html>
<style>
.song-card {
text-align: center;
padding: 4px 4px 4px 4px;
color: {{txt}};
border-radius: 10px;
}
body {
width: 300px;
height: 300px;
background: linear-gradient({{st}}, {{ed}});
}
img {
width: 120px;
height: 120px;
border-radius: 50%;
margin-top: 10%;
}
.song-details .artist {
font-size: 16px;
font-weight: 600;
}
.song-play {
font-size: 30px;
}
</style>
<body>
<div class="song-card">
<img src="{{sUrl}}" />
<div class="song-details">
<p class="artist">{{name}}</p>
<p>{{artist}}</p>
</div>
<div class="song-play">▶️</div>
</body>
</html>`
}