-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] Add example and guide section #41249
Conversation
siriwatknp
commented
Feb 23, 2024
- I have followed (at least) the PR section of the contributing guide.
Netlify deploy previewhttps://deploy-preview-41249--material-ui.netlify.app/ Bundle size report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few writing tweaks here!
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
Can you also add the details about the required |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quick edit suggestions
…/coming-from-cssjs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few edits but already dropping the tentative approval! 👌
packages/pigment-react/README.md
Outdated
@@ -1,6 +1,6 @@ | |||
# Pigment CSS | |||
|
|||
A zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build-time. | |||
A Pigment CSS CSS-in-JS library that extracts the colocated styles to their own CSS files at build-time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A Pigment CSS CSS-in-JS library that extracts the colocated styles to their own CSS files at build-time. | |
Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time. |
packages/pigment-react/README.md
Outdated
|
||
## Getting started | ||
|
||
Pigment CSS supports Next.js and Vite with support for more bundlers in future. You must install the corresponding plugin, as shown below. | ||
|
||
### Next.js | ||
|
||
#### Starter template | ||
|
||
Use the following commands to create a new Next.js project with Zero Runtime setup: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use the following commands to create a new Next.js project with Zero Runtime setup: | |
Use the following commands to create a new Next.js project with Pigment CSS set up: |
…/coming-from-cssjs
…/coming-from-cssjs