mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-29 21:59:40 +03:00
9254e9562e
* 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> |
||
---|---|---|
.. | ||
wysiwyg_composer | ||
_AppsDrawer.pcss | ||
_Autocomplete.pcss | ||
_AuxPanel.pcss | ||
_BasicMessageComposer.pcss | ||
_DecryptionFailureBar.pcss | ||
_E2EIcon.pcss | ||
_EditMessageComposer.pcss | ||
_EmojiButton.pcss | ||
_EntityTile.pcss | ||
_EventBubbleTile.pcss | ||
_EventTile.pcss | ||
_HistoryTile.pcss | ||
_IRCLayout.pcss | ||
_JumpToBottomButton.pcss | ||
_LegacyRoomHeader.pcss | ||
_LinkPreviewGroup.pcss | ||
_LinkPreviewWidget.pcss | ||
_LiveContentSummary.pcss | ||
_MemberList.pcss | ||
_MessageComposer.pcss | ||
_MessageComposerFormatBar.pcss | ||
_NewRoomIntro.pcss | ||
_NotificationBadge.pcss | ||
_PinnedEventTile.pcss | ||
_PresenceLabel.pcss | ||
_ReadReceiptGroup.pcss | ||
_ReplyPreview.pcss | ||
_ReplyTile.pcss | ||
_RoomBreadcrumbs.pcss | ||
_RoomCallBanner.pcss | ||
_RoomHeader.pcss | ||
_RoomInfoLine.pcss | ||
_RoomKnocksBar.pcss | ||
_RoomList.pcss | ||
_RoomListHeader.pcss | ||
_RoomPreviewBar.pcss | ||
_RoomPreviewCard.pcss | ||
_RoomSublist.pcss | ||
_RoomTile.pcss | ||
_RoomUpgradeWarningBar.pcss | ||
_SearchBar.pcss | ||
_SendMessageComposer.pcss | ||
_SpaceScopeHeader.pcss | ||
_Stickers.pcss | ||
_ThirdPartyMemberInfo.pcss | ||
_ThreadSummary.pcss | ||
_TopUnreadMessagesBar.pcss | ||
_VoiceRecordComposerTile.pcss | ||
_WhoIsTypingTile.pcss |