mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
change invite color in light mode
This commit is contained in:
parent
277690ef79
commit
cf91ee62ed
@ -251,7 +251,7 @@ class DOMInvite implements Invite {
|
|||||||
|
|
||||||
this._header = document.createElement('div') as HTMLDivElement;
|
this._header = document.createElement('div') as HTMLDivElement;
|
||||||
this._container.appendChild(this._header);
|
this._container.appendChild(this._header);
|
||||||
this._header.classList.add("card", "~neutral", "@low", "inv-header", "elem-pad", "no-pad", "flex-expand", "row", "mt-2", "overflow-y");
|
this._header.classList.add("card", "~info", "dark:~d_neutral", "@low", "inv-header", "elem-pad", "no-pad", "flex-expand", "row", "mt-2", "overflow-y");
|
||||||
|
|
||||||
this._codeArea = document.createElement('div') as HTMLDivElement;
|
this._codeArea = document.createElement('div') as HTMLDivElement;
|
||||||
this._header.appendChild(this._codeArea);
|
this._header.appendChild(this._codeArea);
|
||||||
@ -425,7 +425,7 @@ export class inviteList implements inviteList {
|
|||||||
this._list.classList.add("empty");
|
this._list.classList.add("empty");
|
||||||
this._list.innerHTML = `
|
this._list.innerHTML = `
|
||||||
<div class="inv inv-empty">
|
<div class="inv inv-empty">
|
||||||
<div class="card ~neutral @low inv-header flex-expand mt-2">
|
<div class="card ~info dark:~d_neutral @low inv-header flex-expand mt-2">
|
||||||
<div class="inv-codearea">
|
<div class="inv-codearea">
|
||||||
<span class="code monospace">${window.lang.strings("inviteNoInvites")}</span>
|
<span class="code monospace">${window.lang.strings("inviteNoInvites")}</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user