UI kit reference
brands/marks
import { … } from 'zidane-ui'ui/src/brands/marks.ts
Constants#
BRAND_MARKSConstant#
Every logo the kit has, by slug.
const BRAND_MARKS: Readonly<Record<string, BrandMarkData>>Interfaces#
BrandMarkDataInterface#
One logo: the brand's name, its color and its paths.
interface BrandMarkDataProperties
| Name | Type | Description |
|---|---|---|
| hex | string | The brand color, as six hex digits without |
| paths | readonly BrandMarkPath[] | The logo, as one-color paths in a 24 by 24 box. |
| title | string | The brand's name. |
BrandMarkPathInterface#
One path of a logo, in a 24 by 24 box.
interface BrandMarkPathProperties
| Name | Type | Description |
|---|---|---|
| d | string | The SVG path. |
| evenOdd? | boolean | The path fills by the even-odd rule. |