From ef0de13c918161e0fe6f39e5ef5db0be9fae8a83 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 24 Mar 2022 18:56:22 -0500 Subject: [PATCH] Improve dark mode --- app/soapbox/components/ui/card/card.tsx | 6 ++++-- .../features/compose/components/search.tsx | 2 +- app/soapbox/features/status/index.js | Bin 23963 -> 23157 bytes app/styles/components/detailed-status.scss | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/soapbox/components/ui/card/card.tsx b/app/soapbox/components/ui/card/card.tsx index 6d20da5645..9754628c95 100644 --- a/app/soapbox/components/ui/card/card.tsx +++ b/app/soapbox/components/ui/card/card.tsx @@ -4,6 +4,8 @@ import InlineSVG from 'react-inlinesvg'; import { defineMessages, useIntl } from 'react-intl'; import { Link } from 'react-router-dom'; +import { Text } from 'soapbox/components/ui'; + const sizes = { md: 'p-4 sm:rounded-xl', lg: 'p-4 sm:p-6 sm:rounded-xl', @@ -51,7 +53,7 @@ const CardHeader: React.FC = ({ children, backHref, onBackClick }): const backAttributes = backHref ? { to: backHref } : { onClick: onBackClick }; return ( - + Back @@ -72,7 +74,7 @@ interface ICardTitle { } const CardTitle = ({ title }: ICardTitle): JSX.Element => ( -

{title}

+ {title} ); const CardBody: React.FC = ({ children }): JSX.Element => ( diff --git a/app/soapbox/features/compose/components/search.tsx b/app/soapbox/features/compose/components/search.tsx index 695163f3c5..a11c4a3e2a 100644 --- a/app/soapbox/features/compose/components/search.tsx +++ b/app/soapbox/features/compose/components/search.tsx @@ -120,7 +120,7 @@ const Search = (props: ISearch) => {
vO$={ T=Hjq)Hk=9^Vnio@h*=E)QEDFc delta 725 zcmbu7%`QVh6vrbHkw$C?3Bs{)k+gTgN?Jujbkj;md~9Ugd-P6BXJlqtnx-i)U^8}J zz*54_OW1e-Phe&5+?Liytjuc8nR9;UfBu=bhn}0qp1Z}Oo7(Sh*8TYebk2GWfd@*0 zRbV1@=0`k4U_wA{*8rEmz(yKbnEKL`_sSrZ1?sDE8DI$Nn92~UOjNKPaFc?(1&J6M zf*hf>s3F9r;U%Klc0KAE2xP`~@$-J8Gm5lA8DVColL1KQl&F;DCTT+bB@ck-RLz1DDK*#K>Qe#JoFyGAjK!elKR`<61P@L!bsLfG5tE_79aSoc zc<>){Pc^B=FjN0n&)x0~#5%I1!#ifephsJHR#(vbiCF$+Nje|@Ax^lMF&8tihDk%- zMlB9Szm04p+}qxCf7)+5?IsS!2mLObe!~4i@wxYYa{HpM*8|^OZH>C8;*fjUzkUb9 C