@public-ui/themes
TypeScript icon, indicating that this package has built-in type declarations

1.4.2 • Public • Published

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,
  ...

Install

npm i @public-ui/themes

DownloadsWeekly Downloads

3,590

Version

1.4.2

License

EUPL-1.2

Unpacked Size

23.1 MB

Total Files

128

Last publish

Collaborators

  • m.oppitz