@public-ui/themes 3.0.1-rc.0 → 3.0.2-1e1d8522b9f6826d286c64e7859e0ac6d14b13a9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,9 +19,9 @@ More about the **project** can be found in the [documentation](https://public-ui
19
19
  You can install the KoliBri themes with `npm`, `pnpm` or `yarn`:
20
20
 
21
21
  ```bash
22
- npm i -g @public-ui/themes
23
- pnpm i -g @public-ui/themes
24
- yarn add -g @public-ui/themes
22
+ npm i @public-ui/themes
23
+ pnpm i @public-ui/themes
24
+ yarn add @public-ui/themes
25
25
  ```
26
26
 
27
27
  ## Usage
@@ -34,26 +34,28 @@ import { defineCustomElements } from '@public-ui/components/dist/loader';
34
34
  import { DEFAULT, ECL_EC, ECL_EU } from '@public-ui/themes';
35
35
 
36
36
  register(
37
- DEFAULT,
38
- // or provide an array to register multiple themes:
39
- // [DEFAULT, ECL_EC, ECL_EU]
40
- defineCustomElements,
37
+ DEFAULT,
38
+ // or provide an array to register multiple themes:
39
+ // [DEFAULT, ECL_EC, ECL_EU]
40
+ defineCustomElements,
41
41
  )
42
- .then(() => {
43
- /* KoliBri ready */
44
- })
45
- .catch((error) => {
46
- /* Handle errors */
47
- });
42
+ .then(() => {
43
+ /* KoliBri ready */
44
+ })
45
+ .catch((error) => {
46
+ /* Handle errors */
47
+ });
48
48
  ```
49
49
 
50
+ Override theme tokens in your own stylesheet as needed. The [default theme README](./default/README.md) lists all available variables.
51
+
50
52
  ## Important settings
51
53
 
52
54
  ### Usage of pnpm
53
55
 
54
56
  We use **pnpm** as package manager and there is a tiny typing issue with the default typescript setup.
55
57
 
56
- **What does we know?**
58
+ **What do we know?**
57
59
 
58
60
  This seems to be a general issue:
59
61