element-web/res/css/views/rooms
David Baker 9254e9562e
Don't reference the notification levels by colour (#12138)
* Don't reference the notification levels by colour

We're about to change what colours they are so either we'd have to rename
a bunch of constants. We may as well make things not reference what colour
anything is in the actual UI. Hopefully these constants are clear enough.

 * Rename NotificationColor -> NotificationLevel
 * Red -> Highlight
 * Grey -> Notification
 * Bold -> Activity
 * Anywhere else that calls it 'color' -> 'level'

Also fixes some weird mixes of US & UK English.

It turns out this is referenced in... quite a lot of places, so this is
quite a large PR. It can't really be much smaller, sorry.

* One test rename & some hiding due to ts-ignore

* More hiding behind ts-ignore

* Damn you, @ts-ignore...

* Fix test CSS values

* Missed some colour -> level

Co-authored-by: Florian Duros <florianduros@element.io>

* Change other instances of variables renamed in suggestion

* Update new test for renames

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2024-01-15 15:25:48 +00:00
..
wysiwyg_composer Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_AppsDrawer.pcss Fix regression around CSS stacking contexts and PIP widgets (#12094) 2024-01-08 12:11:44 +00:00
_Autocomplete.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_AuxPanel.pcss Deprecate lab experiment 'feature_state_counters' (#11343) 2023-11-30 08:19:16 +00:00
_BasicMessageComposer.pcss Fixes read receipt avatar offset (#11483) 2023-08-30 11:47:35 +00:00
_DecryptionFailureBar.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_E2EIcon.pcss Members shield alignment fixed (#11700) 2023-10-03 14:49:09 +00:00
_EditMessageComposer.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_EmojiButton.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_EntityTile.pcss Implement new unreachable state and fix broken string ref (#11748) 2023-11-07 10:14:30 +00:00
_EventBubbleTile.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_EventTile.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_HistoryTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_IRCLayout.pcss Remove TODO comments about spacing variables (#10695) 2023-06-06 14:03:52 +00:00
_JumpToBottomButton.pcss Use shorthand "inset" property (#10825) 2023-05-09 10:02:12 +00:00
_LegacyRoomHeader.pcss Don't reference the notification levels by colour (#12138) 2024-01-15 15:25:48 +00:00
_LinkPreviewGroup.pcss Remove focus-visible polyfill (#11677) 2023-09-28 11:52:26 +00:00
_LinkPreviewWidget.pcss Fix url preview AXE and layout issue & add percy test (#9189) 2022-08-17 16:07:18 +00:00
_LiveContentSummary.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_MemberList.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_MessageComposer.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_MessageComposerFormatBar.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_NewRoomIntro.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_NotificationBadge.pcss Use Compound Tooltips in StatelessNotificationBadge, VerifyEmailModal, CheckEmail (#12084) 2024-01-09 11:46:27 +00:00
_PinnedEventTile.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_PresenceLabel.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_ReadReceiptGroup.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_ReplyPreview.pcss Issue Fix: Misaligned reply preview in thread composer (#9977) 2023-01-25 08:51:07 +01:00
_ReplyTile.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_RoomBreadcrumbs.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_RoomCallBanner.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_RoomHeader.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_RoomInfoLine.pcss Fix the size of the 'Private space' icon (#9638) 2022-11-28 23:22:52 -05:00
_RoomKnocksBar.pcss Introduce room knocks bar (#11475) 2023-08-31 13:43:38 +00:00
_RoomList.pcss Remove some obsolete CSS rules (#10754) 2023-05-03 13:26:10 +00:00
_RoomListHeader.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_RoomPreviewBar.pcss Make invitation dialog scrollable when infos are too long (#11753) 2023-10-24 16:06:44 +00:00
_RoomPreviewCard.pcss Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00
_RoomSublist.pcss Compound color pass (#11079) 2023-07-12 17:46:49 +00:00
_RoomTile.pcss Show knock rooms in the list (#11573) 2023-09-19 11:24:35 +00:00
_RoomUpgradeWarningBar.pcss Rename PostCSS files to .pcss (#9013) 2022-07-15 14:53:23 +01:00
_SearchBar.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_SendMessageComposer.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_SpaceScopeHeader.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_Stickers.pcss Remove some obsolete CSS rules (#10754) 2023-05-03 13:26:10 +00:00
_ThirdPartyMemberInfo.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_ThreadSummary.pcss Don't reference the notification levels by colour (#12138) 2024-01-15 15:25:48 +00:00
_TopUnreadMessagesBar.pcss Fix: Unread notification dot aligned (#11658) 2023-09-27 06:36:31 +00:00
_VoiceRecordComposerTile.pcss Apply prettier formatting 2022-12-12 12:24:14 +01:00
_WhoIsTypingTile.pcss Change avatar to use Compound implementation (#11448) 2023-08-24 03:48:35 +00:00