The Logo component displays the Parsley logo as a scalable svg element, the logo component is built in an accessible and flexible way which ensures consistent output across any medium.
The Logo component requires either the width or the height prop, not both. If both width and height are set then the height value will be set to auto, this is to ensure the display of the component is always proportionate to is default defined size.
Best practice guidance
- The Parsley Design Systems logo is to be used for group wide branding throughout Parsley Design Systems.
- The logo should always be present in global navigation.
- When used within a persistent header the logo should act as navigational mechanism to the home page of the associated site, application or product.
- Ensure there is sufficient contrast with the background to make the logo legible and accessible.
- The logo should always be present in global navigation.
- Stick to the recommended colours and associated backgrounds themes.
Colour usage
As the logo defines the Parsley Design Systems brand only the following colours should be considered:
- Default colours
- Brand colours
- Black (black)
- White (white)
Also, consider using background colours that provide appropriate contrast difference.
Accessibility considerations
- By default a text alternative is provided however a more specific title can be set that meaningfully describes the logo in its current context.
- Although contrast requirements don't apply to logos a strong contrast between foreground text and background colour should be applied to maximise readability.