Skip to content

Commit

Permalink
Replaced snippet preview PNG with new JPG
Browse files Browse the repository at this point in the history
  • Loading branch information
uboaaaa committed Jul 7, 2024
1 parent f52b8b2 commit b300fd9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file removed resources/assets/snippets/Cover-Image-CD.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,6 @@
"title": "Spinning CD Cover Art",
"description": "Converts the cover art of the currently playing song to a slowly spinning CD.",
"code": "@keyframes rotating {from {transform: rotate(0deg);}to {transform: rotate(360deg);}}.cover-art {animation: rotating 360s linear infinite;clip-path: circle(50% at 50% 50%);position: relative;}.cover-art::after {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 22%;height: 22%;background: radial-gradient( circle at center, rgba(24, 22, 35, 0.9) 0%, rgba(24, 22, 35, 0.9) 38%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.1) 40%, rgba(24, 22, 35, 0.9) 40%, rgba(24, 22, 35, 0.9) 100% ), repeating-radial-gradient( circle at center, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 1px, transparent 1px, transparent 4px );border-radius: 50%;pointer-events: none;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3) inset, 0 0 20px rgba(255, 255, 255, 0.1);}.cover-art::before {content: '';position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 6%;height: 6%;background: rgba(24, 22, 35, 1);border-radius: 50%;box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);z-index: 1;}",
"preview": "resources/assets/snippets/Cover-Image-CD.png"
"preview": "resources/assets/snippets/Spinning-CD-Cover-Art.jpg"
}
]

0 comments on commit b300fd9

Please sign in to comment.