Gradients - Usage
Basic Guidelines
Gradients
Gradients can be used on text, backgrounds and illustrations. They are not to be used for icons, as they are not large enough to contain the differing contrasts. See the Icons documentation for more information.
Gradients for illustrations
Using Gradients/Products/spectrum
Gradients for icons
Icons don’t support gradient use
Accessibility
For text and surfaces that serve as a background for text it is necessary to use the accessible versions of the gradient. The accessible gradients are adjusted to comply with a 3:1 contrast ratio against white, and are therefore only accessible for large fonts (Display-5 or larger). For small text only the colour text-grey should be used.
Style | Font Size | Sample |
---|---|---|
Display/1 | 80px | Sample |
Display/2 | 64px | Sample |
Display/3 | 48px | Sample |
Display/4 | 40px | Sample |
Display/5 | 28px | Sample |
Display/6 | 20px | Sample |
Display/7 | 16px | Sample |
Body/lg | 20px | Sample |
Body | 18px | Sample |
Body/sml | 16px | Sample |
Legal | 14px | Sample |
Sample
Headline text
Was £40, Now £35