pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 1.16 kB
JavaScript
const flag = '<svg class="pn-icon-flag" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 21 15"><defs><linearGradient id="cw_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="cw_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#0543A8"/><stop offset="100%" stop-color="#00307D"/></linearGradient><linearGradient id="cw_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FCC747"/><stop offset="100%" stop-color="#FEC539"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#cw_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#cw_flag_svg__b)" d="M0 0h21v15H0z"/><path fill="url(#cw_flag_svg__c)" d="M0 10h21v2H0z"/><path fill="url(#cw_flag_svg__a)" d="m6.5 6.267-1.176.851.447-1.381-1.173-.855 1.451-.003L6.5 3.5l.45 1.38 1.452.002-1.173.855.447 1.381zM3 3.575l-.882.639.335-1.036-.88-.642 1.089-.001L3 1.5l.338 1.035 1.089.001-.88.642.335 1.036z"/></g></svg>';
export const cw_flag = flag;
export const cwFlag = flag;