Commit Graph

50 Commits

Author SHA1 Message Date
fkwp
9add3e52c4 Update file headers copyright and change licence to AGPL-3.0-only 2024-09-06 10:22:13 +02:00
Robin
0db51d9dfd
Replace remaining React ARIA components with Compound components (#2576)
* Fix issues detected by Knip

Including cleaning up some unused code and dependencies, using a React hook that we unintentionally stopped using, and also adding some previously undeclared dependencies.

* Replace remaining React ARIA components with Compound components

* fix button position

* disable scrollbars to resolve overlapping button

---------

Co-authored-by: Timo <toger5@hotmail.de>
2024-08-28 14:44:39 +02:00
Timo
3f5c7257b3
make click highlight transparent (#2266)
Signed-off-by: Timo K <toger5@hotmail.de>
2024-03-25 16:02:40 +01:00
Timo
c932dd8c9b
Theme loading without flickering (#2233) 2024-03-13 14:58:21 +01:00
Timo
893132470e
Allow Element Call theme configuration via url. (#2203)
Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Robin <robin@robin.town>
2024-02-22 16:15:46 +01:00
Timo K
30b3ba302e Revert "Add theme URL param and adjust cpd theme based on it."
This reverts commit f613b17824.
2024-02-21 21:45:11 +01:00
Timo K
f613b17824 Add theme URL param and adjust cpd theme based on it.
Signed-off-by: Timo K <toger5@hotmail.de>
2024-02-21 21:41:40 +01:00
Robin
b2bc8edcc1 Refactor/redesign video tiles 2023-12-18 16:59:48 -05:00
Robin
614bc82402 Format code 2023-10-11 10:42:04 -04:00
Robin
e582e9d171 Adjust margins 2023-09-28 12:41:00 -04:00
Robin
08be4550d5
Merge pull request #1446 from robintown/modals
Implement the new modal designs
2023-09-18 11:38:03 -04:00
Robin
bbf91ca867 Add a clarifying comment 2023-09-18 09:48:02 -04:00
Robin
f609ec3f4c Implement new modal designs
They aren't yet used anywhere, but this will let us move on to implementing specific modal interactions from the new designs.

I made the design decision of making this new Modal component always be controlled by an explicit open state, which was inspired by some work I did with Jetpack Compose recently, where I saw that this makes state management and the behavior of components so much more obvious.
2023-09-17 14:40:14 -04:00
Robin
9736f0244b Use native system fonts on Android and iOS
This behavior is called for in the new designs, but Compound Web doesn't (yet) implement it by default.
2023-09-17 12:56:13 -04:00
Robin
2bb2107ead Merge branch 'livekit' into SimonBrandner/feat/gradient 2023-09-15 17:19:37 -04:00
Robin
224bfe58d1
Apply graphic positioning suggestion 2023-09-15 17:17:57 -04:00
Robin
915fb63356 First pass at the new video tile designs
Here, I've begun updating the styles of video tiles to match the new designs. Not yet updated: the local volume option is supposed to go inside an overflow menu now, but I haven't gotten to that yet.

To make the outlines on hovered / speaking tiles show up properly, I have to remove the usePageFocusStyle hack, which was preventing CSS outlines from being used for anything other than focus rings. I honestly can't tell what problem it was solving in the first place: focus rings still appear to behave as expected throughout the application.
2023-09-13 16:19:29 -04:00
Šimon Brandner
dd49bd517c
Add background gradient
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-09-13 17:53:12 +02:00
Robin
6c25a25f8b Make the focus ring on Compound Web buttons consistent 2023-09-11 11:07:10 -04:00
Robin
1445c42cc3 Implement new in-call header and footer designs 2023-09-08 16:41:23 -04:00
Robin Townsend
63ccd56573 Implement new designs for in-call footer buttons
This basically amounts to swapping out some CSS, the icons, and the Tooltip component.
2023-08-30 22:04:20 -04:00
Robin Townsend
aa628cc63c Adopt the Compound color system
As a first step towards adopting the Compound design system and the new Element Call designs, this pulls in Compound's color tokens and applies them to all existing components. I've tried to choose tokens based on the semantics of where they're used, but in some cases, where the new and old design systems differ in semantics, it was necessary to choose tokens based on their resulting color. These hacks can be removed as we implement more of the new designs.

There were a set of environment variables that we used for custom themes, but Compound has way too many design tokens for that approach to still be a good idea, so I decided to replace them all with a single environment variable that just lets you write arbitrary custom CSS.
2023-08-28 17:14:40 -04:00
Šimon Brandner
a63dc637ab
Add subtle primary color
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 08:35:53 +02:00
Robin Townsend
cf1a7f2e21 Match settings modal to design nuances better 2023-05-22 15:12:41 -04:00
Robin Townsend
acc41c532e Add URL params to control fonts
This was also a good chance to switch to the semantic font size names used in Compound.
2022-12-09 14:31:13 -05:00
Šimon Brandner
2e57eaad1d
Fix var name
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 12:45:21 +02:00
Šimon Brandner
e62d76a6f2
Use more vars
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 19:26:56 +02:00
Robin Townsend
276532e2e1 Add a 'waiting for network' state to walkie-talkie mode 2022-06-14 12:00:26 -04:00
Robin Townsend
aa45261b0d Organize colors 2022-06-01 11:48:17 -04:00
Robin Townsend
25bde3560b Use color variables 2022-06-01 10:41:12 -04:00
Robin Townsend
94380b64bd Set color-scheme to dark to make the focus ring on the dropdown button
legible
2022-05-26 14:12:25 -04:00
Robert Long
c609d42554 Clean up recaptcha copy 2022-01-06 15:46:39 -08:00
Robert Long
ef8c28f274 Redesign homepage WIP 2022-01-04 16:00:13 -08:00
Robert Long
269d8d4729 Add call ended page and redirect 2021-12-14 16:12:58 -08:00
Robert Long
284a4ef794 Fix tab color 2021-12-13 16:28:50 -08:00
Robert Long
7558a61066 Fix input placeholder color 2021-12-13 12:00:41 -08:00
Robert Long
11eb137184 Remove viewport units 2021-12-10 15:07:39 -08:00
Robert Long
77aff4f829 Fix in-room overflow 2021-12-10 14:44:04 -08:00
Robert Long
9174369fb5 Fix mobile styles 2021-12-10 10:54:18 -08:00
Robert Long
f57b520622 Transition to modals and popovers 2021-12-03 16:42:29 -08:00
Robert Long
e438d85018 Add input theming 2021-11-17 18:05:41 -08:00
Robert Long
10a8433ccf Add theming support 2021-11-17 17:52:31 -08:00
Robert Long
56ba87f25d Add room aliases to room creation 2021-11-17 14:24:52 -08:00
Robert Long
b45eacec28 Dark themed inputs 2021-08-20 16:36:41 -07:00
Robert Long
9d0162e475 WIP 2021-08-19 17:49:45 -07:00
Robert Long
cc59e42bba Styling for video room 2021-08-19 12:11:12 -07:00
Robert Long
4b0bb13f1e Finish splitting up components 2021-07-27 12:27:59 -07:00
Robert Long
b038e12750 Add basic styling 2021-07-26 16:58:31 -07:00
Robert Long
b85043eee2 Add license to files 2021-07-16 14:38:44 -07:00
Robert Long
7a601403e8 Initial commit 2021-07-16 14:22:03 -07:00