Commit Graph

40 Commits

Author SHA1 Message Date
Paul Makles
e6f6ddc772 fix(ui): fixes for mobile UI, settings and sessions pages (#451)
Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 20:48:37 +00:00
Paul Makles
3ee0c37a60 feat(settings): UI improvements (#448)
* Fixed CSS for Settings.tsx + new Theme Shop design

* reformat

* More changes to UI CSS

* Small CSS fixes for Settings.tsx, Account, Bots

* Updated theme shop, settings pages, cleanup

* chore: force sync language submodule

* fix(sidebar): prevent items from shrinking

* fix(push): fix timestamp and icon for push notifications

* fix(voice): hide grant permission button after grant

* chore: hide new shop / chevron before merge

* chore(ci): bump node to v16 in dockerfile

* fix(sidebar): change width of channel sidebar

Co-authored-by: trashtemp <96388163+trashtemp@users.noreply.github.com>
2021-12-20 13:37:21 +00:00
Sirawit Thaya
46a4a983aa feat: Theme shop link on appearance rewrites history
#245
2021-10-31 21:07:49 +00:00
brecert
a02276ec5d Fix theme shop themes not applying as a base
- [#217] fixed theme shop themes not applying as a base
- added `themes` state path to store themes locally at
2021-09-11 15:40:14 -04:00
brecert
41f2a172ae Make theme shop hidden an experiment 2021-09-07 05:27:51 -04:00
brecert
4d14390b22 Add base theme shop implementation and pane
- added theme shop settings pane
- added `generateVariables` for themes
- added `preview.svg` for previewing themes until a proper solution is made
2021-09-06 06:02:30 -04:00
Ryan Alexander
20b22d1cb0 Update Appearance.tsx 2021-08-19 00:05:23 +10:00
Ryan Alexander
f5ea8e88ce Update Appearance.tsx 2021-08-18 10:11:17 +10:00
Ryan Alexander
3b19299cd7 Lowered contrast threshold 2021-08-17 19:33:09 +10:00
Ryan Alexander
b7989ff74f Transparent will now fallback to the contrasting colour of background
https://github.com/revoltchat/revite/issues/88
2021-08-17 19:30:41 +10:00
Ryan Alexander
9e823d6248 Update Appearance.tsx 2021-08-16 04:14:10 +10:00
Paul
872b710bc4 Make the linter happy. 2021-08-05 14:47:00 +01:00
Paul
c9296ee99f Remove strict on KaTeX, change error. 2021-07-31 11:04:31 +01:00
Paul
5dac9c4244 Rename occurrences of monoscape to monospace. 2021-07-25 14:26:45 +01:00
Paul
51e83c27e2 Use loading="lazy" in more places.
i18n invites page.
Polish the bans page.
2021-07-24 17:01:50 +01:00
nizune
bcb1ad0823 Fixed settings theme color 2021-07-10 18:39:01 +02:00
Paul
0afd123ef5 Fix: Prevent context menu on images in settings.
Revert mobile change.
Messages: Add channel id matching.
2021-07-10 17:35:18 +01:00
Paul
b3386ade33 Format and automatically fix linted code. 2021-07-10 15:57:29 +01:00
nizune
abb08cbcfa Updated assets in Appearance menu - do not touch 2021-07-09 12:26:00 +02:00
nizune
c414a15aa5 insert used the wrong type of icon 2021-07-09 00:15:10 +02:00
nizune
2babf56ccf small fixes to theme override panel 2021-07-09 00:11:01 +02:00
Paul
9996b1d455 Re-design theme overrides. 2021-07-08 21:51:12 +01:00
Paul
7540a5f65b Add tooltips to advanced settings.
Add click to copy theme.
2021-07-08 20:57:52 +01:00
nizune
d34dc0d387 Update: started work on new advanced settings 2021-07-08 16:02:52 +02:00
nizune
62c4371586 Fix: Solid icons in server settings 2021-07-06 00:06:03 +02:00
Paul
f31a517173 Fix: Changing font reset overrides.
Fix: Left test string in friends.
2021-07-05 21:03:34 +01:00
Paul
14809f1989 Use tabWidth 4 without actual tabs. 2021-07-05 11:25:20 +01:00
Paul
a9ce64c9fe Run prettier on all files. 2021-07-05 11:23:23 +01:00
insert
f69e04d4e9 Merge branch 'master' into 'cleanup'
# Conflicts:
#   src/components/common/LocaleSelector.tsx
2021-07-05 10:17:57 +00:00
Paul
e0dd6df552 Fix: Add default for font combo box.
Don't pass dispatcher in, just provide it globally.
Fix: Allow clicking through to profile from server sidebar.
2021-07-05 10:59:48 +01:00
bree
c4fce638cf Hide --sidebar-active and keep it internal 2021-07-04 21:24:16 -04:00
bree
e5d46cc34a Merge branch 'master' into cleanup 2021-07-04 21:06:30 -04:00
Paul
720bc263a5 Feature: Font selector and ligature toggle. 2021-07-04 17:56:18 +01:00
Paul
08c338ea1c Add collapsible section component.
Can now collapse server categories.
Client remembers collapse state, incl. advanced appearance settings.
2021-07-04 15:53:06 +01:00
bree
b341f5d166 remove most uses of as any in typescript
- replaced many uses of `as any` with another more specific cast `as T`
- filled in missing typed for items that needed to be typed
  - new runtime code was added where necessary to satisfy the new types with comments
- added missing theme variable "sidebar-active" to the Theme variables
- forms using `react-hook-form` are now typechecked
- changed some instances of `target` into `currentTarget` while removing `as any` assertions
2021-07-04 07:09:39 -04:00
Paul
6082b2191b Finish up new sidebar active.
Add rounded corners to sidebar.
2021-07-01 13:42:53 +01:00
Paul
602cca1047 Implement new auto-size text area.
Add bars + header + sidebar to channels.
2021-06-21 21:11:53 +01:00
Paul
9e460c5b3d Refactor + add message box. 2021-06-20 20:30:42 +01:00
Paul
2acb3aeb14 Re-organise assets to be closer to their respective uses. 2021-06-20 11:05:12 +01:00
Paul
31d8950ea1 Port settings. 2021-06-19 22:37:12 +01:00