mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-11-25 15:30:01 +00:00
bg color fix
This commit is contained in:
1 parent
7defff1dc8
commit
4050d29a0d
1 file changed
+1
-1
+1
-1
@@ -32,11 +32,11 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
|
||||
if (params.animated === "false") avatarExtension = "webp";
|
||||
if (params.hideStatus === 'true') hideStatus = 'true';
|
||||
if (params.hideDiscrim === "true") discrim = "hide";
|
||||
if (params.bg) backgroundColor = params.bg;
|
||||
if (params.theme === 'light') {
|
||||
backgroundColor = '#eee';
|
||||
theme = 'light';
|
||||
}
|
||||
if (params.bg) backgroundColor = params.bg;
|
||||
|
||||
switch (body.data.discord_status) {
|
||||
case "online":
|
||||
|
||||
Reference in new issue
Block a user