Themes
Das Themes-Modul beinhaltet zahlreiche Themes (Styleguides) zur Komponenten-Bibliothek. Sie können in Kombination mit dem Components-Modul geladen werden.
Mehr zur Modularisierung kann im Architekturkonzept nachgelesen werden.
Mehr zum Projekt kann in der README nachgelesen werden.
Important settings
Usage of pnpm
We use pnpm as package manager and there is a tiny typing issue with the default typescript setup.
What happens?
We got a type annotation error in TypeScript.
The inferred type of 'THEME' cannot be named without a reference to '.pnpm/@a11y-ui+core@***/node_modules/@a11y-ui/core/types/theming'. This is likely not portable. A type annotation is necessary.ts(2742)
What does we know?
This seems to be a general issue:
Solution:
We must activate the specific option preserveSymlinks
in the tsconfig.json
file.
...
"preserveSymlinks": true,
...