From 40f95a6c068aaa393d42840b040df695b731ef6c Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Fri, 21 Apr 2023 15:12:08 +0100 Subject: [PATCH] Deprecate `$spacing` variables (#25175) Per https://github.com/matrix-org/matrix-react-sdk/pull/10686, these don't make much sense at the moment. --- code_style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_style.md b/code_style.md index 59d17492ba..c1c9beda78 100644 --- a/code_style.md +++ b/code_style.md @@ -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: