mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-05-26 04:17:19 +00:00
bg color fix
This commit is contained in:
@@ -32,11 +32,11 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
|
|||||||
if (params.animated === "false") avatarExtension = "webp";
|
if (params.animated === "false") avatarExtension = "webp";
|
||||||
if (params.hideStatus === 'true') hideStatus = 'true';
|
if (params.hideStatus === 'true') hideStatus = 'true';
|
||||||
if (params.hideDiscrim === "true") discrim = "hide";
|
if (params.hideDiscrim === "true") discrim = "hide";
|
||||||
if (params.bg) backgroundColor = params.bg;
|
|
||||||
if (params.theme === 'light') {
|
if (params.theme === 'light') {
|
||||||
backgroundColor = '#eee';
|
backgroundColor = '#eee';
|
||||||
theme = 'light';
|
theme = 'light';
|
||||||
}
|
}
|
||||||
|
if (params.bg) backgroundColor = params.bg;
|
||||||
|
|
||||||
switch (body.data.discord_status) {
|
switch (body.data.discord_status) {
|
||||||
case "online":
|
case "online":
|
||||||
|
|||||||
Reference in New Issue
Block a user