Skip to content

Commit

Permalink
wow look a thing
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriusBYT committed Nov 5, 2023
1 parent 1ecf651 commit 22d9cfe
Show file tree
Hide file tree
Showing 8 changed files with 83 additions and 233 deletions.
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: siriusbyt
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- "v*"
- "*"

jobs:
release:
Expand Down Expand Up @@ -35,3 +35,5 @@ jobs:
with:
artifacts: "bundle/*"
makeLatest: true
allowUpdates: true
omitBodyDuringUpdate: true
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.css
**/src
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# Replugged theme template
# Flashcord's Zooming QoL Feature
Available now for everyone. Requires [Magnificent by Socketlike](https://github.com/Socketlike/replugged-plugins/tree/main/plugins/Magnificent) for the best experience.

See the [theme development guide](https://guide.replugged.dev/docs/themes/getting-started) for more
information on using this template.
![](showcase.gif)

# License

The [theme template](https://github.com/replugged-org/theme-template) is licensed under the
[MIT](https://opensource.org/license/mit/) license. However, addons using this template are not
necessarily licensed under MIT. Developers are encouraged to add a license file to their repository,
but if none exists, the repository should be considered as unlicensed.
![<img src="https://sirio-network.com/flashcord/ressources/store/replugged.png" width="512">](https://replugged.dev/install?identifier=SiriusBYT/Flashcord-Zoom&source=github)
16 changes: 8 additions & 8 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"id": "dev.replugged.ThemeTemplate",
"name": "Theme Template",
"description": "A theme template",
"id": "com.sirio-network.flashcord-zoom",
"name": "Flashcord Zoom",
"description": "Flashcord's Zooming QoL Feature, but without Flashcord.",
"author": {
"name": "replugged",
"discordID": "1000992611840049192",
"github": "replugged-org"
"name": "SiriusBYT",
"discordID": "311057290562371586",
"github": "SiriusBYT"
},
"version": "1.0.0",
"updater": {
"type": "github",
"id": "replugged-org/theme-template"
"id": "SiriusBYT/Flashcord-Zoom"
},
"license": "MIT",
"type": "replugged-theme",
"main": "src/main.css",
"source": "https://github.com/replugged-org/theme-template",
"source": "https://github.com/SiriusBYT/Flashcord-Zoom",
"image": ["https://i.imgur.com/14CNs3a.png?CHANGE-THIS-URL"]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "theme-template",
"name": "Flashcord Zoom",
"version": "1.0.0",
"description": "A theme template",
"description": "Flashcord's Zooming QoL Feature, but without Flashcord.",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
Expand Down
Binary file added showcase.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
264 changes: 51 additions & 213 deletions src/main.css
Original file line number Diff line number Diff line change
@@ -1,216 +1,54 @@
/* Credit to https://github.com/Overimagine1/old-discord-font */
/* IMPORTED FROM FLASHCORD BETA bSID-2311XX DEV-NOV 231105 */

@font-face {
font-family: Whitney;
font-style: normal;
font-weight: 300;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/46933da896ba96126074286056614542.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: italic;
font-weight: 300;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/1651ce6325c0da043476ace0bec3971b.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: normal;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/24bda95d153a319704c33329f3ab84bb.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: italic;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/7f18f1d5ab6ded7cf71bbc1f907ee3d4.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: normal;
font-weight: 500;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/cf4a8a10bbdf9b775fad41e0b9921c84.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: italic;
font-weight: 500;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/9cfa747e897c772d25efd8e4a42a005e.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: normal;
font-weight: 600;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/f9e7047f6447547781512ec4b977b2ab.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: italic;
font-weight: 600;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/21070f52a8a6a61edef9785eaf303fb8.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: normal;
font-weight: 700;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/f9c8fcfa7dcc5d6a291a6ebbe3bb847e.woff2)
format("woff2");
}
@font-face {
font-family: Whitney;
font-style: italic;
font-weight: 700;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/5e1649183589023fb24667a369af585d.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: normal;
font-weight: 300;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/ab688947d482808a0b3347f84ebb17a9.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: italic;
font-weight: 300;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/0635f419b122d24f9f60ac4d1066cbc6.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: normal;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/91dcabd038a2e07ea6fbe7ddb625ecfb.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: italic;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/ea053183733605b24806f222b067b1e1.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: normal;
font-weight: 500;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/9491a199bd318f1fc38711fb5067f401.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: italic;
font-weight: 500;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/f0cf30536a7fa447f0c45fdb3b2a6f28.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: normal;
font-weight: 700;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/7d66dfcf8e39f27f163fba8d79577fd8.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Normal;
font-style: italic;
font-weight: 700;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/9a07cb5ae387a52309b7198543ae5e02.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: normal;
font-weight: 300;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/5e6f352adb4a6b55ed230f2f91769156.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: italic;
font-weight: 300;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/30b475dcfa1e8b74d815946e4c18ee09.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: normal;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/1ace668db419a5014cf75bc116321af3.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: italic;
font-weight: 400;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/50510b66614a2f395530c61b7c9b6827.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: normal;
font-weight: 500;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/9e94673570e295b6fb5d4456c4211015.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: italic;
font-weight: 500;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/6603a2fb4d2bc997e023972a51938144.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: normal;
font-weight: 700;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/87c79174865938aedf188b7344fb0428.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: italic;
font-weight: 700;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/d93311938f51e8608a5d5cb2ea975157.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: normal;
font-weight: 800;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/bc5af8e71e27d363e2eeac75c9628922.woff2)
format("woff2");
}
@font-face {
font-family: ABC Ginto Nord;
font-style: italic;
font-weight: 800;
src: url(https://cdn.jsdelivr.net/gh/Overimagine1/old-discord-font/fonts/dc407fd65057fce34a56bf7b6ebb0b9f.woff2)
format("woff2");
/* Imagivid Zoom Core */
[class^="layer_"]:has([class^="focusLock_"] [class*="downloadLink_"]) {
container-name: var(--FlashCore-ImagividZoom, FC-ImagividZoom);
container-type: inline-size;
contain: paint;
}

:root {
--font-primary: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-display: "ABC Ginto Normal", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-headline: "ABC Ginto Nord", "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-code: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter",
"DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco,
"Courier New", Courier, monospace;
--font-korean: Whitney, "Apple SD Gothic Neo", NanumBarunGothic, "\B9D1\C740 \ACE0\B515",
"Malgun Gothic", Gulim, 굴림, Dotum, 돋움, "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-japanese: Whitney, "Hiragino Sans", "\30D2\30E9\30AE\30CE\89D2\30B4 ProN W3",
"Hiragino Kaku Gothic ProN", メイリオ, Meiryo, Osaka, "MS PGothic", "Helvetica Neue", Helvetica,
Arial, sans-serif;
--font-chinese-simplified: Whitney, "Microsoft YaHei New", 微软雅黑, "Microsoft Yahei",
"Microsoft JhengHei", 宋体, SimSun, "Helvetica Neue", Helvetica, Arial, sans-serif;
--font-chinese-traditional: Whitney, "Microsoft JhengHei", 微軟正黑體, "Microsoft JhengHei UI",
"Microsoft YaHei", 微軟雅黑, 宋体, SimSun, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@container FC-ImagividZoom (min-width: 0px) {
[class^="focusLock_"] [class^="imageWrapper_"]:hover {
width: 90vw !important;
/*will-change: width, height;*/
}
[class^="focusLock_"] [class^="imageWrapper_"] {
height: auto !important;
transition-property: width, height;
transition-duration: var(--Flashcord-TransMult-Slow, 500ms) !important;
}
[class^="focusLock_"] [class^="imageWrapper_"] [class^="wrapper-"] {
width: auto !important;
height: auto !important;
}
[class^="focusLock_"] > div {
display: flex;
justify-content: center;
align-items: flex-start;
overflow: scroll;
flex-direction: row;
}
[class^="carouselModal-"] {
justify-content: flex-start !important;
}
[class^="focusLock_"] img, [class^="focusLock_"] video, [class^="imageWrapper_"] [class^="wrapper"] {
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
object-fit: contain;
overflow: scroll;
}
[class^="anchor_"] {
display: none;
}
[class*="modalCarouselWrapper_"] {
-webkit-box-align: unset !important;
align-items: unset !important;
margin: auto;
position: static;
}
[class*="modalCarouselWrapper_"] button {
margin: 0;
}
}

0 comments on commit 22d9cfe

Please sign in to comment.