Image set for all Financial Times product logos
npm install @financial-times/logo-imagesImage set for all Financial Times product logos
- Usage
- Adding or modifying logos
- Contributing
- Contact
- Licence
As with all image sets, these are available via the Image Service.
To get an social logo from the Image Service, use the following URL (replace the product_source with your product name and logo_name with the logo you want. The list of available logos is in the src folder of this project and in the Registry)
https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1:{logo_name}?source={product_source}
So to get the FT masthead:https://www.ft.com/__origami/service/image/v2/images/raw/ftlogo-v1:brand-ft-masthead?source=test
The Image Service will convert these images on the fly if you pass in the right parameters. To find out more about this, please see the Image Service documentation.
To keep logo images consistent, please follow these guidelines:
- Logos must be SVG format
- Logos must be passed through an SVG compressor like SVGOMG
- Logos must be named with lowercase, hyphen separated:
- good brand-financial-times.svg
- bad BrandFinancialTimes.svg brand_financial_times.svg
----
If you have any questions or comments about this component, or need help using it, please either raise an issue, visit #origami-support or email Origami Support.
----
This software is published by the Financial Times under the MIT licence.