mirror of https://github.com/vector-im/riot-web
Deprecate `$spacing` variables (#25175)
Per https://github.com/matrix-org/matrix-react-sdk/pull/10686, these don't make much sense at the moment.pull/25200/head
parent
ece117b33f
commit
40f95a6c06
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue