Etch component
Logo 1
The site's logo as an image: the full logo or only its mark, drawn in the text color. Header 1, the footers and the drawer menus show it, so a site changes its logo once, in this component.
Documentation
The site's logo, set in one place: Header 1, the footers and the drawer menus show it.
How to use it
- On your site, open MAC Logo 1 and point its two images at your logo files, the full logo and the logomark. Every part that shows the logo changes with it.
- Variant shows the full logo or only its mark.
- Classes adds the class of the part that shows the logo, whose rules size it.
Good to know
- It's only the image, hidden from screen readers: the link around it names it, such as Header 1's Logo Aria Label.
- It draws in the text color.
--mac-logo-1-heightsets its height where nothing else does (2.5rem). - Pasting more components keeps your logo, as long as Etch isn't set to overwrite components on paste.
Reference
Read from the component's JSON, so it's always current.
Loading the reference