Replace hard-coded values for spacing with variables specified on _spacing.pcss
#25070
Labels
A-Developer-Experience
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Tolerable
Low/no impact on users
T-Enhancement
Your use case
What would you like to do?
Replace hard-coded values for spacing with variables specified on
_spacing.pcss
.Why would you like to do it?
Because the style guide suggests you to use a variable for a property related to spacing. It should also help us to maintain the themes' consistency.
How would you like to achieve it?
Search padding and margin values and replace them.
Have you considered any alternatives?
No response
Additional context
This should be conducted along with matrix-org/matrix-react-sdk#10552 for #21656.
The text was updated successfully, but these errors were encountered: