Skip to content

Commit

Permalink
Version 1.1.3.
Browse files Browse the repository at this point in the history
Breaking change:
`ThemeSwitch` renamed to `ThemeModeSwitch` to avoid confusion.
  • Loading branch information
ATATC committed Jul 18, 2023
1 parent 0051a42 commit cd2168e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@atatctech/mui-theme",
"type": "module",
"version": "1.1.2",
"version": "1.1.3",
"author": "ATATC",
"description": "The ultimate dynamic theme-switching solution for MUI that adapts to SSR.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export {
DynamicTheme
} from "./theme";

export {ThemeSwitch} from "./switch";
export {ThemeModeSwitch} from "./switch";

export {
defaultThemeConfig,
Expand Down
2 changes: 1 addition & 1 deletion src/switch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/switch.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/switch.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {styled, Switch} from "@mui/material";

export const ThemeSwitch = styled(Switch)(({ theme }) => ({
export const ThemeModeSwitch = styled(Switch)(({ theme }) => ({
width: 62,
height: 34,
padding: 7,
Expand Down

0 comments on commit cd2168e

Please sign in to comment.