With so many ways to build with and use Web Awesome components, visual tests help ensure consistency and prevent broken styles from leaking into production.
These tests can come in handy when creating or customizing your own theme. Look through each test case to make sure that custom styles in your theme cover all of the attributes, utilities, and built-in styles Web Awesome offers.
NativeColorSizeAlignmentHarmony
Alignment
Link to This Section
Alignment tests reveal the top boundary, vertical center, and bottom boundary of components. These help to evaluate how well components align with one another when arranged horizontally.
Color tests ensure that both the variant attribute and .wa-[variant] classes have identical results for components that support them. Developers should be able to use both of these interchangeably to give the component the intended semantic color.
Badge
Link to This Section
variant=""
.wa-[variant]
brand
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
neutral
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
success
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
warning
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
danger
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
Button
Link to This Section
variant=""
.wa-[variant]
brand
AccentFilled-OutlinedFilledOutlinedPlain
AccentFilled-OutlinedFilledOutlinedPlain
neutral
AccentFilled-OutlinedFilledOutlinedPlain
AccentFilled-OutlinedFilledOutlinedPlain
success
AccentFilled-OutlinedFilledOutlinedPlain
AccentFilled-OutlinedFilledOutlinedPlain
warning
AccentFilled-OutlinedFilledOutlinedPlain
AccentFilled-OutlinedFilledOutlinedPlain
danger
AccentFilled-OutlinedFilledOutlinedPlain
AccentFilled-OutlinedFilledOutlinedPlain
Callout
Link to This Section
variant=""
.wa-[variant]
brand
Accent
Filled-Outlined
Filled
Outlined
Plain
Accent
Filled-Outlined
Filled
Outlined
Plain
neutral
Accent
Filled-Outlined
Filled
Outlined
Plain
Accent
Filled-Outlined
Filled
Outlined
Plain
success
Accent
Filled-Outlined
Filled
Outlined
Plain
Accent
Filled-Outlined
Filled
Outlined
Plain
warning
Accent
Filled-Outlined
Filled
Outlined
Plain
Accent
Filled-Outlined
Filled
Outlined
Plain
danger
Accent
Filled-Outlined
Filled
Outlined
Plain
Accent
Filled-Outlined
Filled
Outlined
Plain
Tag
Link to This Section
variant=""
.wa-[variant]
brand
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
neutral
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
success
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
warning
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
danger
AccentFilled-OutlinedFilledOutlined
AccentFilled-OutlinedFilledOutlined
Harmony
Link to This Section
Harmony tests show how related components look together. These can help validate design choices or reveal where design intervention is needed to get a consistent, harmonious look and feel.
Native style tests ensure that supported native elements and utilities look the same as their Web Awesome component counterparts. Native elements may also support the same appearance, color, and size utilities as components.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
dir="rtl"
استخدام طريقة لوريم إيبسوم لأنها تعطي توزيعاَ طبيعياَ -إلى حد ما- للأحرف عوضاً عن
تبديلني
استخدام طريقة لوريم إيبسوم لأنها تعطي توزيعاَ طبيعياَ -إلى حد ما- للأحرف عوضاً عن
Size tests ensure that both the size attribute and .wa-size-[xs|s|m|l|xl] classes have identical results for components that support them. Developers should be able to use both of these interchangeably on components to get the intended size.