Styling Hooks are GA: Migrate your Styling Hooks to –slds namespace
With Spring ’22, Styling Hooks are going GA. As a part of the process, the namespace of these hooks is getting updated from ‘–sds’ to ‘–slds’.
From Spring ’22 onwards, the official Styling Hooks namespace for SLDS will be --slds. The old namespace, --sds, will continue to function in the short term but there is no guarantee if Salesforce will continue supporting it in the long run. Hence, it is best to migrate if you have existing declarations using the old namespace.
Migration should be a straightforward process, as no other part of the Styling Hooks syntax has changed. For all of your existing --sds declarations, migrating them to --slds will put you on the long-term support path.
Hope you find this useful! I’ll catch you in the next one. ✌ Thank you for being an awesome reader! Subscribe to this blog for receiving all the latest updates straight to your inbox. 🙂

.png)




Comments