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
_AuxPanel.pcss Deprecate lab experiment 'feature_state_counters' (#11343) 2023-11-30 08:19:16 +00:00
_BasicMessageComposer.pcss
_DecryptionFailureBar.pcss
_E2EIcon.pcss Members shield alignment fixed (#11700) 2023-10-03 14:49:09 +00:00
_EditMessageComposer.pcss
_EmojiButton.pcss
_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
_IRCLayout.pcss
_JumpToBottomButton.pcss
_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
_LiveContentSummary.pcss
_MemberList.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_MessageComposer.pcss
_MessageComposerFormatBar.pcss
_NewRoomIntro.pcss
_NotificationBadge.pcss Use Compound Tooltips in StatelessNotificationBadge, VerifyEmailModal, CheckEmail (#12084) 2024-01-09 11:46:27 +00:00
_PinnedEventTile.pcss
_PresenceLabel.pcss
_ReadReceiptGroup.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_ReplyPreview.pcss
_ReplyTile.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_RoomBreadcrumbs.pcss
_RoomCallBanner.pcss
_RoomHeader.pcss Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
_RoomInfoLine.pcss
_RoomKnocksBar.pcss Introduce room knocks bar (#11475) 2023-08-31 13:43:38 +00:00
_RoomList.pcss
_RoomListHeader.pcss
_RoomPreviewBar.pcss Make invitation dialog scrollable when infos are too long (#11753) 2023-10-24 16:06:44 +00:00
_RoomPreviewCard.pcss
_RoomSublist.pcss
_RoomTile.pcss Show knock rooms in the list (#11573) 2023-09-19 11:24:35 +00:00
_RoomUpgradeWarningBar.pcss
_SearchBar.pcss
_SendMessageComposer.pcss
_SpaceScopeHeader.pcss Fix: Space scope header overflow (#11933) 2023-11-29 08:25:34 +00:00
_Stickers.pcss
_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
_WhoIsTypingTile.pcss