pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 2.54 kB
JavaScript
const flag = '<svg class="pn-icon-flag" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 21 15"><defs><linearGradient id="fj_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="fj_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#79CFF6"/><stop offset="100%" stop-color="#68BFE6"/></linearGradient><linearGradient id="fj_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#042C90"/><stop offset="100%" stop-color="#00247E"/></linearGradient><linearGradient id="fj_flag_svg__f" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#EB1D43"/><stop offset="100%" stop-color="#D21034"/></linearGradient><linearGradient id="fj_flag_svg__h" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#DB1E36"/><stop offset="100%" stop-color="#D51931"/></linearGradient><path id="fj_flag_svg__d" d="M0 3.5V0h5v3.5C5 6 2.5 7 2.5 7S0 6 0 3.5"/><path id="fj_flag_svg__g" d="M3.5 3 0 0h.5L4 2.5h1L9 0v.25a.54.54 0 0 1-.208.399L5.5 3v1l3.312 2.839c.104.089.072.161-.062.161a.9.9 0 0 1-.458-.149L5 4.5H4L0 7v-.5L3.5 4z"/></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#fj_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#fj_flag_svg__b)" d="M0 0h21v15H0z"/><path fill="url(#fj_flag_svg__c)" d="M0 0h9v7H0z"/><g transform="translate(13 4)"><mask id="fj_flag_svg__e" fill="#fff"><use xlink:href="#fj_flag_svg__d"/></mask><use xlink:href="#fj_flag_svg__d" fill="url(#fj_flag_svg__a)"/><path fill="#2A915C" d="M1 2.5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1m3 0a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1" mask="url(#fj_flag_svg__e)"/><path fill="url(#fj_flag_svg__f)" d="M0 0h5v1H3v2h2v1H3v3H2V4H0V3h2V1H0z" mask="url(#fj_flag_svg__e)"/></g><use xlink:href="#fj_flag_svg__g" fill="url(#fj_flag_svg__h)" fill-rule="evenodd"/><path stroke="#FFF" stroke-width=".5" d="M3.25 3.115-.676-.25H.5l.145.047L4.08 2.25h.848L9.25-.451V.25c0 .222-.128.47-.313.602L5.75 3.13v.756L8.975 6.65c.282.242.138.601-.225.601-.193 0-.442-.08-.604-.195L4.92 4.75h-.848L-.25 7.451v-1.08l3.5-2.5z"/><path fill="url(#fj_flag_svg__a)" d="M0 2.5v2h3.5v2.505c0 .273.214.495.505.495h.99a.496.496 0 0 0 .505-.495V4.5h3.51a.49.49 0 0 0 .49-.505v-.99a.495.495 0 0 0-.49-.505H5.5V0h-2v2.5z"/><path fill="url(#fj_flag_svg__h)" d="M0 3h4V0h1v3h4v1H5v3H4V4H0z"/></g></svg>';
export const fj_flag = flag;
export const fjFlag = flag;