Skip to content

Commit

Permalink
LPM_240504
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriusBYT committed May 4, 2024
1 parent 290a3d5 commit b40199d
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 146 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"discordID": "311057290562371586",
"github": "SiriusBYT"
},
"version": "LPM-240423",
"version": "LPM-240504",
"updater": {
"type": "store",
"id": "com.sirio-network.Flashcord-LPM"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Flashcord for Low-End Systems (LPM)",
"version": "LPM-240423",
"version": "LPM-240504",
"description": "Flashcord but nerfed, debloated. A stripped down version for those who want a no non-sense experience. [i] Read the Flashcord Wiki for more information [i]",
"engines": {
"node": ">=18.0.0",
Expand Down
7 changes: 2 additions & 5 deletions src/LPM/0-Kernel/BIOS.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Kernel/BIOS Handles fonts, variables and idle optimizations.*/

--FlashCore-Branch: "Flashcord";
--FlashCore-Channel: "LPM";
--FlashCore-Version: "240423";
--FlashCore-Version: "240504";
}

/* Idle Optimizations // Iridescent Mode disables those automatically.
Expand All @@ -29,9 +29,6 @@ Maybe it will work on LPM because there's less shit though? */
--Flashcord-Animation_Multiplier: 0;
--Flashcord-Transition_Multiplier: 0;
--Flashcord-Blur_Multiplier: 0;

--Flashcord-Module_Guild-Notification: FCM-Guild_Notification_Static;
--Flashcord-Module_Channel-Notification: FCM-Channel_Notification-Static;
}
}

Expand All @@ -43,7 +40,6 @@ body { /* Theming // Setting stuff for Background Images */
background-repeat: no-repeat;
object-fit: cover;
background-size: cover;
container-name: var(--FlashCore-Theme, FCM-Theme_LegacyCBM);
}

html.custom-theme-background { /* Permits Transparent Backgrounds (This will get rid of Nitro Themes!) */
Expand All @@ -66,6 +62,7 @@ html.custom-theme-background { /* Permits Transparent Backgrounds (This will get
--bg-overlay-home: var(--FlashCore-Theme_Color);
--bg-overlay-home-card: var(--FlashCore-Theme_Color);
--bg-overlay-app-frame: var(--FlashCore-Theme_Color);
container-name: var(--FlashCore-Theme, FCM-Theme_HookerlessCBM);
}

html { /* bSID-DEV_240314: This file is ugly. Too bad! // bSID-DEV_240315: Unfucking in progress. // bSID-DEV_240420: Now merged in BIOS File! */
Expand Down
8 changes: 8 additions & 0 deletions src/LPM/0-Kernel/Ring2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* Kernel/Ring3 handles branding. */

[class^="notAppAsidePanel_"]::before {
color: var(--Flashcord-Text); font-size: 12px; font-weight: 900;
position: absolute; top: 8px; left: 6px; width: 100vw; opacity: 0.5; z-index: 1;
user-select: none; pointer-events: none;
content: "🪟 " var(--FlashCore-Branch) " " var(--FlashCore-Channel) "-" var(--FlashCore-Version);
} /* bSID-DEV_240422 RC3: This is only used for Windows now. */
41 changes: 36 additions & 5 deletions src/LPM/1-Theme/01-CustomIMG.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,39 @@
/* Theme/CustomIMG is responsable for adding the CBM Advanced Theme. */

@container FCM-Theme_LegacyCBM (min-width: 0) {
body { --Flashcord-Module_Chat-Slide: FCM-Chat-Slide_Legacy; --Flashcord-UI_Brightness: 0.5; background-image: var(--Flashcord-Image_CBM); }
.custom-theme-background #app-mount { backdrop-filter: var(--Flashcord-Filter_CBM); }
[class^="layer_"]:nth-child(2) { border: 1px solid white; }
.custom-theme-background [class^="chat_"] [class^="title_"] [class^="children_"]::after { content: var(--FCL-Warning_Deprecated) !important; }
.custom-theme-background { --FlashCore-Theme_Color: transparent; --Flashcord-Module_Chat-Slide: void; }
.custom-theme-background.theme-dark {
--interactive-muted: #A0A0A0;
--interactive-hover: white;
--channels-default: #EEEEEE;

--Flashcord-UI_Brightness: 2;
--background-floating: rgba(6,6,6,0.5);
--background-modifier-selected: rgba(16,16,16,0.5);
--background-modifier-hover: rgba(175, 169, 169, 0.5);
}
.custom-theme-background.theme-light {
--interactive-muted: #5f5f5f;
--primary-330: #5f5f5f;
--interactive-hover: black;
--channels-default: #111111;
--Flashcord-UI_Brightness: 1;
--background-floating: rgba(155,155,155,0.5);
--background-modifier-selected: rgba(200,200,200,0.5);
--background-modifier-hover: rgba(255,255,255,0.5);
}

/* Feel free to port this to a Flashcord Module to SID for non-replugged/non-themehooker users.
SID/STB cannot do this because it would cause an inflated file size which I do not want at all considering how huge SID/STB is already.
Also this solution is rather messy and may fuck up other stuff // Note that Hookerless CBM has less stuff as this is destined for LPM. */
@container FCM-Theme_HookerlessCBM (min-width: 0) {
body::before {
position: absolute; top: 0; left: 0; z-index: 0;
content: ""; width: 100vw; height: 100vh;
backdrop-filter: var(--Flashcord-Filter_CBM);
} body { background-repeat: no-repeat; background-image: var(--Flashcord-Image_CBM); }
@container FCM-Member-Slide (min-width: 0) {
[class^="membersWrap_"] { transition-property: background-color; transition-duration: var(--Flashcord-Transition_Normal); }
[class^="membersWrap_"]:hover { background-color: var(--Flashcord-Floating); }
} [class^="autocomplete_"], [class^="autocomplete_"] [class*="categoryHeader_"] { background: var(--Flashcord-Heavy-Floating) !important; }
@container FCM-Popup-Menu (min-width: 0) { [role="menu"] { background: var(--Flashcord-Floating); } }
}
2 changes: 1 addition & 1 deletion src/LPM/2-Control/00-Panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bSID-DEV_240411 Update: lol can't do more shit about it for now; cry about it */
}

[class^="sidebarRegion_"] {
container-name: var(--Flashcord-Module_ControlPanel_SidebarTweaks,FCM-Control-Panel_Tweaks);
container-name: var(--Flashcord-Module_ControlPanel_SidebarTweaks, FCM-Control-Panel_Side-Tweaks);
container-type: inline-size;
}

Expand Down
18 changes: 3 additions & 15 deletions src/LPM/3-Major/0-Chat_External.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@
:is([class^="container_"]:has([class*="sidebar_"]:hover, [data-list-id="guildsnav"]:hover)) .chat__52833 { /* [!] */
translate: 0px;
} [class^="chat_"]:has([class^="pageBody-"]) { margin-right: 0; translate: 0; }
} @container FCM-Chat-Slide_Legacy (min-width: 0) {
[class^="sidebar_"] {
width: 40px; transition-property: width; transition-duration: var(--Flashcord-Transition_Normal);
} [class^="scroller_"] { translate: -2px;}
:is([class*="baseLayer_"]:has([class*="guilds_"]:hover, [class^="sidebar_"]:hover)) .sidebar_e031be { /* [!] */
width: 240px; will-change: width; /* <- no idea if this helps lmfao - bSID-DEV_240421*/
} nav, section { overflow-x: hidden; width: 240px;}
}


Expand All @@ -32,8 +25,6 @@
position: relative; z-index: 1;
margin-left: -190px; translate: 190px;

--Initial: 250px; --Final: 190px;
animation: SNDL-Translate_Custom var(--Flashcord-Animation_XSlow);
transition-property: translate; transition-duration: var(--Flashcord-Transition_Normal);
}
[class^="container_"]:has([class^="membersWrap_"]:hover) { translate: 0px; }
Expand All @@ -54,10 +45,6 @@
container-name: var(--Flashcord-Module_Guild-Notification, FCM-Guild_Notification-Static);
container-type: inline-size;
} @container FCM-Guild_Notification-Static (min-width: 0) {
[class^="listItem_"] {
transition-property: scale, filter !important;
transition-duration: var(--Flashcord-Transition_Fast);
}
[class^="listItem_"]:has([style*="height: 8px"], [class^="lowerBadge-"]), [class^="listItem_"]:hover {
scale: 0.975; filter: drop-shadow(0 0 var(--Flashcord-Guild_Notification-Size) var(--Flashcord-Guild_Notification-Color));
} [class^="pill_"] { display: none; }
Expand Down Expand Up @@ -147,8 +134,9 @@
[class^="children_"] svg:has([d="M12 22a10 10 0 1 0-8.45-4.64c.13.19.11.44-.04.61l-2.06 2.37A1 1 0 0 0 2.2 22H12Z"]) { display: block; animation: SNDL-Fade_In var(--Flashcord-Animation_Slow);}
[class^="children_"] svg { display: none; }

[class^="positionedContainer_"] > [class^="container_"] { justify-content: flex-start; left: 13px; }
[class^="positionedContainer_"] svg { margin-right: 8px;}
/* Unread/Mention Pill aligned to left for Chat-SLide to be less painful to use */
[class*="top_"], [class*="bottom_"] { justify-content: flex-start; left: 13px; }
[class*="top_"] svg, [class*="bottom_"] svg { margin-right: 8px;}
}

#channels {
Expand Down
15 changes: 1 addition & 14 deletions src/LPM/3-Major/0-Chat_Internal.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@
container-name: var(--Flashcord-Chatbox, FCM-Chatbox_L1); container-type: inline-size;
border-radius: var(--Flashcord-UI_Border-Radius);
}
[class^="typing_"] {
top: -24px; width: fit-content;
margin-left: auto; margin-right: auto;
--Initial: 0 5vh; animation: SNDL-Translate_Custom var(--Flashcord-Animation_Normal) !important;
}
[class^="typing_"]:has([class^="typingDots_"]) { margin-left: 0; margin-right: 0; }
[class^="cooldownWrapper_"] { margin: auto !important; }
[class^="form_"] { padding: 0 0px 0 8px; z-index: 1; }
Expand All @@ -45,14 +40,6 @@
[class^="inner_"] {
display: flex; align-items: center;
padding: 0 8px 0 8px;
} [class^="placeholder_"] { display: none; }
[class^="attachWrapper_"] {
width: min-content; height: min-content;
margin: auto; translate: 4px;
} [class^="attachButton_"] { width: min-content; height: min-content; }
[class^="sprite_"], svg {
transition-property: opacity, scale; transition-duration: var(--Flashcord-Transition_Fast);
opacity: 0.5;
} [class^="sprite_"]:hover, svg:hover { opacity: 0.8; scale: 1.1; } [class^="sprite_"]:active, svg:active { scale: 0.9; }
} [class^="sprite_"], svg { opacity: 0.5; }
}
}
1 change: 0 additions & 1 deletion src/LPM/3-Major/1-Other_Popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
container-type: inline-size;
contain: paint;
} @container FCM-Popup-Menu (min-width: 0) {
.theme-light, .theme-dark { animation: SNDL-Fade_In var(--Flashcord-Animation_Fast) ease-in-out;}
[class^="scroller_"] { padding: 4px !important; }
[class*="menu"] { border-radius: var(--Flashcord-UI_Border-Radius); min-width: 0;}
[class^="item_"] {border-radius: var(--Flashcord-UI_Border-Radius); transition-property: background-color; transition-duration: var(--Flashcord-Transition_Fast); }
Expand Down
4 changes: 0 additions & 4 deletions src/LPM/4-Minor/0-Base.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
/* Minor/Base contains minor modifications which are located in Discord's BaseLayer */

/* Real men don't need help. */
[href="https://support.discord.com"] { display: none; }
[class^="recentsIcon_"] { width: 38px; } /* This is required to fix alignment issues due to removing the help button */

/* @ Before Usernames */
[class^="userTagUsernameBase_"]:before, [class^="usernameInnerRow_"]:before { content: "@" }
Loading

0 comments on commit b40199d

Please sign in to comment.