pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
3 lines • 1.84 kB
text/typescript
const flag: string = '<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="np_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF"/><stop offset="100%" stop-color="#F0F0F0"/></linearGradient><linearGradient id="np_flag_svg__e" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#EE1B44"/><stop offset="100%" stop-color="#DD153C"/></linearGradient><linearGradient id="np_flag_svg__f" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#0543A8"/><stop offset="100%" stop-color="#003893"/></linearGradient><path id="np_flag_svg__a" d="M0 0h1.495c.279 0 .693.126.918.275L13.175 7.45c.456.304.372.55-.172.55H6l7.247 6.341c.416.364.303.659-.254.659H0z"/><path id="np_flag_svg__d" d="M0 0h1.495c.279 0 .693.126.918.275L13.175 7.45c.456.304.372.55-.172.55H6l7.247 6.341c.416.364.303.659-.254.659H0z"/></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><mask id="np_flag_svg__c" fill="#fff"><use xlink:href="#np_flag_svg__a"/></mask><use xlink:href="#np_flag_svg__a" fill="url(#np_flag_svg__b)"/><g mask="url(#np_flag_svg__c)"><use xlink:href="#np_flag_svg__d" fill="url(#np_flag_svg__e)" fill-rule="evenodd"/><path stroke="url(#np_flag_svg__f)" stroke-width="1" d="M.5.5v14h12.17l-8-7h7.679L2.136.691A1.5 1.5 0 0 0 1.496.5z"/></g><path fill="url(#np_flag_svg__b)" d="M5.138 5.85a3.5 3.5 0 0 0 .789-.318 2 2 0 0 1-3.857 0q.356.199.791.32L3.25 5.5l-.636-.574.856.044-.044-.856L4 4.75l.574-.636-.044.856.856-.044-.636.574zM4 12l-.765.848.058-1.14-1.14.057L3 11l-.848-.765 1.14.058-.057-1.14L4 10l.765-.848-.058 1.14 1.14-.057L5 11l.848.765-1.14-.058.057 1.14z" mask="url(#np_flag_svg__c)"/></g></svg>';
export const np_flag = flag;
export const npFlag = flag;