From 6aaabb48156c7dd99fc2b8cbe5992caaf52b6c3a Mon Sep 17 00:00:00 2001 From: trashtemp <96388163+trashtemp@users.noreply.github.com> Date: Thu, 13 Jan 2022 22:31:35 +0100 Subject: [PATCH] fix(app): font sizing, better system msgs --- external/lang | 2 +- src/components/common/messaging/SystemMessage.tsx | 11 +++++++++++ .../messaging/attachments/AttachmentActions.tsx | 5 ++--- .../intermediate/popovers/UserProfile.module.scss | 4 ++-- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/external/lang b/external/lang index 89d0eab2..f4ed9109 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit 89d0eab2dc01487f9aa9c56b14e35c86ee567880 +Subproject commit f4ed9109996daaef6c92f861f0beff6f31c004c7 diff --git a/src/components/common/messaging/SystemMessage.tsx b/src/components/common/messaging/SystemMessage.tsx index 61cd4bef..e289a440 100644 --- a/src/components/common/messaging/SystemMessage.tsx +++ b/src/components/common/messaging/SystemMessage.tsx @@ -29,6 +29,17 @@ const SystemContent = styled.div` flex-wrap: wrap; align-items: center; flex-direction: row; + font-size: 14px; + color: var(--secondary-foreground); + + span { + font-weight: 600; + color: var(--foreground); + } + + svg { + margin-inline-end: 4px; + } svg, span { diff --git a/src/components/common/messaging/attachments/AttachmentActions.tsx b/src/components/common/messaging/attachments/AttachmentActions.tsx index cd875061..6122d2a3 100644 --- a/src/components/common/messaging/attachments/AttachmentActions.tsx +++ b/src/components/common/messaging/attachments/AttachmentActions.tsx @@ -1,10 +1,9 @@ import { - Download, LinkExternal, - File, Headphone, - Video, + Download, } from "@styled-icons/boxicons-regular"; +import { File, Video } from "@styled-icons/boxicons-solid"; import { Attachment } from "revolt-api/types/Autumn"; import styles from "./AttachmentActions.module.scss"; diff --git a/src/context/intermediate/popovers/UserProfile.module.scss b/src/context/intermediate/popovers/UserProfile.module.scss index 8ff114ba..0e99dd90 100644 --- a/src/context/intermediate/popovers/UserProfile.module.scss +++ b/src/context/intermediate/popovers/UserProfile.module.scss @@ -107,7 +107,7 @@ justify-content: center; opacity: 0.5; flex-grow: 1; - + font-size: 14px; font-weight: 500; } @@ -125,7 +125,7 @@ > div { > span { - font-size: 15px; + font-size: 14px; } } }