element-web-Github/res/css
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
..
components/views Fix regression around CSS stacking contexts and PIP widgets (#12094) 2024-01-08 12:11:44 +00:00
compound Update all non-major dependencies (#11383) 2023-09-07 17:40:51 +00:00
structures Change Quick Settings icon (#12141) 2024-01-15 10:56:46 +00:00
views Don't reference the notification levels by colour (#12138) 2024-01-15 15:25:48 +00:00
voice-broadcast Remove dead CSS (#11414) 2023-08-16 09:23:20 +00:00
_animations.pcss Replace a Sass variable with a CSS custom property - hover-transition (#10786) 2023-05-22 07:40:40 +00:00
_common.pcss Fix regression around CSS stacking contexts and PIP widgets (#12094) 2024-01-08 12:11:44 +00:00
_components.pcss Factor out post-login splash screen to a new component (#12103) 2024-01-04 18:12:08 +00:00
_font-sizes.pcss Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
_spacing.pcss Deprecate the $spacing- variables (#10686) 2023-04-21 13:30:21 +00:00
rethemendex.sh Device manager - New device tile info design (#9122)(PSG-637) 2022-08-08 06:59:22 +00:00