How should the designer describe them?

A developer is creating a Lightning Web Component (LWC) and wants to make sure the visual experience is consistent with Cloud Kicks’ branding. The developer asks their UX Designer about the Salesforce Lightning Design System (SLDS) styling hooks.

How should the designer describe them?
A . They use standard CSS properties to directly style HTML elements.
B. They use standard CSS properties to easily style base and custom components.
C. They use custom CSS properties to directly style HTML elements.
D. They use custom CSS properties to easily style base and custom components.

Answer: B

Explanation:

The Salesforce Lightning Design System (SLDS) styling hooks use standard CSS properties to easily style base and custom components. Salesforce documentation states that “SLDS styling hooks are CSS classes that give you access to the same styling used in the Salesforce Lightning Design System. They make it easy to style base and custom components with the same look and feel” [1].

[1] https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.use_slds_styling_hooks

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments