Skip to content

Commit

Permalink
Merge pull request #80 from biast12/master
Browse files Browse the repository at this point in the history
Class name update
  • Loading branch information
Gibbu authored Oct 27, 2023
2 parents 6509f33 + 8a10966 commit d23e7c6
Show file tree
Hide file tree
Showing 42 changed files with 161 additions and 161 deletions.
2 changes: 1 addition & 1 deletion src/core/_root.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Old Windows titlebar - remove this @import if you wish to use default titlebar */
@import url('https://gibbu.github.io/BetterDiscord-Themes/addons/windows-titlebar.css');
@import url("https://discordstyles.github.io/Addons/windows-titlebar.css");

:root {
/*
Expand Down
12 changes: 6 additions & 6 deletions src/theme/app/_app.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#app-mount {
.layer-86YKbF {
.layer_e552e0 {
top: var(--window-padding);
right: var(--window-padding);
bottom: var(--window-padding);
Expand All @@ -9,7 +9,7 @@
border-radius: var(--window-roundness);
}
// Container shadow
.base-2jDfDU::before {
.base__3e6af::before {
content: '';
position: absolute;
height: 5px;
Expand All @@ -21,17 +21,17 @@
user-select: none;
}
// Bot tags
.botTagRegular-2HEhHi {
.botTagRegular_c89c9a {
background: var(--gradient);
color: var(--text-normal);
margin-top: 0;
}
.botText-1fD6Qk {
.botText__19848 {
font-weight: 600;
}
.botTagInvert-18-95s {
color: rgb(var(--gradient-primary));
.botText-1fD6Qk {
.botText__19848 {
font-weight: bold;
}
}
Expand All @@ -41,7 +41,7 @@
color: var(--text-normal);
}
// Update notice
#app-mount .app-2CXKsg::before {
#app-mount .app__00c92::before {
content: 'Your version of Frosted Glass is outdated. Please redownload';
white-space: pre-wrap;
display: var(--update-notice-1, block);
Expand Down
28 changes: 14 additions & 14 deletions src/theme/app/_background.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#app-mount {
.bg-1QIAus {
.bg__7adbf {
top: -22px;
right: 0;
bottom: 0;
Expand All @@ -21,32 +21,32 @@
}
}
[role='menu'],
.autocompleteInner-y1mjDl,
.container-2McqkF,
.autocompleteInner_a0e6a1,
.container_d6dad3,
.container-enaOkj,
.container-8Futzw,
.container__56cd1,
.contextMenu-HLZMGh:not(.scroller-2FKFPG),
.emojiPicker-6YCk8a,
.messagesPopoutWrap-3zryHW,
.modal-2RrUKJ:not(.slide-2pHaq5),
.emojiPicker_b65ce9,
.messagesPopoutWrap_b3b384,
.modal__060da:not(.slide-2pHaq5),
.root-1gCeng:not(.fullscreenOnMobile-1bD22y),
.root-8LYsGj,
.subMenuContext-2n_9YM .scrollerWrap-2lJEkd,
section.positionContainer-3unAXC .drawerSizingWrapper-27qFHb,
.quickswitcher-pKcM9U,
.quickswitcher_a3d29a,
.root-1gCeng.wrapper-2ZbzR9,
.modalRoot-1Kx4Hb,
.container-3JTnYm.thin-1ybCId.scrollerBase-_bVAAt,
.popoutContainer-2wbmiM,
.popoutContainer__7b9a3,
.userProfileModalOuter-1FYL8T,
.container-2O1UgZ,
.container-18GwIk,
.popout-TdhJ6Z,
.container__8261a,
.popout__24e32,
.reactionTooltip-3IOBwg,
.picker-20lcBA,
.picker__6dca7,
.container-3a5mk-,
.popout-VbwYm1,
.popout-15UxD6 {
.popout__83ef0,
.popout_a6e77f {
overflow: hidden !important;
position: relative;
border-radius: 3px;
Expand Down
14 changes: 7 additions & 7 deletions src/theme/app/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
color: rgb(255, 255, 255, 0.5);
}
// Radio buttons
.item-1TA5qI {
.item_b7fb7e {
border: none;
background: var(--background-secondary);
.checkbox-1ix_J3 {
Expand All @@ -95,9 +95,9 @@
polyline {
stroke: rgb(var(--gradient-primary));
}
&:has(> .radioBar-1XgZqD[style*='--radio-bar-accent-color']) {
&:has(> .radioBar__40e1b[style*='--radio-bar-accent-color']) {
background: transparent !important;
.radioBar-1XgZqD {
.radioBar__40e1b {
background: var(--radio-bar-accent-color);
}
}
Expand Down Expand Up @@ -134,7 +134,7 @@
}
// Select
[class*='css'][class*='control'],
.select-Zz0IcO {
.select__0eb48 {
background: var(--background-secondary);
border-color: transparent;
}
Expand All @@ -143,15 +143,15 @@
opacity: 1;
}
// Select Dropdown
.popout-15UxD6 {
.popout_a6e77f {
backdrop-filter: blur(var(--overlay-blur, 5px));
background: rgb(0 0 0 / var(--overlay-brightness));
}
// Range
.bar-2H7Q9u {
.bar_e58961 {
background: var(--foreground-double);
}
.barFill-3RgCsY {
.barFill__30e17 {
background: var(--gradient);
}
// Keybind
Expand Down
6 changes: 3 additions & 3 deletions src/theme/app/_notices.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#app-mount {
.notice-2HEN-u {
.notice__5fd4c {
height: 48px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0;
box-shadow: none;
padding-right: var(--TB-header-padding, 12px);
.button-1iHNQ2 {
.button__57d93 {
top: 0;
background: var(--foreground);
border-color: transparent;
Expand All @@ -20,7 +20,7 @@
}
}
}
.closeButton-30b1gR {
.closeButton_ffc97a {
right: unset;
left: 0;
height: 48px;
Expand Down
6 changes: 3 additions & 3 deletions src/theme/app/_toolbars.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#app-mount .title-5wgnIa {
#app-mount .title_b7d661 {
background: transparent;
.searchBar-jGtisZ {
.searchBar_e0c60b {
background: var(--background-secondary);
}
.children-3xh0VB::after {
.children__32014::after {
content: none;
}
}
6 changes: 3 additions & 3 deletions src/theme/app/_tooltips.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#app-mount {
.tooltip-33Jwqe {
.tooltip__01384 {
color: var(--text-normal);
text-align: center;
font-weight: 600;
}
.tooltipPrimary-2466a2 {
.tooltipPrimary_e5c00d {
background: var(--gradient);
.tooltipPointer-sMBQqe {
.tooltipPointer_a79354 {
display: none;
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/theme/chat/_call.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#app-mount {
.wrapper-1gVUIN.minimum-fXpVNc {
.wrapper_bd2abe.minimum_ebf000 {
background: var(--background-secondary);
}
.centerButton-3CaNcJ {
Expand All @@ -8,13 +8,13 @@
background: var(--foreground-double);
}
}
.controlButton-2PMNom.leaveButton-2YnTyt {
.controlButton_ab2899.leaveButton-2YnTyt {
background: rgb(var(--discord-red), 0.5);
&:hover {
background: rgb(var(--discord-red));
}
}
.quickSelect-384d3G {
.quickSelect_ae48d2 {
margin-top: 10px;
}
}
8 changes: 4 additions & 4 deletions src/theme/chat/_chatbox.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#app-mount .form-3gdLxP {
#app-mount .form__13a2c {
margin-top: 0;
.attachButton-_ACFSu {
.attachButton_b1db83 {
padding: 10px;
}
.placeholder-1_mJY1,
.slateTextArea-27tjG0 {
.placeholder__4bea5,
.slateTextArea__0661c {
padding-left: 5px;
}
}
8 changes: 4 additions & 4 deletions src/theme/chat/_container.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#app-mount {
.content-1jQy2l::before {
.content__1a4fe::before {
content: none;
}
.chat-9g_3Xj {
.chat__52833 {
background: rgb(0, 0, 0, var(--middle-brightness));
}
.messages-3amgkR {
background-color: transparent;
text-shadow: 0 2px 5px rgb(0, 0, 0, var(--text-shadow));
}
.newMessagesBar-1hF-9G {
.newMessagesBar__8b6d7 {
background: var(--gradient);
opacity: 1;
box-shadow: 0 2px 5px rgb(0, 0, 0, 0.5);
}
.jumpToPresentBar-1cEnH0 {
.jumpToPresentBar__0ff7f {
border-radius: 8px;
background-color: var(--foreground-double);
padding-bottom: 0;
Expand Down
6 changes: 3 additions & 3 deletions src/theme/chat/_dividers.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#app-mount .divider-2rZFJK {
#app-mount .divider_b9338f {
border: none;
.content-3spvdd {
.content_d67847 {
display: flex;
width: 100%;
justify-content: center;
Expand All @@ -21,7 +21,7 @@
margin-left: 10px;
}
}
&.isUnread-3Lojb- {
&.isUnread__6f880 {
border-top: 1px solid rgb(var(--discord-red));
}
}
2 changes: 1 addition & 1 deletion src/theme/chat/_forum.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
background: transparent;
}
}
.pill-3pRQlO {
.pill_f055c3 {
background: var(--foreground);
transition: 0.15s ease background;
&:hover {
Expand Down
18 changes: 9 additions & 9 deletions src/theme/chat/_messages.scss
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
#app-mount {
.cozy-VmLDNB .header-23xsNx {
.cozy_f5c119 .header-23xsNx {
margin-left: 0;
padding-left: 0;
}
.message-G6O-Wv {
.message__04d9f {
background: transparent;
box-shadow: none;
}
// Attachments,pings,codeblocks ect...
.message-2CShn3 {
.message__80c10 {
background: transparent !important;
.reaction-3vwAF2 {
.reaction_b90ab0 {
background: var(--foreground);
&.reactionMe-1PwQAc {
&.reactionMe_bf6909 {
background: var(--gradient);
.reactionCount-26U4As {
.reactionCount__60448 {
color: var(--text-normal);
}
}
}
.wrapper-2vIMkT {
.wrapper_c727b6 {
background: var(--background-secondary);
}
.attachment-33OFj0,
Expand All @@ -36,13 +36,13 @@
color: var(--text-default);
}
// Mentions
.mentioned-Tre-dv {
.mentioned__58017 {
background: var(--gradient-20) !important;
&::before {
background: var(--gradient);
}
}
.wrapper-1ZcZW- {
.wrapper__2d9b1 {
background: var(--gradient);
color: var(--text-normal);
}
Expand Down
2 changes: 1 addition & 1 deletion src/theme/chat/_threads.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#app-mount {
.container-3XgAHv {
.container_def45c {
background: rgb(0, 0, 0, var(--middle-brightness));
}
}
4 changes: 2 additions & 2 deletions src/theme/guilds/_container.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#app-mount .guilds-2JjMmN {
#app-mount .guilds__2b93a {
background-color: transparent;
.scrollerBase-1Pkza4 {
.scrollerBase_dc3aa9 {
background-color: rgb(0, 0, 0, var(--serverlist-brightness));
&::-webkit-scrollbar {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/theme/guilds/_folder.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#app-mount .guilds-2JjMmN {
#app-mount .guilds__2b93a {
[class*='expandedFolderBackground'] {
background: var(--foreground);
}
Expand Down
Loading

0 comments on commit d23e7c6

Please sign in to comment.