pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 2.26 kB
JavaScript
const flag = '<svg class="pn-icon-flag" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 21 15"><defs><linearGradient id="gd_flag_svg__a" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF"/><stop offset="100%" stop-color="#F0F0F0"/></linearGradient><linearGradient id="gd_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E42235"/><stop offset="100%" stop-color="#CE1225"/></linearGradient><linearGradient id="gd_flag_svg__d" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#079B77"/><stop offset="100%" stop-color="#007B5D"/></linearGradient><linearGradient id="gd_flag_svg__e" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFD938"/><stop offset="100%" stop-color="#FDD117"/></linearGradient><linearGradient id="gd_flag_svg__g" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFD93B"/><stop offset="100%" stop-color="#FDD117"/></linearGradient><linearGradient id="gd_flag_svg__h" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E21C30"/><stop offset="100%" stop-color="#CE1225"/></linearGradient><path id="gd_flag_svg__c" d="M0 0h17v11H0z"/></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#gd_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#gd_flag_svg__b)" d="M0 0h21v15H0z"/><g transform="translate(2 2)"><mask id="gd_flag_svg__f" fill="#fff"><use xlink:href="#gd_flag_svg__c"/></mask><use xlink:href="#gd_flag_svg__c" fill="url(#gd_flag_svg__d)"/><path fill="url(#gd_flag_svg__e)" d="M1.295 5.599c.283.453.69.752 1.068.829.209.042-.173-.914-.007-1.018.142-.088.825.706.885.54.137-.38.056-.921-.25-1.411-.439-.703-.456-.239-1.643-.742.124.72-.492 1.1-.053 1.802" mask="url(#gd_flag_svg__f)"/><path fill="url(#gd_flag_svg__g)" d="M0 0h17L8.5 5.5zm0 11 8.5-5.5L17 11z" mask="url(#gd_flag_svg__f)"/><circle cx="8.5" cy="5.5" r="2.5" fill="url(#gd_flag_svg__h)" mask="url(#gd_flag_svg__f)"/><path fill="url(#gd_flag_svg__e)" d="m8.5 6.271-1.176.847.442-1.38-1.168-.856 1.449-.006L8.5 3.5l.453 1.376 1.45.006-1.17.856.443 1.38z" mask="url(#gd_flag_svg__f)"/></g></g></svg>';
export const gd_flag = flag;
export const gdFlag = flag;