pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
3 lines • 1.82 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="im_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="im_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E52D42"/><stop offset="100%" stop-color="#CB1D31"/></linearGradient><linearGradient id="im_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F8DD4E"/><stop offset="100%" stop-color="#F9DA38"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#im_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#im_flag_svg__b)" d="M0 0h21v15H0z"/><path fill="url(#im_flag_svg__a)" d="M12.5 1.5h-2L9 5 7.5 4S6.411 1.411 6 1s-.828-.03-2.13.349c-1.301.38-1.352.815-1.86.815-.207 0-.862-.76-1.228-.987C.244.844.051 1 .18 1.5c.056.216.483.483.754.87.355.51.566 1.13.566 1.13s.488-.456.75-.53c.398-.114.846.08 1.372 0C4.289 2.865 5 2.5 5 2.5l.174 1.907S2.795 6.617 3 7.5s2.469 1.966 3 2.74c.531.773-.316 1.061-.316 1.433 0 .371-.088.866.316.717.404-.148.453-.792.823-1.377.255-.402.46-.614.496-.773.086-.39-1.028-1.415-1.635-2.14-.289-.346-.871-.815-.871-.815L6.53 6s2.966 1.225 3.635.817C10.836 6.409 11 2.5 11 2.5l2.062-.5z" transform="translate(4 1.5)"/><path fill="url(#im_flag_svg__c)" d="M7.5 10a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m2-8a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m0 4a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m-6 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m2-6a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m1 4C6.224 6 6 5.552 6 5s.224-1 .5-1 .5.448.5 1-.224 1-.5 1m-5-2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1" transform="translate(4 1.5)"/></g></svg>';
export const im_flag = flag;
export const imFlag = flag;