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="ht_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="ht_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#112EBC"/><stop offset="100%" stop-color="#0620A0"/></linearGradient><linearGradient id="ht_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E3264A"/><stop offset="100%" stop-color="#D20F34"/></linearGradient><path id="ht_flag_svg__f" d="m0 5 1.105-.553C1.6 4.2 2.443 4 3 4h1.002c.552 0 1.404.202 1.894.447L7 5v1H0z"/><path id="ht_flag_svg__g" d="M1 3.006c0-.28.18-.362.39-.193l1.72 1.374a.66.66 0 0 0 .78 0l1.72-1.375c.215-.172.39-.081.39.194v1.488c0 .28-.215.506-.498.506H1.498A.505.505 0 0 1 1 4.494z"/><rect id="ht_flag_svg__d" width="7" height="6" x="0" y="0" rx=".5"/></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#ht_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#ht_flag_svg__b)" d="M0 0h21v7H0z"/><path fill="url(#ht_flag_svg__c)" d="M0 7h21v8H0z"/><g transform="translate(7 5)"><mask id="ht_flag_svg__e" fill="#fff"><use xlink:href="#ht_flag_svg__d"/></mask><use xlink:href="#ht_flag_svg__d" fill="url(#ht_flag_svg__a)"/><g mask="url(#ht_flag_svg__e)"><use xlink:href="#ht_flag_svg__f" fill="#AABCAE" fill-rule="evenodd"/><path stroke="#366C14" stroke-width=".5" d="M.25 5.155v.595h6.5v-.595l-.967-.484C5.326 4.443 4.513 4.25 4 4.25H2.999c-.516 0-1.321.19-1.782.421z"/></g><circle cx="3.5" cy="2.5" r="1.5" fill="#D4B872" mask="url(#ht_flag_svg__e)"/><g mask="url(#ht_flag_svg__e)"><use xlink:href="#ht_flag_svg__g" fill="#C28321" fill-rule="evenodd"/><path stroke="#0D3488" stroke-width=".5" d="M1.25 3.02v1.474c0 .14.114.256.248.256h4.004c.14 0 .248-.11.248-.256V3.02L4.047 4.383a.91.91 0 0 1-1.094 0z"/></g><path fill="#216C30" d="M2.172 1.172C2.077 1.077 2.114 1 2.256 1h2.488c.141 0 .175.08.084.172L3.672 2.328a.247.247 0 0 1-.344 0z" mask="url(#ht_flag_svg__e)"/></g></g></svg>';
export const ht_flag = flag;
export const htFlag = flag;