Overlay
The overlay serves to temporarily highlight important content—such as modals, panels, or notifications—by isolating it from the primary interface, thereby directing user attention.
The overlay is designed to present transient content—such as modals, panels, or notifications—in a way that immediately captures the user’s attention while maintaining a clear separation from the underlying interface.

Appearance
Section titled “Appearance”Color & opacity
Section titled “Color & opacity”Utilize a semi-transparent dark background with an opacity of about 80%. This dims the underlying interface, providing sufficient contrast while maintaining context.
| Name | Token | Light | Dark |
|---|---|---|---|
| DefaultDefault background overlay for dialogs | --color-overlay-default | Black 60 | Black 60 |
| InverseInversed background overlay use inside a dialogs | --color-overlay-inverse | White 60 | Black 60 |
UI Motion
Section titled “UI Motion”Entry and exit effects
Section titled “Entry and exit effects”As part of the overlay, Soul uses smooth fade-in and fade-out transitions, with durations typically around 180ms, to ensure that the overlay’s appearance and disappearance feel natural and unobtrusive.
💡 Important: Avoid overly dramatic animations; the focus should remain on content clarity and user comprehension.
Accessibility
Section titled “Accessibility”Focus management
Section titled “Focus management”Visually, the overlay should signal its active state clearly, and in the background, ensure that focus (both visual and programmatic) is appropriately managed to assist users navigating via keyboard or assistive technologies.
Readable & clear
Section titled “Readable & clear”All text and interactive elements within the overlay should maintain high readability standards, ensuring that critical information is accessible to all users.