From 8f85fd01d50aad82a998ce95a889ff6910be22df Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 22 Mar 2022 16:25:52 -0500 Subject: [PATCH] Make bg-shape colors configurable --- app/images/bg-shape.svg | 1 - .../ui/components/background_shapes.js | Bin 367 -> 1630 bytes app/soapbox/utils/theme.ts | 13 +++++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) delete mode 100644 app/images/bg-shape.svg diff --git a/app/images/bg-shape.svg b/app/images/bg-shape.svg deleted file mode 100644 index aa0132f3df..0000000000 --- a/app/images/bg-shape.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/app/soapbox/features/ui/components/background_shapes.js b/app/soapbox/features/ui/components/background_shapes.js index 0d73976e975be50db4ddd8787ceedce23e96f0d4..c8953218c3314f47020dad6a6bd331ff10a9909b 100644 GIT binary patch literal 1630 zcmcgsOK;ma5WeSE3{VtI4y5@e)mlAd7icfrLyNuaO_3;@tt=T5Wjp=#JCu_&4g$2N zo;VNA=W#-<59?1z}`G#t=B z(SGOy`G6H(se#!R|7&?4VlZktY~UE1v@MBnMibbExY;Jul(Ga)yRM%~vQ26KZnZid zkL;+}Fm6_obH2jhr%btn&`#%OazkinW0ygkN(hU}G<4k@H+kVguP!l6mZ|-`w52%(!5@*t4#q`!VjS@tz8f z^UuhIG>*9flrqd4`InGZf{~61;lLM;83RUfCOx=9G9{sK=q$i;&a{WZ3#J8V43`BM zjn6r2f^iSZXvVb#EiLm-fUuG|kLjIfg+qJ3>l|kuw}5+Ji$XB3HPuW?3EJazt3hbZ z3~CmG^wKC=|2vcUKs-+3M;M34MS0+)z9Epts-N0n+?8YzyDEii#S3OMP-PLH@_6ln zYh2b>$*b!85mEKXofAw*2Ld@`*63Pt%S3M2703zVnq!y(Sr|MGH3D^{-D40nT<2U=Nsd8CJJZ}yg{&(>y>LuRNeyPO&QOb^k;YS` zRarc6D7tV^;5dYrR7fm{eF%XSOyPfr!{%2U3XN!t#cRX9s$;@Wjfoe8u2-9%FZY?U T&Y$MlgG&|Wn-*Z delta 167 zcmcb|^PXvfv|46vL4Hw*f@fY%W?pJ=n7cw+QGTw1dQoa(a*1vxShTn-eWJvUGK7-i zqGa3ZqSV6D%%W5cbv-?OILgdTOiwM=PfFJ<&PXgs)dOl(*Q`}Y&PgmT_Djr7wN+2c mNv+V$%g;+y$W5%!EeA8z74+@66o9}+KP9sa#Dp?5t+@bP+&1_C diff --git a/app/soapbox/utils/theme.ts b/app/soapbox/utils/theme.ts index 3527199c26..b12be1abb0 100644 --- a/app/soapbox/utils/theme.ts +++ b/app/soapbox/utils/theme.ts @@ -97,6 +97,19 @@ const legacyColorsToTailwind = (brandColor: string, accentColor: string): Tailwi return { primary: tintify(brandColor), accent: tintify(accentColor ? accentColor : generateAccent(brandColor)), + gray: { + 50: '#f9fafb', + 100: '#f3f4f6', + 200: '#e5e7eb', + 300: '#d1d5db', + 400: '#9ca3af', + 500: '#6b7280', + 600: '#4b5563', + 700: '#374151', + 800: '#1f2937', + 900: '#111827', + }, + 'sea-blue': '#2feecc', }; };