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 6, 2024
2 parents dd5f1e0 + 4478865 commit 504a18f
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 47 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"copyfiles": "^2.4.1",
"husky": "^9.0.11",
"spicetify-creator": "^1.0.17",
"typescript": "^5.4.3"
"typescript": "^5.5.2"
},
"dependencies": {
"@biomejs/biome": "^1.7.3",
"@biomejs/biome": "^1.8.3",
"chroma-js": "^2.4.2",
"i18next": "^23.11.3",
"i18next-browser-languagedetector": "^8.0.0",
Expand Down
86 changes: 43 additions & 43 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.
Binary file added resources/assets/snippets/Hide-Made-For-YOU.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/assets/snippets/new-hover-panel.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/assets/snippets/new-hover-panel.png
Binary file not shown.
16 changes: 14 additions & 2 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"title": "Rounded Images",
"description": "Adds rounded corners to the cover art, playlist covers, cards and other images",
"code": "/* Expanded Cover Art Image (+ position fix) */\n .main-navBar-navBar > :nth-child(3) {\n margin: 0 0 0 1px;\n border-radius: 6px;\n }\n \n /* Collapsed Cover Art Image */\n .cover-art-image,\n .artist-artistOverview-sideBlock > div > section > div:nth-child(3) > section:nth-child(2) > div > img,\n .view-homeShortcutsGrid-image {\n border-radius: 4px;\n }\n \n /*\n Playlist Header\n Search Category Card Image\n List Cards\n Local Files Card\n Placeholder Profile Card\n Artist Overview Side Block\n */\n .main-entityHeader-shadow,\n .x-categoryCard-image,\n .x-entityImage-circle,\n .main-cardImage-image,\n .main-cardImage-imageWrapper,\n .main-entityHeader-imagePlaceholder > div,\n .artist-artistOverview-sideBlock > div > section {\n border-radius: 6px;\n }\n \n /* Circled Artist + Profile Cards (force) */\n .main-cardImage-circular,\n .main-entityHeader-imagePlaceholder,\n .main-entityHeader-circle {\n border-radius: 50% !important;\n }\n \n /* Track List Image */\n .main-trackList-rowImage {\n border-radius: 3px;\n }",
"code": "/* Expanded Cover Art Image (+ position fix) */\n .main-navBar-navBar > :nth-child(3) {\n margin: 0 0 0 1px;\n border-radius: 6px;\n }\n \n /* Collapsed Cover Art Image */\n .cover-art-image,\n .artist-artistOverview-sideBlock > div > section > div:nth-child(3) > section:nth-child(2) > div > img,\n .view-homeShortcutsGrid-image {\n border-radius: 4px;\n }\n \n /*\n Playlist Header\n Search Category Card Image\n List Cards\n Local Files Card\n Placeholder Profile Card\n Artist Overview Side Block\n */\n .main-entityHeader-shadow,\n .x-categoryCard-image,\n .x-entityImage-circle, \n .main-image-image, \n .main-cardImage-image,\n .main-cardImage-imageWrapper,\n .main-entityHeader-imagePlaceholder > div,\n .artist-artistOverview-sideBlock > div > section {\n border-radius: 6px;\n }\n \n /* Circled Artist + Profile Cards (force) */\n .main-cardImage-circular,\n .main-entityHeader-imagePlaceholder,\n .main-entityHeader-circle {\n border-radius: 50% !important;\n }\n \n /* Track List Image */\n .main-trackList-rowImage {\n border-radius: 3px;\n }",
"preview": "resources/assets/snippets/rounded-images.png"
},
{
Expand Down Expand Up @@ -69,7 +69,19 @@
"title": "New Hover Panel",
"description": "A New Hover Panel that servers the same purpose as the legacy 'Hover Panels', but only for the left sidebar and without modifying any other elements.",
"code": "#Desktop_LeftSidebar_Id {\n position: absolute;\n left: -280px;\n width: 288px;\n height: 100%;\n background-color: black;\n opacity: 0;\n visibility: visible;\n transition: left 0.5s ease, opacity 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n left: 0;\n opacity: 1;\n visibility: visible;\n}\n:root {\n margin-left: -8px;\n}",
"preview": "resources/assets/snippets/new-hover-panel.png"
"preview": "resources/assets/snippets/new-hover-panel.gif"
},
{
"title": "Dynamic Left Sidebar",
"description": "Make the left sidebar dynamic, so it only shows when you hover over it and pushes the main content to the right.",
"code": "#Desktop_LeftSidebar_Id {\n width: 0px;\n transition: width 0.5s ease, padding-left 0.5s ease;\n z-index: 12;\n}\n#Desktop_LeftSidebar_Id:hover {\n padding-left: 8px;\n width: 280px;\n}\n:root {\n margin-left: -8px;\n}\nsvg[data-encore-id='icon']{\n overflow: visible;\n}\nspan{\n white-space: nowrap;\n}",
"preview": "resources/assets/snippets/Dynamic-Left-Sidebar.gif"
},
{
"title": "Hide Made For YOU",
"description": "Hide the 'Made For YOU' section on the home page.",
"code": "section[aria-label^='Made For'] {\n display: none;\n}",
"preview": "resources/assets/snippets/Hide-Made-For-YOU.png"
},
{
"title": "Fix progress bar displacement",
Expand Down

0 comments on commit 504a18f

Please sign in to comment.