pn-design-assets
Version:
Icons, SCSS, and more for PostNord Graphical Guidelines
4 lines (3 loc) • 2.17 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="sx_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="sx_flag_svg__b" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#0740AA"/><stop offset="100%" stop-color="#012F85"/></linearGradient><linearGradient id="sx_flag_svg__c" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F02C33"/><stop offset="100%" stop-color="#D82027"/></linearGradient><linearGradient id="sx_flag_svg__d" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#E72C33"/><stop offset="100%" stop-color="#D82027"/></linearGradient><linearGradient id="sx_flag_svg__e" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#78C1F0"/><stop offset="100%" stop-color="#67B1E0"/></linearGradient><linearGradient id="sx_flag_svg__f" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#F7E14B"/><stop offset="100%" stop-color="#F7DF3E"/></linearGradient></defs><g fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><path fill="url(#sx_flag_svg__a)" d="M0 0h21v15H0z"/><path fill="url(#sx_flag_svg__b)" d="M0 7h21v8H0z"/><path fill="url(#sx_flag_svg__c)" d="M0 0h21v7H0z"/><path fill="url(#sx_flag_svg__a)" d="m0 0 10 7.5L0 15z"/><path fill="url(#sx_flag_svg__d)" fill-rule="nonzero" d="M1.5 7V5.506A.997.997 0 0 1 2.495 4.5h2.01c.55 0 .995.457.995 1.006V7c0 .845-.384 1.447-1.003 1.798a2.3 2.3 0 0 1-1.03.3 2.3 2.3 0 0 1-.964-.3C1.884 8.447 1.5 7.845 1.5 7"/><path fill="url(#sx_flag_svg__e)" d="M2 7V5.506c0-.28.216-.506.495-.506h2.01c.273 0 .495.232.495.506V7c0 1.5-1.5 1.6-1.5 1.6S2 8.5 2 7"/><path fill="#FFF" d="m3 6.5.5-.5.5.5v1H3z"/><path fill="#F9D835" fill-rule="nonzero" d="M1.001 9.368A3.39 3.39 0 0 0 3.5 10.5c.948 0 1.915-.448 2.521-1.162a.5.5 0 0 0-.762-.647A2.4 2.4 0 0 1 3.5 9.5a2.4 2.4 0 0 1-1.743-.787.5.5 0 1 0-.756.655"/><circle cx="3.5" cy="4.5" r="1" fill="url(#sx_flag_svg__f)"/></g></svg>';
export const sx_flag = flag;
export const sxFlag = flag;