Skip to content

Commit

Permalink
docs(readme): simplify phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Sep 6, 2024
1 parent e8f442c commit 7646be8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ npm view juvo peerDependencies peerDependenciesMeta

If using TypeScript, consider adopting [`@total-typescript/tsconfig`](https://github.com/total-typescript/tsconfig). Package entry points may fail to resolve otherwise.

Once the accompanying styles are loaded as shown below, components may be imported and used like:
Once the accompanying styles are loaded as shown below, components can be imported and used like:

```tsx
import { ButtonPrimary } from "juvo";
Expand Down Expand Up @@ -89,7 +89,7 @@ export default function App() {
```

- Theme-dependent `color` tokens are exposed under the `ui-` prefix
- To switch between color themes, `.theme-dark` and `.theme-light` classes may be applied as-is or through the [`@apply` directive](https://tailwindcss.com/docs/functions-and-directives#apply):
- To switch between color themes, apply `.theme-dark` and `.theme-light` classes as-is or through the [`@apply` directive](https://tailwindcss.com/docs/functions-and-directives#apply):
```css
@media (prefers-color-scheme: dark) {
@apply theme-dark;
Expand Down

0 comments on commit 7646be8

Please sign in to comment.