UNPKG

pn-design-assets

Version:

Icons, SCSS, and more for PostNord Graphical Guidelines

4 lines (3 loc) 1.67 kB
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="pk_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="pk_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#0A632F"/><stop offset="100%" stop-color="#05411E"/></linearGradient><filter id="pk_flag_svg__d" width="105.6%" height="111.1%" x="-2.8%" y="-2.8%" filterUnits="objectBoundingBox"><feOffset dx="0" dy=".5" in="SourceAlpha" result="shadowOffsetOuter1"/><feColorMatrix in="shadowOffsetOuter1" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"/></filter><path id="pk_flag_svg__c" d="M15.978 10.878a4.18 4.18 0 0 1-2.65.95c-2.383 0-4.314-2.015-4.314-4.5 0-2.486 1.931-4.5 4.314-4.5.999 0 1.919.354 2.65.95a4.2 4.2 0 0 0-1.043-.132c-2.165 0-3.92 1.648-3.92 3.682s1.755 3.681 3.92 3.681q.543-.001 1.043-.131m.036-2.77-1.175.838.434-1.377-1.16-.86 1.443-.013.458-1.368.459 1.368 1.443.013-1.16.86.434 1.377z"/></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#pk_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#pk_flag_svg__b)" d="M0-.002h21v15H0z"/><path fill="url(#pk_flag_svg__a)" d="M0-.002h6v15H0z"/><g transform="rotate(-45 13.465 7.328)"><use xlink:href="#pk_flag_svg__c" fill="#000" fill-opacity="1" filter="url(#pk_flag_svg__d)"/><use xlink:href="#pk_flag_svg__c" fill="url(#pk_flag_svg__a)" fill-rule="evenodd"/></g></g></svg>'; export const pk_flag = flag; export const pkFlag = flag;