Mobile Alert
Mobile-optimized notification components designed specifically for smaller screens, displaying important messages and alerts on mobile devices.
On this page
This documentation is a work in progress and may contain incomplete or outdated
information. If you have any feedback or suggestions, please open an issue on GitHub.
Tokens
Design tokens that control the visual appearance, spacing, and behavioral characteristics of mobile alert components, ensuring consistent notification presentation across different mobile interface contexts and maintaining design system coherence.
Theming Tokens
Design tokens organized by category with color-coded labels indicating their scope and impact level. Each token includes detailed specifications with values, usage guidelines, and customization options.
Legend:
- Granular tokens that affect only this component.
- Granular tokens that affect other components.
- Semantic tokens that affect the whole application.
- Base tokens that affect the whole application.
Color
| Component Token | Base Token |
|---|---|
| color.context.default.fg-main | {color.base.context.light.default.fg-main} |
| color.context.default.fg-subtle | {color.base.context.light.default.fg-subtle} |
| color.context.default.icon-main | {color.base.context.light.default.icon-main} |
| color.context.default.bg-main | {color.base.context.light.default.bg-main} |
| color.context.default.dim-main | {color.base.context.light.default.dim-main} |
Typography
| Component Token | Base Token |
|---|---|
| font.text.medium.mass | {fontFamily: {typography.fontFamily.text}, fontWeight: {typography.fontWeight.text.mass}, lineHeight: {typography.lineHeight.text.medium}, fontSize: {typography.fontSize.text.medium}, letterSpacing: {typography.letterSpacing.base.zero}, paragraphSpacing: {typography.paragraphSpacing.base.zero}, textCase: {typography.textCase.base.none}, textDecoration: {typography.textDecoration.base.none}} |
| font.text.medium.normal | {fontFamily: {typography.fontFamily.text}, fontWeight: {typography.fontWeight.text.normal}, lineHeight: {typography.lineHeight.text.medium}, fontSize: {typography.fontSize.text.medium}, letterSpacing: {typography.letterSpacing.base.zero}, paragraphSpacing: {typography.paragraphSpacing.base.zero}, textCase: {typography.textCase.base.none}, textDecoration: {typography.textDecoration.base.none}} |
| font.text.xsmall.normal | {fontFamily: {typography.fontFamily.text}, fontWeight: {typography.fontWeight.text.normal}, lineHeight: {typography.lineHeight.text.xsmall}, fontSize: {typography.fontSize.text.xsmall}, letterSpacing: {typography.letterSpacing.base.zero}, paragraphSpacing: {typography.paragraphSpacing.base.zero}, textCase: {typography.textCase.base.none}, textDecoration: {typography.textDecoration.base.none}} |
Sizing
| Component Token | Base Token |
|---|---|
| size.icon.glyph.4xlarge | {size.unit.48} |
Spacing
| Component Token | Base Token |
|---|---|
| space.context.medium | {size.unit.16} |
| space.context.3xlarge | {size.unit.32} |
Border Radius
| Component Token | Base Token |
|---|---|
| borderRadius.context.large | {borderRadius.base.large} |