Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs][pigment-css] Fix README typos #41870

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/pigment-css-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ const Button = styled('button')({

> 💡 This approach is recommended when the value of a prop is **unknown** ahead of time or possibly unlimited values, for example styling based on the user's input.

There are two ways to acheive this (both involve using a CSS variable):
There are two ways to achieve this (both involve using a CSS variable):

1. Declare a CSS variable directly in the styles and set its value using inline styles:

Expand Down Expand Up @@ -541,7 +541,7 @@ module.exports = withPigment(
);
```

The `extendTheme` utility goes through the theme and create a `vars` object which represents the tokens that refer to CSS variables.
The `extendTheme` utility goes through the theme and creates a `vars` object which represents the tokens that refer to CSS variables.

```jsx
const theme = extendTheme({
Expand All @@ -565,7 +565,7 @@ extendTheme({
});
```

The generated CSS variables has the `pigment` prefix:
The generated CSS variables have the `pigment` prefix:

```css
:root {
Expand Down
Loading