th-canadaday - Méli-mélo details
Background colours used for the Canada Day campaign
Sponsored by: PCH - Nick Frenette (@nfrenette)
Examples
Thematic definition
Class CSS list
bg-canadadaypanel-canadadaybrdr-canadadaybg-canadaday-beigecanadadaypanel-canadaday-cardpanel-canadaday-card-compact
JavasScript function list
Implementation note
The following notes must be applied when implementing this thematic to ensure it follows the principle of progressive enhancement. These instructions must be followed so that the web page stays functional and conforming after the expiration date and removal of this thematic.
- The
bg-canadadayclass must be accompanied with another dark contrast background colour such asbg-dark - The
panel-canadadayclass must be accompanied with a fall back color such aspanel-default - Use
bg-canadaday-beigewith standard text colour to ensure sufficient contrast between text and background
Accessibility statement
These colours meet the colour contrast requirements as outlined in WCAG 2.1 AA Success Criterion 1.4.3: Contrast (Minimum). Tested by Nick Frenette, nick.frenette at pch.gc.ca. 2023-12-06.Page details
- Date modified: