14 lines
954 B
JavaScript
14 lines
954 B
JavaScript
// Inner SVG markup of every icon of the project, drawn on a 24x24 grid.
|
|
// The <svg> wrapper lives in Icon.js and carries the viewBox, `stroke="currentColor"`
|
|
// and `fill="none"`, so the shapes below only describe geometry and stroke style.
|
|
// Icon.js is the single reader of this set: swapping icon packs happens there.
|
|
export const ICONS = {
|
|
'chevron-left':
|
|
'<path d="M15 4 7 12l8 8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />',
|
|
'chevron-right':
|
|
'<path d="M9 4l8 8-8 8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />',
|
|
'print':
|
|
'<path d="M8 9V4h8v5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />' +
|
|
'<path d="M8 17H5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-3" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />' +
|
|
'<path d="M8 14h8v6H8z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />'
|
|
}
|