mirror of
https://github.com/element-hq/element-web
synced 2024-11-21 16:55:34 +03:00
Deprecate $spacing
variables (#25175)
Per https://github.com/matrix-org/matrix-react-sdk/pull/10686, these don't make much sense at the moment.
This commit is contained in:
parent
ece117b33f
commit
40f95a6c06
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ Note: We use PostCSS + some plugins to process our styles. It looks like SCSS, b
|
|||
2. `mx_MyFoo_avatar`
|
||||
3. `mx_MyFoo_avatarUser`
|
||||
4. `mx_MyFoo_avatar--user`
|
||||
3. Use the `$font` and `$spacing` variables instead of manual values.
|
||||
3. Use the `$font` variables instead of manual values.
|
||||
4. Keep indentation/nesting to a minimum. Maximum suggested nesting is 5 layers.
|
||||
5. Use the whole class name instead of shortcuts:
|
||||
|
||||
|
|
Loading…
Reference in a new issue