import React from 'react'
/**
* The document providers' marks, redrawn as single-colour glyphs.
*
* `currentColor` rather than the brands' own palettes, and that is the point:
* they sit in a row of lucide icons and in a list of addon toggles, where a
* full-colour badge among line icons reads as the one thing that is switched
* on. Following the text colour also means they invert with the theme without a
* second asset: black on light, white on dark.
*
* Not in `public/brands/` beside AirTrail and Dawarich, because those are the
* files each project ships, served unmodified. These are deliberately modified:
* a recoloured logo is a different logo, and the trade is made knowingly here
* for legibility in a monochrome row.
*/
export interface GlyphProps {
size?: number
className?: string
}
function frame(size: number, className: string | undefined) {
return {
width: className ? undefined : size,
height: className ? undefined : size,
className,
viewBox: '0 0 512 512',
fill: 'none' as const,
xmlns: 'http://www.w3.org/2000/svg',
style: { flexShrink: 0, display: 'block' as const },
'aria-hidden': true,
}
}
/** Paperless-ngx: the leaf, with the shoot curling out of its stem. */
export function PaperlessIcon({ size = 20, className }: GlyphProps): React.ReactElement {
return (
)
}
/** Papra: a sheet with a folded corner and its lines of text. */
export function PapraIcon({ size = 20, className }: GlyphProps): React.ReactElement {
return (
)
}
/** Nextcloud: the three rings. */
export function NextcloudIcon({ size = 20, className }: GlyphProps): React.ReactElement {
return (
)
}
/** OpenCloud: the open hexagon with the junction inside it. */
export function OpenCloudIcon({ size = 20, className }: GlyphProps): React.ReactElement {
return (
)
}
/** Synology Drive: the wordmark's own glyph, as the addon list already draws it. */
export function SynologyDriveIcon({ size = 20, className }: GlyphProps): React.ReactElement {
return (
)
}