pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 2.07 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="ug_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="ug_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#262626"/><stop offset="100%" stop-color="#0D0D0D"/></linearGradient><linearGradient id="ug_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#ED1623"/><stop offset="100%" stop-color="#D70915"/></linearGradient><linearGradient id="ug_flag_svg__d" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FEE044"/><stop offset="100%" stop-color="#FCDB32"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#ug_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#ug_flag_svg__b)" d="M0 0h21v2H0zm0 8h21v2H0z"/><path fill="url(#ug_flag_svg__c)" d="M0 5h21v3H0z"/><path fill="url(#ug_flag_svg__d)" d="M0 2h21v3H0z"/><path fill="url(#ug_flag_svg__c)" d="M0 13h21v2H0z"/><path fill="url(#ug_flag_svg__d)" d="M0 10h21v3H0z"/><circle cx="10.5" cy="7.5" r="3.5" fill="url(#ug_flag_svg__a)"/><path fill="url(#ug_flag_svg__b)" d="M9.68 5.68a.253.253 0 0 1 0-.36l.14-.14c.1-.1.252-.27.338-.362l.122-.099c.122.017.317-.036.442-.012l.119.092a.42.42 0 0 1 .043.433l-.268.536a1.3 1.3 0 0 0-.116.482c0 .138.092.296.232.366l.536.268c.128.064.31.194.406.29l.652.652a.36.36 0 0 1 .058.406l-.268.536c-.064.128-.194.154-.297.051l-.138-.138a.253.253 0 0 0-.362 0l-.138.138A.7.7 0 0 0 11 9.25a.7.7 0 0 0 .18.43l.14.14c.1.1.062.18-.068.18h-1.004c-.137 0-.17-.078-.067-.18l.138-.14c.1-.1.181-.296.181-.43a.253.253 0 0 0-.25-.25.7.7 0 0 0-.43.18l-.14.14c-.1.1-.258.102-.36 0l-.14-.14a.253.253 0 0 1 0-.36l.14-.14c.1-.1.287-.18.432-.18h.496c.139 0 .171-.08.08-.172L9.172 7.172a.245.245 0 0 1 .002-.346l.652-.652a.25.25 0 0 0-.007-.355l-.138-.138Z"/></g></svg>';
export const ug_flag = flag;
export const ugFlag = flag;