Salesforce-Platform-User-Experience-Designer Practice Test

Salesforce Spring 25 Release
207 Questions

A UX Designer needs to restyle a Lightning Web Component (LWC) to meet brand guidelines. Which key consideration about that LWC should the UX designer be aware of?

A. Only the main Lightning Modal component can be styled using styling hooks.

B. Only the body, footer, and header helper components can be styled using styling hooks.

C. The model cannot be styled using styling hooks

A.   Only the main Lightning Modal component can be styled using styling hooks.

Explanation: When restyling a Lightning Web Component (LWC) to meet brand guidelines, it's important to know that styling customization options may be limited. Specifically, only the main Lightning Modal component can be styled using styling hooks. This limitation means that while you can apply brand-specific styles to the overall modal component using styling hooks, the finer control over the modal's internal sections (like the body, footer, and header) might not be directly accessible through these hooks. This constraint necessitates a strategic approach to styling, focusing on the aspects of the modal that can be customized to align with brand guidelines while understanding the inherent limitations.

Salesforce-Platform-User-Experience-Designer Practice-Test - Home Previous
Page 14 out of 207 Pages