Skip to content

Commit

Permalink
Flashcord Store Update
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriusBYT committed Apr 28, 2024
1 parent f5b305c commit 5cde9f9
Show file tree
Hide file tree
Showing 11 changed files with 501 additions and 559 deletions.
7 changes: 0 additions & 7 deletions .vscode/extensions.json

This file was deleted.

4 changes: 0 additions & 4 deletions .vscode/settings.json

This file was deleted.

20 changes: 0 additions & 20 deletions FlashCFG.json

This file was deleted.

338 changes: 163 additions & 175 deletions FlashCFG.py

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
</a>
</p>

<br>

Fine. I'll fucking do it myself. Adds Discord's custom themes' name inside the <html> and <body> tag so that Theme Developers can do funny shenanigans. This is made mostly only for Flashcord, no support for other themes may be provided unless I feel like it.

6 changes: 6 additions & 0 deletions description.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<p>Fine. I'll fucking do it myself. Adds Discord's custom themes' name inside the html and body tag so that Theme Developers can do funny shenanigans.
This is made mostly only for Flashcord, no support for other themes may be provided unless I feel like it. </p>
<p>This plugins add a new attribute to the html and body tag named 'theme-hooker'.</p>
<p>When no custom nitro themes are detected, the attribute's default value is 'theme-null'.</p>
<p>When ThemeHooker detects a theme, it simply adds 'theme-[name of nitro theme]'.</p>
<p>Please note that the Candyfloss theme is actually named 'theme-cotton-candy' and the Memory Lane theme is actually named 'theme-easter-egg'.</p>
53 changes: 22 additions & 31 deletions flashcord/store/plugins/siriusbyt/themehooker-files/embed.html
Original file line number Diff line number Diff line change
@@ -1,39 +1,30 @@
<!--
Welcome to your own Flashcord Store Page!
You have the full creative liberty to modify this page if you don't like the stock layout.
You aren't allowed to fetch for external ressources. Everything must be inside your themehooker-files folder.
NO Javascript or anything of that matter is allowed, the SNWE website must be in pure HTML and CSS.
You may use the Python Script to quickly get started, and then you may manually adjust your page.
Note: Modifying embed.html is generally not advised but you can do it.
// Flashcord Store Metadata
ThemeHooker
This store page was created using the Flashcord Store Quick Config Python Script!
v1.1.0
CC-BY-ND-NC 4.0
2023-2024
ThemeHooker
Fine. I'll fucking do it myself, because nobody else did. Adds Discord's custom themes' name inside the <html> and <body> tag so that Theme Developers can do funny shenanigans. This is made mostly only for Flashcord, no support for other themes may be provided unless I feel like it.
1.1.0
SiriusBYT © 2023-2024 - ThemeHooker | CC BY-NC-ND 4.0
SiriusBYT
https://github.com/SiriusBYT/ThemeHooker
Catalyst4222, Tharki-God
SiriusBYT
https://github.com/SiriusBYT/ThemeHooker
Catalyst4222, Nanakusa
https://sirio-network.com/redirect/discord
Light
#FF69FF
https://sirio-network.com/redirect/discord
Light
#FF69FF
themehooker
themehooker
embed-banner.png
[STORE_PAGE_FILENAME]
themehooker-files
embed-banner.png
[STORE_EMBED_FILENAME]
-->

<!doctype html>
<html class="SNDL-Dark">
<html class="SNDL-Dark" lang="en-GB">
<head>
<title>ThemeHooker - Flashcord Store</title>
<!-- SNWE SEO -->
<meta name="description" content="This store page was created using the Flashcord Store Quick Config Python Script!">
<meta name="description" content="Fine. I'll fucking do it myself, because nobody else did. Adds Discord's custom themes' name inside the <html> and <body> tag so that Theme Developers can do funny shenanigans. This is made mostly only for Flashcord, no support for other themes may be provided unless I feel like it.">
<meta name="author" content="SiriusBYT">
<!-- SNWE External-->
<link rel="stylesheet" href="https://sirio-network.com/bin/SNDL-App_Base.css">
Expand All @@ -46,21 +37,21 @@
</head>
<body>

<div class="Flashcord-Module">
<div class="Flashcord-Module" tags="Theming Dependency, Companion Plugin">
<img class="Flashcord-Module_Banner" src="embed-banner.png"></img>
<div class="Flashcord-Module_Info">
<div class="SNDL-Quick_FlexGrid" style="justify-content: left;">
<a target="_blank" href="../themehooker.html"><h1>ThemeHooker</h1></a>
<a target="_blank" href="../themehooker"><h1>ThemeHooker</h1></a>
<a target="_blank" href="https://github.com/SiriusBYT/ThemeHooker"><h1>💿</h1></a>
</div>
<div class="SNDL-Quick_FlexGrid" style="justify-content: left;">
<a target="_blank" href="https://github.com/SiriusBYT"><h2>SiriusBYT</h2></a>
<a target="_blank" href="https://sirio-network.com/redirect/discord"><h2>💬</h2></a>
</div>
<h5 style="margin-bottom: 8px;">Contributors: Catalyst4222, Tharki-God</h5>
<h3 class="Flashcord-Module_Version">Version: v1.1.0</h3>
<p>This store page was created using the Flashcord Store Quick Config Python Script!</p>
<a target="_blank" href="https://github.com/SiriusBYT/ThemeHooker/blob/main/LICENSE.MD"><p class="SNDL-Copyright">SiriusBYT © 2023-2024 - ThemeHooker | CC-BY-ND-NC 4.0</p></a>
<h5 style="margin-bottom: 8px;">Contributors: Catalyst4222, Nanakusa</h5>
<h3 class="Flashcord-Module_Version">Version: 1.1.0</h3>
<p>Fine. I'll fucking do it myself, because nobody else did. Adds Discord's custom themes' name inside the <html> and <body> tag so that Theme Developers can do funny shenanigans. This is made mostly only for Flashcord, no support for other themes may be provided unless I feel like it.</p>
<a target="_blank" href="https://github.com/SiriusBYT/ThemeHooker/blob/main/LICENSE.MD"><p class="SNDL-Copyright">SiriusBYT © 2023-2024 - ThemeHooker | CC BY-NC-ND 4.0</p></a>
</div>
</div>
</body>
Expand Down
Loading

0 comments on commit 5cde9f9

Please sign in to comment.