From a42ea0961aeef51e8427abb19f6b2dec8f27fcef Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 22 Mar 2022 12:37:57 -0500 Subject: [PATCH] Generate Tailwind colors from brandColor/accentColor --- app/soapbox/containers/soapbox.js | Bin 8669 -> 8727 bytes app/soapbox/features/ui/components/navbar.tsx | 12 +- app/soapbox/types/colors.ts | 10 ++ app/soapbox/utils/__tests__/colors-test.js | Bin 0 -> 462 bytes app/soapbox/utils/colors.ts | 123 ++++++++++++++++++ app/soapbox/utils/theme.ts | 104 ++++++--------- 6 files changed, 179 insertions(+), 70 deletions(-) create mode 100644 app/soapbox/types/colors.ts create mode 100644 app/soapbox/utils/__tests__/colors-test.js create mode 100644 app/soapbox/utils/colors.ts diff --git a/app/soapbox/containers/soapbox.js b/app/soapbox/containers/soapbox.js index c702ea12c642d343eeec565b2f811ead8c2be82a..aad96badb26df774f56c6d94c9fc1c729fcf176f 100644 GIT binary patch delta 107 zcmccXJl$o3BC9}2Mrv-VbAC>KQE^DVb8zrx9oDt%g6N_elcjj&jTCBX6x5XsOe~C2 tEYx)rit`f-lJYB@^YhX&)AiC*OElCIlao{PO2Ebe6{xFkX5+ms0sy;wBW(Zx delta 75 zcmbR4a@To-A}e=teolT-aY(*%aq(tD*0t=qNCFzg`H2Nd`4!Ijd1;yHdg-Yp8tM>f RbxpmJe6L`Q%?`ZRMF1}_8+`x( diff --git a/app/soapbox/features/ui/components/navbar.tsx b/app/soapbox/features/ui/components/navbar.tsx index 2f6ffe8df1..d9198ecc43 100644 --- a/app/soapbox/features/ui/components/navbar.tsx +++ b/app/soapbox/features/ui/components/navbar.tsx @@ -33,11 +33,13 @@ const Navbar = () => {