Skip to content

Commit

Permalink
[docs] Finish brand name fixes #41438
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Mar 11, 2024
1 parent 33c8b91 commit be6c430
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified docs/writing-rules.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/pigment-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ In the above example, `light` (default) and `dark` color schemes are defined. Th

#### Switching color schemes

By default, when `colorSchemes` is defined, Pigment uses the [`prefers-color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query to switch between color schemes based on user's system settings.
By default, when `colorSchemes` is defined, Pigment CSS uses the [`prefers-color-scheme`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) media query to switch between color schemes based on the user's system settings.

However, if you want to control the color scheme based on application logic, for example, using a button to switch between light and dark mode, you can customize the behavior by providing a `getSelector` function:

Expand Down
2 changes: 1 addition & 1 deletion packages/pigment-unplugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "build/index.mjs",
"types": "build/index.d.ts",
"author": "MUI Team",
"description": "Webpack integration for Pigment CSS.",
"description": "Webpack integration for Pigment CSS.",
"repository": {
"type": "git",
"url": "https://github.com/mui/material-ui.git",
Expand Down
2 changes: 1 addition & 1 deletion packages/pigment-vite-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"module": "build/index.mjs",
"types": "build/index.d.ts",
"author": "MUI Team",
"description": "Vite integration for Pigment CSS.",
"description": "Vite integration for Pigment CSS.",
"repository": {
"type": "git",
"url": "https://github.com/mui/material-ui.git",
Expand Down

0 comments on commit be6c430

Please sign in to comment.