Skip to content

Commit

Permalink
LPM-231204
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriusBYT committed Dec 4, 2023
1 parent c7a2935 commit 9f6a793
Show file tree
Hide file tree
Showing 13 changed files with 66 additions and 151 deletions.
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"id": "com.sirio-network.Flashcord-LPM",
"name": "Flashcord for Low-End Systems (LPM)",
"description": "[i] Read the Flashcord Wiki for more information. A nerfed/debloated version of the world's most advanced, complex and feature rich Discord Theme to ever exist. This version is so debloated that even Windows debloaters are crying.",
"description": "[i] Read the Flashcord Wiki for more information. A nerfed/debloated version of Flashcord. This version is so debloated that even Windows debloaters are crying.",
"author": {
"name": "SiriusBYT",
"discordID": "311057290562371586",
"github": "SiriusBYT"
},
"version": "LPM-231108_HF2",
"version": "LPM-231204",
"updater": {
"type": "github",
"id": "SiriusBYT/Flashcord"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Flashcord for Low-End Systems (LPM)",
"version": "LPM-231108_HF2",
"description": "[i] Read the Flashcord Wiki for more information. A nerfed/debloated version of the world's most advanced, complex and feature rich Discord Theme to ever exist. This version is so debloated that even Windows debloaters are crying.",
"version": "LPM-231204",
"description": "[i] Read the Flashcord Wiki for more information. A nerfed/debloated version of Flashcord. This version is so debloated that even Windows debloaters are crying.",
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
Expand Down
11 changes: 7 additions & 4 deletions src/LPM/0-BIOS.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This license requires that reusers give credit to the creator. It allows reusers

--Flashcord-Branch: "Flashcord";
--Flashcord-Channel: "LPM";
--Flashcord-Version: "231108_HF2";
--Flashcord-Version: "231204";

background: #000000;
}
Expand Down Expand Up @@ -71,10 +71,13 @@ body {
--bg-overlay-6: transparent;
}

html:not(html:hover) #app-mount {
container-name: var(--FlashCore-Idle_Optimizations, FC-Idle_OptiMax) !important;
/* Slightly more performant by avoiding the html:not(html:hover), at least I think it's better????*/
html:hover #app-mount {
container-name: FC-VOID !important;
}
#app-mount {
container-name: var(--FlashCore-Idle_Optimizations, FC-Idle_OptiMax);
container-type: inline-size;

}

@container FC-Idle_OptiMax (min-width: 0px) {
Expand Down
7 changes: 0 additions & 7 deletions src/LPM/0-Kernel_Ring1.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@

/* [START] = Flashcord Beta == Kernel [01] CSS = */

body {
--Flashcolord-Light_Accent: rgba(0,155,255,0.5);
--Flashcolord-Dark_Accent: rgba(255,55,0,0.5);
--Flashcolord-CBM_Light-Floating: rgba(255,255,255,0.5);
--Flashcolord-CBM_Dark-Floating: rgba(0,0,0,0.5);
}

.theme-light {
--background-primary: #FFFFFF;
--background-secondary: #FFFFFF;
Expand Down
2 changes: 2 additions & 0 deletions src/LPM/0-Kernel_Ring3.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ body:before {
height: calc(100vh - 24px);
}

/* NOTICE: I need someone with a macbook to help me debug this, I think somebody said this was broken again on MacOS?
In other words, "plis help ecta i ned to connekt to ur hakintoch again" */
.platform-osx body:before {
content: "🍎 " var(--Flashcord-Branch) " " var(--Flashcord-Channel) "-" var(--Flashcord-Version);
color: #ffffff;
Expand Down
3 changes: 2 additions & 1 deletion src/LPM/0-Kernel_Serial.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
html.platform-win { --FlashCore-OS: "🪟 Windows" }
html.platform-osx { --FlashCore-OS: "🍎 MacOS" }
html.platform-linux { --FlashCore-OS: "🐧 GNU/Linux" }
html.replugged { --FlashCore-Client: "🔌 Replugged"; }
html.replugged { --FlashCore-Client: "🔌 Replugged"; } /* Still not working yet if I recall, supposed to be inside a future update*/
html:has(#vencord-margins) { --FlashCore-Client: "✨ Vencord"; }
/* These look ugly and probably need optimizations */
html:has(body[class*="bd"]) { --FlashCore-Client: "🩹 BetterDiscord [UNSUPPORTED]"; }
html:has([content*="canary"]) { --FlashCore-Discord_Branch: "Canary"; }
html:has([content*="ptb"]) { --FlashCore-Discord_Branch: "Public Beta Test"; }
Expand Down
30 changes: 8 additions & 22 deletions src/LPM/2-Theme_01-CustomIMG.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,16 @@

@container FC-AdvancedTheme-LEGACY_Custom-Background-Mode (min-width: 0px) {
body {
--FlashCore-ChatSlide: FC-ChatSlide_Legacy;
--FlashCore-Brightness: 0.5;
}
.theme-light body {
background-image: var(--Flashcord-CBM_Light-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/bgr-test.jpg") ) !important;
}
.theme-dark body {
background-image: var(--Flashcord-CBM_Dark-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/hypernner.jpg") ) !important;
}
[class^="layer_"]:nth-child(2) {
border: 1px solid white;
--FlashCore-ChatSlide: FC-ChatSlide_Legacy;
--FlashCore-Brightness: 0.5;
}
.theme-light body { background-image: var(--Flashcord-CBM_Light-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/bgr-test.jpg") ) !important; }
.theme-dark body { background-image: var(--Flashcord-CBM_Dark-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/hypernner.jpg") ) !important; }

@container FC-ChatSlide_Legacy (min-width: 0px) {
[class^="chat_"] > section, [class^="chat_"] > div, [class^="chat_"] {
background: transparent !important;
}
}
.custom-theme-background.theme-light #app-mount {
backdrop-filter: var(--Flashcord-CBM_Light-Filter, blur(8px) brightness(1));
}
.custom-theme-background.theme-dark #app-mount {
backdrop-filter: var(--Flashcord-CBM_Dark-Filter, blur(16px) brightness(0.5));
}
[class^="layer_"]:nth-child(2) { border: 1px solid white; }

.custom-theme-background.theme-light #app-mount { backdrop-filter: var(--Flashcord-CBM_Light-Filter, blur(8px) brightness(1)); }
.custom-theme-background.theme-dark #app-mount { backdrop-filter: var(--Flashcord-CBM_Dark-Filter, blur(16px) brightness(0.5)); }
}

/* [End] = Flashcord Beta == Custom Theme: CBM CSS = */
27 changes: 1 addition & 26 deletions src/LPM/3-MGM_01-ChatEX.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@
}
}

@container FC-ChatSlide_Legacy (min-width: 0px) {
[class^="sidebar-"] {
width: 48px;
}
:is([class*="baseLayer"]:has([class*="guilds-"]:hover, [class^="sidebar-"]:hover), [class^="notAppAsidePanel-"]:has([id*="guild-"])) .sidebar-1tnWFu { /* [!] FC-Wildcard_PerfNuker */
width: 240px;
}
}

/* Member Slide Core */
[class^="chat_"] {
container-name: var(--FlashCore-MemberSlide, FC-MemberSlide);
Expand All @@ -63,23 +54,6 @@
}
}

/* GuildNav_Glow Core */

[data-list-id="guildsnav"] {
container-name: var(--FlashCore-GuildNav_Notification, FC-GuildNav_Animated);
container-type: inline-size;
}

@container FC-GuildNav_Static (min-width: 0px) {
[class^="listItem_"]:has([style*="height: 8px"], [class^="lowerBadge_"]), [class^="listItem_"]:hover {
scale: 0.975;
filter: drop-shadow(0 0 var(--Flashcord-GuildShadow_Size, 4px) var(--Flashcord-GuildShadow_Unread, #0000FF));
}
[class^="pill_"] {
display: none;
}
}

/* GuildNav_Compact Core */

[class^="container_"]:has([data-list-id="guildsnav"]) {
Expand All @@ -99,6 +73,7 @@
[id^="folder-items-"] { height: auto !important; }
[class^="listItem_"] { scale: 0.9; }
[class^="listItem_"]:has([class^="guildSeparator_"]) { display: none; }
[class^="pill_"] { left: 4px !important; } /* Pill Bugfix */
}

@container FC-GuildNav_Compact-Horizontal (min-width: 0px) {
Expand Down
2 changes: 1 addition & 1 deletion src/LPM/3-MGM_01-ChatIn.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/* [START] = Flashcord Beta == Major General Modifications [00] ChatIn CSS = */

/* Imagivid Zoom Core */
/* Imagivid Zoom Core: Note, animations nerfed (well removed) */
[class^="layer_"]:has([class^="focusLock_"] [class*="downloadLink_"]) {
container-name: var(--FlashCore-ImagividZoom, FC-ImagividZoom);
container-type: inline-size;
Expand Down
4 changes: 4 additions & 0 deletions src/LPM/4-SM_Pop.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
padding: 0;
margin: -4px;
}
[class^="scroller_"] { /* I had to add this too cause for some fucking reason it's fucked too. This MAY cause issues in the long term, hope people will send bug reports if it does cause nukes to be launched.*/
padding: 8px !important;
margin: -4px;
}

/* [End] = Flashcord Beta == Small Modifications - Popup CSS = */
12 changes: 11 additions & 1 deletion src/LPM/FlashcordCompiler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
def merge_files():
input_files = ["0-BIOS.css", "0-Kernel_Ring0.css", "0-Kernel_Ring1.css", "0-Kernel_Ring2.css", "0-Kernel_Ring3.css", "0-Kernel_Serial.css", "1-Anarchy_SID.css", "2-Theme_00-Iridescent.css", "2-Theme_01-CustomIMG.css", "2-Theme_03-Transparent.css", "3-MGM_00-Control.css", "3-MGM_00-Control-MAT.css", "3-MGM_00-Control-AT.css", "3-MGM_01-ChatEx.css", "3-MGM_01-ChatIn.css", "3-MGM_02-OTUI_Base.css", "3-MGM_02-OTUI_Pop.css", "4-SM_Base.css", "4-SM_Pop.css", "4-SM_UnNitrofy.css", "5-ChatEffects_CD.css", "6-CFIX_RPLUGIN.css", "6-CFIX_RTHEME.css", "6-CLIST_RPLUGIN.css", "6-CLIST_RTHEME.css"]
input_files = [
"0-BIOS.css",
"0-Kernel_Ring1.css",
"0-Kernel_Ring3.css",
"0-Kernel_Serial.css",
"2-Theme_01-CustomIMG.css",
"3-MGM_00-Control.css",
"3-MGM_01-ChatEx.css",
"3-MGM_01-ChatIn.css",
"4-SM_Pop.css",
]
output_file = "lpm.css" # Specify the output file path here

try:
Expand Down
86 changes: 25 additions & 61 deletions src/LPM/lpm.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This license requires that reusers give credit to the creator. It allows reusers

--Flashcord-Branch: "Flashcord";
--Flashcord-Channel: "LPM";
--Flashcord-Version: "231108_HF2";
--Flashcord-Version: "231204";

background: #000000;
}
Expand Down Expand Up @@ -71,10 +71,13 @@ body {
--bg-overlay-6: transparent;
}

html:not(html:hover) #app-mount {
container-name: var(--FlashCore-Idle_Optimizations, FC-Idle_OptiMax) !important;
/* Slightly more performant by avoiding the html:not(html:hover), at least I think it's better????*/
html:hover #app-mount {
container-name: FC-VOID !important;
}
#app-mount {
container-name: var(--FlashCore-Idle_Optimizations, FC-Idle_OptiMax);
container-type: inline-size;

}

@container FC-Idle_OptiMax (min-width: 0px) {
Expand Down Expand Up @@ -102,13 +105,6 @@ html:not(html:hover) #app-mount {

/* [START] = Flashcord Beta == Kernel [01] CSS = */

body {
--Flashcolord-Light_Accent: rgba(0,155,255,0.5);
--Flashcolord-Dark_Accent: rgba(255,55,0,0.5);
--Flashcolord-CBM_Light-Floating: rgba(255,255,255,0.5);
--Flashcolord-CBM_Dark-Floating: rgba(0,0,0,0.5);
}

.theme-light {
--background-primary: #FFFFFF;
--background-secondary: #FFFFFF;
Expand Down Expand Up @@ -160,6 +156,8 @@ body:before {
height: calc(100vh - 24px);
}

/* NOTICE: I need someone with a macbook to help me debug this, I think somebody said this was broken again on MacOS?
In other words, "plis help ecta i ned to connekt to ur hakintoch again" */
.platform-osx body:before {
content: "🍎 " var(--Flashcord-Branch) " " var(--Flashcord-Channel) "-" var(--Flashcord-Version);
color: #ffffff;
Expand Down Expand Up @@ -190,8 +188,9 @@ body:before {
html.platform-win { --FlashCore-OS: "🪟 Windows" }
html.platform-osx { --FlashCore-OS: "🍎 MacOS" }
html.platform-linux { --FlashCore-OS: "🐧 GNU/Linux" }
html.replugged { --FlashCore-Client: "🔌 Replugged"; }
html.replugged { --FlashCore-Client: "🔌 Replugged"; } /* Still not working yet if I recall, supposed to be inside a future update*/
html:has(#vencord-margins) { --FlashCore-Client: "✨ Vencord"; }
/* These look ugly and probably need optimizations */
html:has(body[class*="bd"]) { --FlashCore-Client: "🩹 BetterDiscord [UNSUPPORTED]"; }
html:has([content*="canary"]) { --FlashCore-Discord_Branch: "Canary"; }
html:has([content*="ptb"]) { --FlashCore-Discord_Branch: "Public Beta Test"; }
Expand Down Expand Up @@ -236,30 +235,16 @@ This information is only visible to you, please screenshot it and send it to @Si

@container FC-AdvancedTheme-LEGACY_Custom-Background-Mode (min-width: 0px) {
body {
--FlashCore-ChatSlide: FC-ChatSlide_Legacy;
--FlashCore-Brightness: 0.5;
}
.theme-light body {
background-image: var(--Flashcord-CBM_Light-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/bgr-test.jpg") ) !important;
}
.theme-dark body {
background-image: var(--Flashcord-CBM_Dark-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/hypernner.jpg") ) !important;
}
[class^="layer_"]:nth-child(2) {
border: 1px solid white;
--FlashCore-ChatSlide: FC-ChatSlide_Legacy;
--FlashCore-Brightness: 0.5;
}
.theme-light body { background-image: var(--Flashcord-CBM_Light-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/bgr-test.jpg") ) !important; }
.theme-dark body { background-image: var(--Flashcord-CBM_Dark-Image, url("https://sirio-network.com/flashcord/ressources/backgrounds/hypernner.jpg") ) !important; }

@container FC-ChatSlide_Legacy (min-width: 0px) {
[class^="chat_"] > section, [class^="chat_"] > div, [class^="chat_"] {
background: transparent !important;
}
}
.custom-theme-background.theme-light #app-mount {
backdrop-filter: var(--Flashcord-CBM_Light-Filter, blur(8px) brightness(1));
}
.custom-theme-background.theme-dark #app-mount {
backdrop-filter: var(--Flashcord-CBM_Dark-Filter, blur(16px) brightness(0.5));
}
[class^="layer_"]:nth-child(2) { border: 1px solid white; }

.custom-theme-background.theme-light #app-mount { backdrop-filter: var(--Flashcord-CBM_Light-Filter, blur(8px) brightness(1)); }
.custom-theme-background.theme-dark #app-mount { backdrop-filter: var(--Flashcord-CBM_Dark-Filter, blur(16px) brightness(0.5)); }
}

/* [End] = Flashcord Beta == Custom Theme: CBM CSS = */
Expand Down Expand Up @@ -346,15 +331,6 @@ This information is only visible to you, please screenshot it and send it to @Si
}
}

@container FC-ChatSlide_Legacy (min-width: 0px) {
[class^="sidebar-"] {
width: 48px;
}
:is([class*="baseLayer"]:has([class*="guilds-"]:hover, [class^="sidebar-"]:hover), [class^="notAppAsidePanel-"]:has([id*="guild-"])) .sidebar-1tnWFu { /* [!] FC-Wildcard_PerfNuker */
width: 240px;
}
}

/* Member Slide Core */
[class^="chat_"] {
container-name: var(--FlashCore-MemberSlide, FC-MemberSlide);
Expand All @@ -379,23 +355,6 @@ This information is only visible to you, please screenshot it and send it to @Si
}
}

/* GuildNav_Glow Core */

[data-list-id="guildsnav"] {
container-name: var(--FlashCore-GuildNav_Notification, FC-GuildNav_Animated);
container-type: inline-size;
}

@container FC-GuildNav_Static (min-width: 0px) {
[class^="listItem_"]:has([style*="height: 8px"], [class^="lowerBadge_"]), [class^="listItem_"]:hover {
scale: 0.975;
filter: drop-shadow(0 0 var(--Flashcord-GuildShadow_Size, 4px) var(--Flashcord-GuildShadow_Unread, #0000FF));
}
[class^="pill_"] {
display: none;
}
}

/* GuildNav_Compact Core */

[class^="container_"]:has([data-list-id="guildsnav"]) {
Expand All @@ -415,6 +374,7 @@ This information is only visible to you, please screenshot it and send it to @Si
[id^="folder-items-"] { height: auto !important; }
[class^="listItem_"] { scale: 0.9; }
[class^="listItem_"]:has([class^="guildSeparator_"]) { display: none; }
[class^="pill_"] { left: 4px !important; } /* Pill Bugfix */
}

@container FC-GuildNav_Compact-Horizontal (min-width: 0px) {
Expand Down Expand Up @@ -515,7 +475,7 @@ This information is only visible to you, please screenshot it and send it to @Si

/* [START] = Flashcord Beta == Major General Modifications [00] ChatIn CSS = */

/* Imagivid Zoom Core */
/* Imagivid Zoom Core: Note, animations nerfed (well removed) */
[class^="layer_"]:has([class^="focusLock_"] [class*="downloadLink_"]) {
container-name: var(--FlashCore-ImagividZoom, FC-ImagividZoom);
container-type: inline-size;
Expand Down Expand Up @@ -617,6 +577,10 @@ ol[class^="scrollerInner_"] {
padding: 0;
margin: -4px;
}
[class^="scroller_"] { /* I had to add this too cause for some fucking reason it's fucked too. This MAY cause issues in the long term, hope people will send bug reports if it does cause nukes to be launched.*/
padding: 8px !important;
margin: -4px;
}

/* [End] = Flashcord Beta == Small Modifications - Popup CSS = */

Loading

0 comments on commit 9f6a793

Please sign in to comment.