mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 11:27:02 -04:00
ShowHiddenChannels: Use Discord's new overlay vars (#795)
* Fix SHC css for new Discord vars * I'm dumb * improvements to work with themes --------- Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
38f3aac98d
commit
9d742094cb
2 changed files with 6 additions and 6 deletions
|
@ -84,6 +84,7 @@ export function setChannelBeginHeaderComponent(component: ComponentType<any>) {
|
|||
}
|
||||
|
||||
const ChatScrollClasses = findByPropsLazy("auto", "content", "scrollerBase");
|
||||
const ChatClasses = findByPropsLazy("chat", "content", "noChat", "chatContent");
|
||||
const TagComponent = LazyComponent(() => find(m => {
|
||||
if (typeof m !== "function") return false;
|
||||
|
||||
|
@ -159,7 +160,7 @@ function HiddenChannelLockScreen({ channel }: { channel: ExtendedChannel; }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className={ChatScrollClasses.auto + " " + "shc-lock-screen-outer-container"}>
|
||||
<div className={ChatScrollClasses.auto + " " + ChatScrollClasses.customTheme + " " + ChatClasses.chatContent + " " + "shc-lock-screen-outer-container"}>
|
||||
<div className="shc-lock-screen-container">
|
||||
<img className="shc-lock-screen-logo" src={HiddenChannelLogo} />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue