Skip to content

Commit

Permalink
Merge branch 'main' into snippet-ReorderNowPlaying
Browse files Browse the repository at this point in the history
  • Loading branch information
theRealPadster authored Jul 7, 2024
2 parents 504a18f + b625280 commit 3133ba0
Show file tree
Hide file tree
Showing 22 changed files with 339 additions and 109 deletions.
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"javascript": {
"formatter": {
"trailingComma": "none",
"trailingCommas": "none",
"arrowParentheses": "always"
}
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:local": "spicetify-creator --out=dist --minify",
"build:prod": "pnpm build:local && pnpm copy:docs",
"copy:docs": "copyfiles README.md dist/",
"lint": "biome check --apply *",
"lint": "biome check --write ./src",
"lint:ci": "biome check *",
"type-check": "tsc --noEmit",
"watch": "spicetify-creator --watch",
Expand Down Expand Up @@ -41,6 +41,7 @@
"i18next": "^23.11.3",
"i18next-browser-languagedetector": "^8.0.0",
"prismjs": "^1.29.0",
"react-beautiful-dnd": "^13.1.1",
"react-dropdown": "^1.11.0",
"react-i18next": "^14.1.0",
"react-simple-code-editor": "^0.13.1",
Expand Down
135 changes: 135 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,5 +423,11 @@
"description": "Makes the \"Switch to video\" button smaller and less intrusive, for consistency",
"code": ".dcSY8Zom_VXgK71Lbym_ { position: absolute; opacity: 0.4; transition: opacity 0.5s; z-index: 999; } .dcSY8Zom_VXgK71Lbym_:hover { position: absolute; opacity: 1; } .dcSY8Zom_VXgK71Lbym_ .encore-text { display: none; }",
"preview": "resources/assets/snippets/Small-Video-Button.png"
},
{
"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/Spinning-CD-Cover-Art.jpg"
}
]
Loading

0 comments on commit 3133ba0

Please sign in to comment.