pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 2.02 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="cx_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="cx_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#0637C5"/><stop offset="100%" stop-color="#002CAA"/></linearGradient><linearGradient id="cx_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#3BA758"/><stop offset="100%" stop-color="#2C8945"/></linearGradient><linearGradient id="cx_flag_svg__d" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFCC5D"/><stop offset="100%" stop-color="#FEC54A"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#cx_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#cx_flag_svg__b)" d="M0 0h21v15H0z"/><path fill="#FFF" d="m4 13-.707.207.207-.707-.207-.707L4 12l.707-.207-.207.707.207.707zm0-7.5-.707.207L3.5 5l-.207-.707L4 4.5l.707-.207L4.5 5l.207.707zm2 3-.707.207L5.5 8l-.207-.707L6 7.5l.707-.207L6.5 8l.207.707zm-4 1-.707.207L1.5 9l-.207-.707L2 8.5l.707-.207L2.5 9l.207.707zm3.5 1.25-.354.104.104-.354-.104-.354.354.104.354-.104-.104.354.104.354z"/><path fill="url(#cx_flag_svg__c)" d="m0 15 8.92-6.372s1.983 1.025 2.74.484.348-2.689.348-2.689L21 0H0z" transform="matrix(-1 0 0 1 21 0)"/><path fill="url(#cx_flag_svg__d)" d="M14.46 7.5s2.415-.4 2.703-1.527-2.298-1.934-2.4-2.34.95-.117 1.415 0c.451.115 1.333.696 1.333.696s-.01-.8-.131-1.17c-.202-.62-.836-1.802-.836-1.802s1.075.69 1.536 1.24c.265.315.364 1.738.69 2.226.584.872 1.948-.102 1.369.823-.58.924-1.911 1.05-2.976 1.455-.965.367-3.115.86-3.115.86l.413-.461ZM10.5 10a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5M9.258 7.5 9 8s.84-.19 1.123 0c.384.256.377 1 .377 1h.5s-.164-.73.093-1.243S12 7 12 7V6s-.681.727-1.5 1S9 7 9 7z"/></g></svg>';
export const cx_flag = flag;
export const cxFlag = flag;