You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,11 @@ You can find the Storybook with an example for every component in this library [
13
13
### How to use Faency
14
14
15
15
```sh
16
-
npm install @traefiklabs/faency@next
16
+
npm install @traefik-labs/faency@next
17
17
18
18
# or
19
19
20
-
yarn add @traefiklabs/faency@next
20
+
yarn add @traefik-labs/faency@next
21
21
```
22
22
23
23
#### Using Stitches Components (Current)
@@ -27,15 +27,15 @@ Wire up the FaencyProvider which will hold the context with the Theme configurat
27
27
> The provider accepts one parameter besides the `children`, which is the `primaryColor`, that will be used to build the colors used on the Theme. This color can be one of the colors exported by the `Stitches` config, just by adding `$` as a prefix, or can be any string that represents a CSS color.
@@ -97,7 +97,7 @@ Stitches components use runtime CSS-in-JS, so no separate CSS imports are needed
97
97
Vanilla Extract components require importing the static CSS file. Add this import to your application's entry point (e.g., `App.tsx` or `index.tsx`):
98
98
99
99
```tsx
100
-
import'@traefiklabs/faency/dist/style.css';
100
+
import'@traefik-labs/faency/dist/style.css';
101
101
```
102
102
103
103
This CSS file contains all the styles for Vanilla Extract components (components with `Vanilla` suffix like `BadgeVanilla`, `BoxVanilla`, etc.). Without this import, these components will render as unstyled elements.
@@ -119,7 +119,7 @@ Faency includes a powerful theming system with support for light/dark modes and
119
119
For more control over theming, use the new Vanilla Extract theme provider:
0 commit comments