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:
Richard van der Hoff 2023-04-21 15:12:08 +01:00 committed by GitHub
parent ece117b33f
commit 40f95a6c06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,7 +289,7 @@ Note: We use PostCSS + some plugins to process our styles. It looks like SCSS, b
2. `mx_MyFoo_avatar` 2. `mx_MyFoo_avatar`
3. `mx_MyFoo_avatarUser` 3. `mx_MyFoo_avatarUser`
4. `mx_MyFoo_avatar--user` 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. 4. Keep indentation/nesting to a minimum. Maximum suggested nesting is 5 layers.
5. Use the whole class name instead of shortcuts: 5. Use the whole class name instead of shortcuts: