Skip to content

Commit 9f1c3fa

Browse files
committed
Merge remote-tracking branch 'original/master'
# Conflicts: # package.json # src/root.scss # src/theme/chat/_chatbox.scss
2 parents 8ece903 + 5f5bc84 commit 9f1c3fa

21 files changed

+56
-57
lines changed

bun.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
{
22
"name": "frostedglass",
3-
"version": "1.0.0",
4-
"description": "Display your picture of choice with adjustable blur and brightness.",
5-
"repository": "https://github.com/DiscordStyles/FrostedGlass.git",
6-
"author": "Gibbu <Gibbu_@hotmail.com>",
73
"license": "MIT",
84
"private": false,
95
"type": "module",
106
"scripts": {
11-
"dev": "bd-scss dev",
12-
"build": "bd-scss build",
7+
"dev": "bun --bun bd-scss dev",
8+
"build": "bun --bun bd-scss build",
139
"reroll": "bd-scss reroll"
1410
},
1511
"dependencies": {
16-
"@discordstyles/classes": "^1.0.2"
12+
"@discordstyles/classes": "^1.0.6",
13+
"bd-scss": "^3.0.8"
1714
},
18-
"packageManager": "pnpm@8.15.5+sha512.b051a32c7e695833b84926d3b29b8cca57254b589f0649d899c6e9d0edb670b91ec7e2a43459bae73759bb5ce619c3266f116bf931ce22d1ef1759a7e45aa96f",
1915
"devDependencies": {
2016
"bd-scss": "^3.0.5",
2117
"prettier": "^3.5.3",

src/root.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Old Windows titlebar - remove this @import if you wish to use default titlebar */
2-
// @import url('https://discordstyles.github.io/Addons/windows-titlebar.css');
2+
@import url('https://chloecinders.github.io/visual-refresh-compact-title-bar/desktop.css');
33

44
:root {
55
/*

src/theme/app/_app.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
border: none;
2626
}
2727

28-
.container__9293f, .container__133bf {
28+
.container__9293f,
29+
.container__133bf {
2930
border: none;
3031
}
3132

@@ -84,4 +85,4 @@ html.custom-theme-background #{cls('mount app.inner')}::before {
8485
font-weight: 700;
8586
font-size: larger;
8687
z-index: 9000;
87-
}
88+
}

src/theme/app/_background.scss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
.container__56cd1,
3030
.contextMenu-HLZMGh:not(.scroller-2FKFPG),
3131
.contentWrapper__08434,
32-
.appAsidePanelWrapper_a3002d .layerContainer_da8173 .clickTrapContainer_da8173 #emoji-picker-tab-panel, //for the reaction picker on messages, distinct from normal emoji picker
33-
.messagesPopoutWrap__45690,
34-
.modal__7f8f5:not(.slide-2pHaq5),
32+
.appAsidePanelWrapper_a3002d .layerContainer__59d0d .clickTrapContainer__59d0d #emoji-picker-tab-panel, //for the reaction picker on messages, distinct from normal emoji picker
33+
.messagesPopoutWrap_e8b59c,
34+
.modal_ab9bdf:not(.slide-2pHaq5),
3535
.root-1gCeng:not(.fullscreenOnMobile-1bD22y),
3636
.root-8LYsGj,
3737
.subMenuContext-2n_9YM .scrollerWrap-2lJEkd,
@@ -48,7 +48,7 @@
4848
.picker__09f65,
4949
.container-3a5mk-,
5050
.popout__86331,
51-
.popout__3f413,
51+
.popout_a16aea,
5252
.streamPreview__6da2d,
5353
.wrapper_f7ecac {
5454
overflow: hidden !important;
@@ -129,3 +129,8 @@
129129
}
130130
}
131131
}
132+
133+
// Remove discord app default background color (potentially if user want to use --background-image: transparent;)
134+
.app__160d8, .appMount__51fd7, body {
135+
background: transparent;
136+
}

src/theme/app/_inputs.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
color: rgb(255, 255, 255, 0.5);
7777
}
7878
// Radio buttons
79-
.item__001a7 {
79+
.item__88a69 {
8080
border: none;
8181
background: var(--background-secondary);
8282
.checkbox-1ix_J3 {
@@ -95,9 +95,9 @@
9595
polyline {
9696
stroke: rgb(var(--gradient-primary));
9797
}
98-
&:has(> .radioBar__001a7[style*='--radio-bar-accent-color']) {
98+
&:has(> .radioBar__88a69[style*='--radio-bar-accent-color']) {
9999
background: transparent !important;
100-
.radioBar__001a7 {
100+
.radioBar__88a69 {
101101
background: var(--radio-bar-accent-color);
102102
}
103103
}
@@ -134,7 +134,7 @@
134134
}
135135
// Select
136136
[class*='css'][class*='control'],
137-
.select__3f413 {
137+
.select_a16aea {
138138
background: var(--background-secondary);
139139
border-color: transparent;
140140
}
@@ -143,7 +143,7 @@
143143
opacity: 1;
144144
}
145145
// Select Dropdown
146-
.popout__3f413 {
146+
.popout_a16aea {
147147
backdrop-filter: blur(var(--overlay-blur, 5px));
148148
background: rgb(0 0 0 / var(--overlay-brightness));
149149
overflow-y: scroll !important;

src/theme/app/_toolbars.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,10 @@
99
}
1010
}
1111

12-
// Discords new titlebar
13-
#app-mount {
14-
.bar_c38106 {
15-
background-color: rgb(0, 0, 0, var(--serverlist-brightness));
16-
}
17-
}
18-
1912
// Makes the top bar more easily grabbable
2013
.titleBar__421ed {
2114
height: 20px !important;
2215
-webkit-app-region: drag;
2316
pointer-events: none;
2417
top: 0;
2518
}
26-

src/theme/app/_tooltips.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#app-mount {
2-
.tooltip__382e7 {
2+
.tooltip_c36707 {
33
color: var(--text-normal);
44
text-align: center;
55
font-weight: 600;
66
}
7-
.tooltipPrimary__382e7 {
7+
.tooltipPrimary_c36707 {
88
background: var(--gradient);
9-
.tooltipPointer__382e7 {
9+
.tooltipPointer_c36707 {
1010
display: none;
1111
}
1212
}

src/theme/chat/_chatbox.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ div.scrollableContainer__74017.themedBackground__74017 {
4343
background: transparent;
4444
}
4545

46-
#{cls('chat.textbox.placeholder')},
47-
#{cls('chat.textbox.slate')} {
48-
padding-left: 5px;
49-
}
46+
// #{cls('chat.textbox.placeholder')},
47+
// #{cls('chat.textbox.slate')} {
48+
// padding-left: 5px;
49+
// }
5050

5151
#{cls('chat.textbox.channelTextarea')} {
5252
background: none;
@@ -72,4 +72,4 @@ div.scrollableContainer__74017.themedBackground__74017 {
7272
}
7373
//#endregion Attachments
7474
}
75-
}
75+
}

src/theme/chat/_container.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,10 @@
4141
background-color: var(--foreground-triple);
4242
}
4343
}
44+
45+
// TODO: add this this discordclasses
46+
.chatGradientBase__36d07 {
47+
display: none;
48+
}
4449
//#endregion Chat
4550
}

0 commit comments

Comments
 (0)