Commit graph

4037 commits

Author SHA1 Message Date
Alex Gleason 793b0f9128
Start adding dark mode 2022-03-23 19:18:37 -05:00
Alex Gleason 8970e4e3db Merge branch 'next-colors' into 'next'
Next: colors

See merge request soapbox-pub/soapbox-fe!1126
2022-03-23 22:35:40 +00:00
Alex Gleason 1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -05:00
Alex Gleason e0e953647e
tailwind.config.js: parse single-tint values in the matrix 2022-03-23 16:51:42 -05:00
Alex Gleason d57051c41c
Refactor Tailwind config, add tests 2022-03-23 16:27:35 -05:00
Alex Gleason fff580f053
Normalize Tailwind colors from SoapboxConfig 2022-03-23 15:31:19 -05:00
Alex Gleason 7fc4950387
utils/tailwind.ts: Tailwind/SoapboxConfig conversion functions 2022-03-23 14:28:51 -05:00
Alex Gleason 12617bf7de
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-23 13:05:53 -05:00
Justin 6c1ed1b79c Merge branch 'next-console-errors' into 'next'
Next console errors

See merge request soapbox-pub/soapbox-fe!1135
2022-03-23 17:57:54 +00:00
Justin 95a5ca2115 Convert Permalink to TSX 2022-03-23 13:50:45 -04:00
Justin f0a9ed8ad4 Fix prop warnings 2022-03-23 13:50:45 -04:00
Alex Gleason 2e45367643 Merge branch 'next-console-errors' into 'next'
Next: Fix (most) PropType errors

See merge request soapbox-pub/soapbox-fe!1134
2022-03-23 17:31:54 +00:00
Alex Gleason 03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin e32fb881f1 Merge branch 'improve-snackbar-action' into 'next'
Improve style of Snackbar action

See merge request soapbox-pub/soapbox-fe!1133
2022-03-23 15:49:38 +00:00
Justin 72d356031b Improve style of Snackbar action 2022-03-23 11:32:27 -04:00
Justin a3718d6f23 Merge branch 'dynamically-truncate-account' into 'next'
Dynamically truncate the Account's name/username in hidden content

See merge request soapbox-pub/soapbox-fe!1132
2022-03-23 13:12:44 +00:00
Justin 7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Alex Gleason 1a4cc5bdc9 Merge branch 'next-cleanup' into 'next'
Next: Cleanup index.ejs snippets, let LinkFooter message be customized

See merge request soapbox-pub/soapbox-fe!1131
2022-03-22 23:04:24 +00:00
Alex Gleason 5ffb9828ba
LinkFooter: restore copyright message, let it be overridden 2022-03-22 17:43:42 -05:00
Alex Gleason ac252d5c2f
index.ejs: remove Matomo snippet 2022-03-22 16:44:02 -05:00
Alex Gleason 8f85fd01d5
Make bg-shape colors configurable 2022-03-22 16:25:52 -05:00
Alex Gleason 9e16d992e6
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-22 13:57:09 -05:00
Alex Gleason a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Justin 9af141dd87 Merge branch 'fix-logout' into 'next'
Remove unneeded 'event' when using Reach Menu

See merge request soapbox-pub/soapbox-fe!1130
2022-03-22 15:59:34 +00:00
Justin 614228a130 Merge branch 'improve-sensitive-design' into 'next'
Improve design of sensitive media

See merge request soapbox-pub/soapbox-fe!1129
2022-03-22 15:42:53 +00:00
Justin 430cfc3a2a Remove unneeded 'event' when using Reach Menu 2022-03-22 11:41:44 -04:00
Justin 02d65a527c Merge branch 'add-preferences-clarification' into 'next'
Add hint to clarify Feed settings

See merge request soapbox-pub/soapbox-fe!1128
2022-03-22 15:19:54 +00:00
Justin 61d78053cd Merge branch 'react-router-hooks' into 'next'
Use React Router hook for 'history'

See merge request soapbox-pub/soapbox-fe!1127
2022-03-22 15:19:43 +00:00
Justin 122ee00f58 Improve design of sensitive media 2022-03-22 11:13:42 -04:00
Justin 69035c3dab Add hint to clarify Feed settings 2022-03-22 08:58:12 -04:00
Justin 40cc960985 Use React Router hook for 'history' 2022-03-22 08:42:26 -04:00
Justin 12ed6889a4 Use React Router Link in MenuLink 2022-03-22 08:28:18 -04:00
Alex Gleason 18bad4a5ab
Typescript: utils/theme.ts 2022-03-21 18:57:23 -05:00
Alex Gleason 0938612678
Use colors from soapbox.json at runtime 2022-03-21 18:43:31 -05:00
Alex Gleason 1c910248bf
Set Tailwind colors with CSS variables 2022-03-21 18:41:54 -05:00
Alex Gleason 526afe6779 Merge branch 'next-compose-form-buttons' into 'next'
Next: improve ComposeForm buttons

See merge request soapbox-pub/soapbox-fe!1125
2022-03-21 22:45:45 +00:00
Alex Gleason 61fd48204b
ComposeForm: convert some buttons into TSX 2022-03-21 17:28:57 -05:00
Alex Gleason 890299ead0
ComposeForm: convert buttons to ComposeFormButton component 2022-03-21 17:04:44 -05:00
Alex Gleason c9a4087108 Merge branch 'next-react-router-5' into 'next'
Next: upgrade to react-router v5.3

See merge request soapbox-pub/soapbox-fe!1124
2022-03-21 21:35:20 +00:00
Alex Gleason d34937e959
UnauthorizedModal: use withRouter history 2022-03-21 16:08:03 -05:00
Alex Gleason 228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Alex Gleason 4782afed18 Merge branch 'react-router-5' into 'develop'
Upgrade react-router-dom to v5.3

See merge request soapbox-pub/soapbox-fe!1111
2022-03-21 20:49:17 +00:00
Alex Gleason c6ab95349e Merge branch 'next-logo' into 'next'
Next: fix logo

See merge request soapbox-pub/soapbox-fe!1123
2022-03-21 20:41:28 +00:00
Justin 012138829c Fix tests 2022-03-21 16:30:46 -04:00
Alex Gleason c9cef587a6
Merge remote-tracking branch 'origin/develop' into react-router-5 2022-03-21 15:30:26 -05:00
Justin b6985f836a Use MenuItem if action 2022-03-21 16:29:33 -04:00
Alex Gleason 4ccbce71e0
Fetch frontend_configurations once again, reenable /soapbox/config route 2022-03-21 15:13:33 -05:00
Justin e02d5142e5 Properly handle navigating to previous page if 'backHref' is undefined 2022-03-21 15:23:57 -04:00
Justin b4d677dfde Use new Icon comp with Tabler version 2022-03-21 15:09:46 -04:00
Justin 72acda8c5d Remove dynamic import of Tabler icons 2022-03-21 15:05:52 -04:00