pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
3 lines • 1.21 kB
text/typescript
const flag: string = '<svg class="pn-icon-flag" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 21 15"><defs><linearGradient id="to_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="to_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E20F1B"/><stop offset="100%" stop-color="#C00711"/></linearGradient><linearGradient id="to_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#DF101B"/><stop offset="100%" stop-color="#C00711"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#to_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#to_flag_svg__b)" d="M0 0h21v15H0z"/><path fill="url(#to_flag_svg__a)" d="M0 0h12v8H0z"/><path fill="url(#to_flag_svg__c)" d="M7 3V1.258C7 1.104 6.89 1 6.755 1h-1.51A.25.25 0 0 0 5 1.258V3H3.258C3.104 3 3 3.11 3 3.245v1.51A.25.25 0 0 0 3.258 5H5v1.742c0 .154.11.258.245.258h1.51A.25.25 0 0 0 7 6.742V5h1.742C8.896 5 9 4.89 9 4.755v-1.51A.25.25 0 0 0 8.742 3z"/></g></svg>';
export const to_flag = flag;
export const toFlag = flag;