pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 1.68 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="ec_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="ec_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#0748AE"/><stop offset="100%" stop-color="#003993"/></linearGradient><linearGradient id="ec_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#DE2035"/><stop offset="100%" stop-color="#CE1126"/></linearGradient><linearGradient id="ec_flag_svg__d" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFD935"/><stop offset="100%" stop-color="#FDD216"/></linearGradient><linearGradient id="ec_flag_svg__e" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FBDC44"/><stop offset="100%" stop-color="#FFDC32"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#ec_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#ec_flag_svg__b)" d="M0 7h21v4H0z"/><path fill="url(#ec_flag_svg__c)" d="M0 11h21v4H0z"/><path fill="url(#ec_flag_svg__d)" d="M0 0h21v7H0z"/><path fill="url(#ec_flag_svg__e)" d="M9.3 6a2 2 0 1 0 2.4 0L11 8.1h-1z"/><path fill="#5FC0DC" d="M10.5 5.5 11 8h-1z"/><path fill="#3F2821" fill-rule="nonzero" d="M9.677 3.823a.25.25 0 0 0-.256-.06l-1.5.5a.25.25 0 1 0 .158.474l1.353-.451.891.89a.25.25 0 0 0 .354 0l.89-.89 1.354.451a.25.25 0 1 0 .158-.474l-1.5-.5a.25.25 0 0 0-.256.06l-.823.823z" opacity=".66"/></g></svg>';
export const ec_flag = flag;
export const ecFlag = flag;